/* =========================================
    VANASAGA STORE - Alchemy Edition 2026
   ========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background: #030303; 
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(168, 85, 247, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(126, 34, 206, 0.25) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(76, 29, 149, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 30% 80%, rgba(192, 38, 211, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(67, 56, 202, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 0% 100%, rgba(139, 92, 246, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 100% 0%, rgba(109, 40, 217, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 40%, rgba(147, 51, 234, 0.2) 0%, transparent 40%);

    background-size: 300% 300%; 
    animation: alchemyBoil 15s ease-in-out infinite alternate;
    
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

@keyframes alchemyBoil {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 100%; }
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(3, 3, 3, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
}
.logo span { color: #a855f7; }

.nav-logo-img {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 2px solid #a855f7;
    object-fit: cover;
}

.nav-links { list-style: none; display: flex; gap: 25px; }
.nav-links a {
    text-decoration: none; color: #aaa;
    font-weight: 600; font-size: 0.9rem;
    transition: 0.3s; padding: 5px 0;
}
.nav-links a:hover, .nav-links a.active { color: #fff; box-shadow: 0 2px 0 #a855f7; }

/* --- HAMBURGER BUTTON --- */
.menu-toggle {
    display: none; 
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1100;
    padding: 10px;
    border-radius: 8px;
    transition: 0.3s;
}

.menu-toggle:hover { background: rgba(168, 85, 247, 0.1); }

.bar {
    width: 28px; height: 3px;
    background-color: #a855f7 !important;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.5);
}

.menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); background-color: #d8b4fe !important; }
.menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); background-color: #d8b4fe !important; }

/* --- MOBILE NAV OVERLAY --- */
.mobile-nav-overlay {
    position: fixed;
    top: 0; right: -100%; 
    width: 65%; height: 100vh;
    background: rgba(3, 3, 3, 0.9);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(168, 85, 247, 0.3);
    display: flex; justify-content: center; align-items: center;
    transition: 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    z-index: 1050;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
}
.mobile-nav-overlay.active { right: 0; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 30px; text-align: center; }
.mobile-nav-links a {
    color: #fff; text-decoration: none;
    font-size: 1.4rem; font-weight: 800;
    letter-spacing: 2px; transition: 0.3s; text-transform: uppercase;
}
.mobile-nav-links a:hover { color: #a855f7; }

/* --- HERO & SUBTITLE (RAK FORMAL) --- */
.hero {
    text-align: center;
    padding: 160px 20px 80px;
    max-width: 1000px;
    margin: auto;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 25px;
    background: linear-gradient(to bottom, #fff, #aaa);
    -webkit-background-clip: text;
    background-clip: text; 
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.subtitle-wrapper {
    max-width: 750px;
    margin: 0 auto 50px;
    padding: 0 15px;
}

.subtitle-main {
    font-size: 1.2rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    margin-bottom: 20px;
}

.subtitle-main span {
    color: #a855f7;
    font-weight: 800;
    text-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
}

.subtitle-divider {
    width: 60px; height: 2px;
    background: linear-gradient(90deg, transparent, #a855f7, transparent);
    margin: 20px auto;
}

.subtitle-footer {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.5;
    letter-spacing: 0.5px;
}

/* --- IP CARDS --- */
.ip-container {
    display: flex; gap: 25px;
    justify-content: center; flex-wrap: wrap;
    margin-bottom: 50px;
}

.ip-card {
    width: 300px; 
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(168, 85, 247, 0.2);
    padding: 35px 20px;
    border-radius: 28px;
    cursor: pointer;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(15px);
    position: relative; overflow: hidden;
}

.ip-card:hover {
    border-color: #a855f7;
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(168, 85, 247, 0.2);
}

.java-title { color: #a855f7; font-size: 0.8rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; display: block; }
.bedrock-title { color: #3b82f6; font-size: 0.8rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; display: block; }
.address { font-size: 1.3rem; font-weight: 700; color: #fff; display: block; }

/* --- STATUS BAR --- */
.status-bar {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    font-size: 0.9rem; font-weight: 600; color: #bbb;
    background: rgba(255,255,255,0.03);
    width: fit-content; margin: 0 auto 50px auto;
    padding: 10px 25px; border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.05);
}

.pulse-dot {
    width: 10px; height: 10px;
    background: #a855f7; border-radius: 50%;
    box-shadow: 0 0 12px #a855f7;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(168, 85, 247, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(168, 85, 247, 0); }
}

/* --- SOCIAL BUTTONS --- */
.social-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.btn {
    text-decoration: none; color: #fff !important;
    padding: 14px 24px; border-radius: 16px;
    font-weight: 700; font-size: 0.85rem;
    display: flex; align-items: center; gap: 10px;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255,255,255,0.1);
}

.social-buttons .btn:hover {
    transform: scale(1.08) translateY(-5px);
    filter: brightness(1.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}
.social-buttons .btn:active { transform: scale(0.95); }

.btn-wa { background: #25D366; }
.btn-discord { background: #5865F2; }
.btn-tiktok { background: #000; }
.btn-saweria { background: #faae2b; color: #1a1a1a !important; }

/* --- TOAST & FLOATING --- */
.toast-container {
    position: fixed; bottom: 30px; right: 30px;
    z-index: 9999; display: flex; flex-direction: column;
    gap: 10px; align-items: flex-end;
}
.custom-toast {
    background: rgba(168, 85, 247, 0.2); border: 1px solid rgba(168, 85, 247, 0.4);
    backdrop-filter: blur(15px); color: white; padding: 12px 20px;
    border-radius: 12px; font-weight: 700; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: slideInRight 0.4s ease forwards;
}
@keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

.floating-nav { position: fixed; bottom: 30px; left: 30px; display: none; flex-direction: column; gap: 15px; z-index: 900; }
.float-btn {
    width: 50px; height: 50px; background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.4); border-radius: 50%;
    display: flex; justify-content: center; align-items: center; color: white; transition: 0.3s;
}

/* --- ANIMATIONS --- */
.slide-up { animation: slideUp 0.8s ease forwards; opacity: 0; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.floating { animation: floating 3s ease-in-out infinite; }
@keyframes floating { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* --- MEDIA QUERIES --- */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .menu-toggle { display: flex; }
    .floating-nav { display: flex; }
    .hero { padding: 120px 20px 60px; }
    .toast-container { right: 20px; left: 20px; align-items: center; }
    .subtitle-main { font-size: 1rem; }
}