:root {
    --bg-color: #0f0f13;
    --card-bg: rgba(255, 255, 255, 0.05);
    --primary: #6c5ce7;
    --accent: #a29bfe;
    --text-main: #ffffff;
    --text-muted: #b2bec3;
    --gradient: linear-gradient(135deg, #6c5ce7, #00cec9);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}


.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(15, 15, 19, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
}
.logo span { color: var(--primary); }

.nav-links { display: flex; gap: 30px; }
.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
}
.nav-links a:hover { opacity: 1; color: var(--primary); }

.nav-btn {
    background: var(--gradient);
    padding: 8px 20px;
    border-radius: 20px;
    color: white !important;
    font-weight: 600 !important;
}

/* --- Hero Section & Slideshow --- */
.hero {
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 60px;
}

/* Slideshow Container */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; 
}

/* Individual Slides */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0; 
    transition: opacity 1s ease-in-out; 
}

/* Dark overlay */
.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); 
}

.slide.active {
    opacity: 1; 
}

.hero h1 {
    font-size: 4rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

/* IP Copy Box */
.ip-container {
    margin-top: 30px;
    background: var(--card-bg);
    padding: 15px 30px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
    transition: 0.3s;
}

.ip-container:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(108, 92, 231, 0.2);
}

.tooltip {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
}
.ip-container:hover .tooltip { opacity: 1; top: -50px; }

/* --- Sections General --- */
.section { padding: 80px 0; }
h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
}
h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 10px auto;
    border-radius: 2px;
}

/* --- Ranks Grid --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 40px;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.08);
    border-color: var(--primary);
}

.rank-header h3 { font-size: 1.8rem; margin-bottom: 10px; }
.price { font-size: 1.5rem; color: var(--primary); font-weight: 700; margin-bottom: 20px; }

.perks-list {
    margin-bottom: 20px;
}

.perks-list li {
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.perks-list i { color: var(--primary); }

.btn-buy {
    width: 100%;
    padding: 12px;
    margin-top: auto;
    border: none;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}
.btn-buy:hover { background: var(--primary); }

.premium { border: 1px solid var(--primary); box-shadow: 0 0 30px rgba(108, 92, 231, 0.15); }

/* --- Vote Links --- */
.vote-grid {
    display: grid;
    /* Changed minmax from 200px to 240px below to prevent text wrapping */
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.vote-link {
    background: var(--card-bg);
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.05);
    font-weight: 600;
}
.vote-link:hover {
    background: var(--primary);
    color: white;
}

/* --- Discord Banner --- */
.discord-banner {
    background: var(--gradient);
    padding: 80px 20px;
    text-align: center;
    margin-top: 50px;
}
.discord-content i { font-size: 3rem; margin-bottom: 20px; }
.btn-discord {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 12px 30px;
    border-radius: 30px;
    margin-top: 20px;
    font-weight: 700;
    cursor: pointer;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
    font-size: 0.8rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.hamburger { display: none; cursor: pointer; font-size: 1.5rem; }

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .nav-links { display: none; }
    .hamburger { display: block; }
}

/* --- MODAL STYLES --- */
.modal {
    display: none; 
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); 
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

/* --- FIXED MODAL CONTENT WITH NO SCROLLBAR --- */
.modal-content {
    background: #1e1e24;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--primary);
    width: 90%;
    max-width: 450px; 
    position: relative;
    text-align: center;
    box-shadow: 0 0 50px rgba(108, 92, 231, 0.3);
    
    /* SCROLL ENABLED */
    max-height: 90vh;
    overflow-y: auto; 

    /* HIDE SCROLLBAR (Firefox, IE, Edge) */
    scrollbar-width: none; 
    -ms-overflow-style: none; 
}

/* HIDE SCROLLBAR (Chrome, Safari, Opera) */
.modal-content::-webkit-scrollbar { 
    display: none; 
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: #aaa;
    cursor: pointer;
    transition: 0.3s;
}
.close-btn:hover { color: white; }

/* QR Code Smaller Size */
.qr-container {
    margin: 10px 0;
    padding: 10px;
    background: white;
    border-radius: 10px;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.qr-image {
    width: 120px; 
    height: 120px; 
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.scan-text {
    color: #333;
    margin-top: 5px;
    font-size: 0.85rem;
    font-weight: 600;
}

.gcash-number {
    color: #333;
    margin-top: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    border-top: 1px dashed #ccc;
    padding-top: 8px;
}

.gcash-number strong {
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.billing-form {
    margin-top: 10px;
    text-align: left;
}

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-group input {
    width: 100%;
    padding: 10px; 
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: white;
    font-family: inherit;
    outline: none;
}

.form-group input:focus {
    border-color: var(--primary);
}

.file-input {
    padding: 8px !important;
    font-size: 0.85rem;
}
