/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Inter', sans-serif; 
    background: #000000; /* Solid black background */
    color: #fff; 
    line-height: 1.6; 
    overflow-x: hidden; 
    position: relative; 
}
body::before { 
    content: ''; 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    z-index: -1; 
    background: 
        radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.12) 0%, transparent 5%), /* Sharper star */
        radial-gradient(circle at 70% 40%, rgba(255, 255, 255, 0.08) 0%, transparent 4%),
        radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.15) 0%, transparent 6%), /* Sharper star */
        radial-gradient(circle at 85% 85%, rgba(255, 255, 255, 0.06) 0%, transparent 4%),
        radial-gradient(circle at 5% 60%, rgba(255, 255, 255, 0.10) 0%, transparent 5%),
        radial-gradient(circle at 45% 10%, rgba(255, 255, 255, 0.07) 0%, transparent 4%),
        radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 5%),
        radial-gradient(circle at 25% 90%, rgba(255, 255, 255, 0.13) 0%, transparent 6%), /* Sharper star */
        radial-gradient(circle at 60% 50%, rgba(255, 255, 255, 0.06) 0%, transparent 4%),
        radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.09) 0%, transparent 5%);
    animation: twinkle 5s infinite alternate; 
}
body::after { 
    content: ''; 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100vw; /* Span full viewport width */
    height: 2px; 
    background: linear-gradient(to right, #00ffff, #ff00ff); /* Match your name gradient */
    z-index: -1; 
    animation: shoot 3s infinite linear; 
    opacity: 0; 
}
@keyframes twinkle {
    0% { opacity: 0.6; }
    50% { opacity: 0.9; }
    100% { opacity: 0.6; }
}
@keyframes shoot {
    0% { transform: translate(-100%, -100%); opacity: 0; } /* Start off-screen top-left */
    10% { opacity: 0.8; }
    90% { transform: translate(100%, 100%); opacity: 0.8; } /* End off-screen bottom-right */
    100% { transform: translate(100%, 100%); opacity: 0; }
}
h1, h2, h3 { font-family: 'Orbitron', monospace; }
a { text-decoration: none; color: inherit; }

/* Navigation */
.nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 1rem 2rem; 
    background: rgba(0,0,0,0.8); 
    position: fixed; 
    width: 100%; 
    top: 0; 
    z-index: 10; 
    backdrop-filter: blur(10px); 
}
.logo { 
    font-size: 1.6rem; 
    font-weight: 700; 
    color: #ff00ff; 
    letter-spacing: 1px; 
    text-align: left; 
}
.nav-links { 
    display: flex; 
    list-style: none; 
    gap: 2rem; 
    align-items: center; 
}
.nav-links li a { 
    transition: color 0.3s; 
}
.nav-links li a:hover { 
    color: #00ffff; 
}
.social-links { 
    display: flex; 
    align-items: center; 
    gap: 1rem; 
    margin-left: 1rem; /* Space from nav-links */
}
.social-icon { 
    font-size: 1.5rem; /* Small icon size */
    color: #ff00ff; /* Neon pink */
    transition: color 0.3s, transform 0.3s; 
}
.social-icon:hover { 
    color: #00ffff; /* Cyan on hover */
    transform: scale(1.2); /* Slight zoom */
}
/* X Logo Override for New Design */
.x-icon i {
    font-family: sans-serif !important;
    font-weight: bold;
    font-size: 1.5rem;
    position: relative;
    top: 2px;
}
.x-icon i::before {
    content: "𝕏" !important;
    display: inline-block;
}
.hamburger { 
    display: none; 
    flex-direction: column; 
    cursor: pointer; 
}
.hamburger span { 
    height: 2px; 
    width: 25px; 
    background: #fff; 
    margin: 3px 0; 
}

/* Audio Player in Navbar */
.audio-player {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(26, 26, 46, 0.8);
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid rgba(255, 0, 255, 0.2);
    backdrop-filter: blur(5px);
}

.audio-player button {
    background: none;
    border: none;
    color: #ff00ff;
    font-size: 1rem; /* Smaller size */
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
    padding: 0;
}

.audio-player button:hover {
    color: #00ffff;
    transform: scale(1.1);
}

.audio-player audio {
    width: 150px; /* Compact size */
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    border: 1px solid #333;
    height: 20px; /* Adjust height for compactness */
}

/* Hero */
.hero { height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.hero-content { text-align: center; z-index: 2; max-width: 600px; padding: 0 2rem; }
.hero-title { 
    font-size: clamp(2.5rem, 5vw, 4rem); /* Restored to proper size */
    margin-bottom: 1rem; 
    display: flex; 
    flex-direction: column; /* Stack vertically */
    justify-content: center; 
    align-items: center; 
    opacity: 0.9; /* Slight transparency */
}
.hero-dreams, .hero-schemes { 
    font-size: inherit; 
    background: linear-gradient(45deg, #ff00ff, #00ffff); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
}
.hero-amp { 
    font-size: 1.5rem; /* Smaller & */
    transform: scale(0.7); /* Adjusted scale */
    color: #00ffff; /* Cyan accent */
    margin: 0.05rem 0; /* Tight vertical spacing */
}
.hero-subtitle { font-size: 1.2rem; margin-bottom: 2rem; opacity: 0.9; /* Slight transparency */ }
.cta-btn { display: inline-block; padding: 1rem 2rem; background: linear-gradient(45deg, #ff00ff, #00ffff); border-radius: 50px; transition: transform 0.3s; opacity: 0.9; /* Slight transparency */ }
.cta-btn:hover { transform: scale(1.05); opacity: 1; /* Full opacity on hover */ }
.hero-bg { 
    display: none; /* Remove GIF reference since we're using body::before stars */
}

/* Sections */
section { padding: 5rem 2rem; max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; } /* Reverted padding */
.about, .in3dream, .contact { text-align: center; }
.about p, .in3dream p { max-width: 800px; margin: 0 auto 2rem; font-size: 1.1rem; opacity: 0.9; /* Slight transparency */ }
.about-img { max-width: 300px; border-radius: 50%; margin: 2rem auto; display: block; }

/* Awards Section */
.awards-section { 
    margin-top: 3rem; 
    text-align: center; 
    padding: 2rem; 
    background: rgba(255,255,255,0.05); 
    border-radius: 10px; 
    border: 1px solid rgba(255,0,255,0.2); 
}
.awards-section h3 { 
    font-size: 1.5rem; 
    margin-bottom: 1rem; 
    color: #00ffff; 
}
.awards-section p { 
    margin-bottom: 1.5rem; 
    opacity: 0.8; 
}
.pdf-btn { 
    display: inline-block; 
    padding: 0.8rem 1.5rem; 
    background: linear-gradient(45deg, #ff00ff, #00ffff); 
    border-radius: 25px; 
    transition: all 0.3s; 
    box-shadow: 0 4px 15px rgba(255,0,255,0.3); 
    font-weight: 500; 
}
.pdf-btn:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 6px 20px rgba(0,255,255,0.4); 
}

/* Contact */
form { max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
input, textarea { padding: 1rem; background: rgba(255,255,255,0.1); border: 1px solid #333; border-radius: 5px; color: #fff; font-size: 1rem; }
input::placeholder, textarea::placeholder { color: #aaa; }
button { padding: 1rem; background: #ff00ff; border: none; border-radius: 5px; cursor: pointer; transition: background 0.3s; }
button:hover { background: #00ffff; }

/* Footer */
footer { text-align: center; padding: 2rem; background: #000; opacity: 0.8; }

/* Mobile */
@media (max-width: 768px) {
    .nav-links { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: rgba(0,0,0,0.9); flex-direction: column; padding: 1rem; }
    .nav-links.active { display: flex; }
    .hamburger { display: flex; }
    section { padding: 3rem 1rem; }
    .logo { font-size: 1.2rem; }
    .logo-dreams, .logo-schemes { font-size: 1.2rem; }
    .logo-amp { font-size: 0.8rem; }
    .social-links { 
        display: none; /* Hide social on mobile nav dropdown */
        margin-left: 0; 
    }
    .nav.active .social-links { 
        display: flex; 
        flex-direction: column; 
        align-items: center; 
        gap: 0.5rem; 
        margin-top: 1rem; 
    }
    .audio-player {
        display: none; /* Hide on mobile nav dropdown for now, adjust if needed */
    }
}

/* In3Dream Page Specific Styles */
.in3dream-hero .hero-title {
    gap: 0.2rem; /* Tighten the stack between In3 and Dream */
}
.in3dream-hero .hero-amp { /* This rule is now irrelevant since we removed the 3 */
    color: #ff00ff; /* Pink for the & (if re-added later) */
}
.process {
    padding: 5rem 2rem;
    text-align: center;
    background: rgba(0,0,0,0.6);
}
.process h2 {
    margin-bottom: 3rem;
    color: #00ffff;
}
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.process-step {
    opacity: 0.9;
    transition: opacity 0.3s;
}
.process-step:hover {
    opacity: 1;
}
.process-step i {
    font-size: 3rem;
    color: #ff00ff;
    margin-bottom: 1rem;
}
.process-step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #00ffff;
}
.process-step p {
    opacity: 0.8;
}
.shop {
    padding: 5rem 2rem;
    text-align: center;
}
.shop h2 {
    margin-bottom: 1rem;
    color: #00ffff;
}
.shop-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.shop-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,0,255,0.2);
}
.shop-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s;
}
.shop-item:hover img {
    transform: scale(1.1);
}
.shop-item-info {
    padding: 1rem;
}
.shop-item h3 {
    margin-bottom: 0.5rem;
    color: #00ffff;
}
.shop-item p {
    opacity: 0.8;
    margin-bottom: 1rem;
}
.shop-item-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ff00ff;
}
.add-to-cart-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #ff00ff;
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s;
}
.add-to-cart-btn:hover {
    background: #00ffff;
}
.cart-summary {
    margin-top: 2rem;
    text-align: center;
}
.cart-summary h3 {
    margin-bottom: 1rem;
    color: #00ffff;
}
.checkout-form {
    max-width: 400px;
    margin: 0 auto;
}
#card-element {
    padding: 10px;
    background: rgba(255,255,255,0.1);
    border: 1px solid #333;
    border-radius: 5px;
    margin-bottom: 1rem;
}
#paymentStatus {
    margin-top: 1rem;
    color: #00ffff;
}
.custom-order {
    margin-top: 3rem;
    display: inline-block;
}

/* Additional Styling for Abyss Button */
.abyss-btn {
    margin-left: 1rem; /* Space between Shop Prints and Explore the Abyss */
    background: linear-gradient(45deg, #00ffff, #ff00ff); /* Cyan to pink gradient */
}
.abyss-btn:hover {
    transform: scale(1.05);
    background: linear-gradient(45deg, #ff00ff, #00ffff); /* Reverse on hover */
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
}
.modal-content {
    background: #1a1a2e;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ff00ff;
    border-radius: 10px;
    width: 70%;
    max-width: 500px;
    text-align: center;
    color: #fff;
    position: relative;
}
.close-btn {
    color: #ff00ff;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.close-btn:hover,
.close-btn:focus {
    color: #00ffff;
    text-decoration: none;
}
#newsletterForm input {
    padding: 10px;
    margin: 10px 0;
    width: 80%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #333;
    border-radius: 5px;
    color: #fff;
}
#newsletterForm button {
    padding: 10px 20px;
    background: #ff00ff;
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s;
}
#newsletterForm button:hover {
    background: #00ffff;
}
#subscribeStatus {
    margin-top: 10px;
    color: #00ffff;
}

/* Mobile */
@media (max-width: 768px) {
    .process-grid, .shop-grid {
        grid-template-columns: 1fr;
    }
    .social-links { 
        display: none; /* Hide social on mobile nav dropdown */
        margin-left: 0; 
    }
    .nav.active .social-links { 
        display: flex; 
        flex-direction: column; 
        align-items: center; 
        gap: 0.5rem; 
        margin-top: 1rem; 
    }
}
/* MOBILE MENU — FINAL VERSION (WORKS PERFECTLY) */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
    }
    .hamburger span {
        width: 25px;
        height: 3px;
        background: #fff;
        transition: all 0.3s;
    }
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0,0,0,0.98);
        flex-direction: column;
        padding: 1.5rem 0;
        text-align: center;
        border-top: 1px solid rgba(255,0,255,0.3);
    }
    .nav-links.active { display: flex; }

    .nav-links li {
        margin: 1rem 0;
    }
    .nav-links li a {
        font-size: 1.4rem;
        padding: 0.5rem;
    }

    /* SOCIAL LINKS — VISIBLE WHEN MENU OPEN */
    .social-links {
        display: none;
        flex-direction: row;
        justify-content: center;
        gap: 1.8rem;
        margin-top: 1.5rem;
        padding: 0 1rem;
    }
    .nav-links.active ~ .social-links,
    .nav.active .social-links {
        display: flex !important;
    }
    .social-icon {
        font-size: 2rem !important;
    }

    .audio-player {
        display: none; /* Optional: hide on mobile to save space */
    }
}
/* SOCIAL OVERLAY — LOGO CLICK POPUP */
.social-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.92);
    z-index: 9998;
    justify-content: center;
    align-items: center;
}
.social-overlay.active { display: flex; }

.social-popup {
    display: flex;
    gap: 3rem;
    padding: 2rem;
    background: rgba(0,0,0,0.9);
    border: 2px solid #ff00ff;
    border-radius: 24px;
    box-shadow: 0 0 60px rgba(255,0,255,0.7);
    animation: popIn 0.4s ease;
}
.social-popup a {
    font-size: 4rem;
    color: #ff00ff;
    transition: all 0.3s;
}
.social-popup a:hover {
    color: #00ffff;
    transform: scale(1.3) rotate(15deg);
}
@keyframes popIn {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}