/* GLOBAL STYLES */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #0b0f1a;
    color: #ffffff;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* NAV */

#menu{
    justify-content: center;
}
nav{
    padding: 10px 20px;
    margin-bottom: 10px;
    border-radius: 10px;
}

section {
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

h1, h2, h3, h4 {
    margin-bottom: 15px;
    font-weight: 700;
}

h2 {
    font-size: 32px;
    color: #00f0ff;
}

h3 {
    font-size: 24px;
    color: #ffffff;
}

p {
    margin-bottom: 15px;
}

/* PROJECT SECTION LAYOUT */

.project-section {
    margin-top: 40px;
}

.project-card {
    background: #121a2a;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    transition: 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 240, 255, 0.1);
}

/* Images */
img{
    max-width: 250px;
    border-radius: 10px;
    display: block;
    margin-bottom: 10px;
    height: auto;
}
.project-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* Lists */
ul, ol {
    margin-left: 20px;
}

li {
    margin-bottom: 6px;
}

/* BUTTONS & LINKS */

a {
    color: #00f0ff;
    text-decoration: none;
}

a:hover {
    color: #00ff88;
}

.button {
    display: inline-block;
    padding: 10px 18px;
    background: #00f0ff;
    color: #000;
    border-radius: 6px;
    margin-top: 10px;
    font-weight: bold;
    transition: 0.3s;
}

.button:hover {
    background: #00ff88;
}

.rstory_button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(124, 58, 237, 0.7);
}

.rstory_button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg, transparent
    );
    transition: 0.5s;
}

.rstory_button::before {
    left: 100%;
}
/* WEB3 SECTION HEADER STYLE */

.project-section h3 {
    border-left: 4px solid #00f0ff;
    padding-left: 10px;
    margin-bottom: 20px;
}

/* RSTORY LOCKED SECTION */

.locked-section {
    background: linear-gradient(145deg, #0f1626, #0b0f1a);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 12px;
    padding: 25px;
}

.unlock-btn {
    display: inline-block;
    padding: 12px 20px;
    background: #00f0ff;
    color: #000;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    margin: 15px 0;
    transition: 0.3s;
}

.unlock-btn:hover {
    background: #00ff88;
}

/* hidden checkbox */
#unlock-toggle {
    display: none;
}

/* locked preview */
.locked-preview {
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 10px;
    filter: blur(4px);
    margin-top: 10px;
}

/* unlocked content */
.unlocked-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.6s ease;
}

/* ON UNLOCK */
#unlock-toggle:checked ~ .unlocked-content {
    max-height: 2000px;
    opacity: 1;
    margin-top: 20px;
}

#unlock-toggle:checked ~ .locked-preview {
    display: none;
}

#unlock-toggle:checked + .unlock-btn {
    background: #00ff88;
}

#unlock-toggle:checked + .unlock-btn::after {
    content: " ✔ Access Granted";
}

/* ABOUT SECTION */

#about {
    background: #0e1424;
    border-radius: 10px;
}

/* CONTACT SECTION */

#contact {
    background: #0e1424;
    border-radius: 10px;
}

/* simple inputs if you use form */
input, textarea {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    background: #121a2a;
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    border-radius: 6px;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #00f0ff;
}

/* RESPONSIVE DESIGN */

@media (max-width: 768px) {
    section {
        padding: 40px 5%;
    }

    h2 {
        font-size: 26px;
    }

    h3 {
        font-size: 20px;
    }

    .project-card {
        padding: 15px;
    }
}
