/* Base Styles & Variables */
:root {
    --bg-dark: #0a0e17;
    --bg-darker: #05080f;
    --bg-card: #131b2c;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --gold-main: #f59e0b;
    --gold-light: #fbbf24;
    --gold-dark: #d97706;
    --accent-blue: #3b82f6;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
}

body {
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.text-gold {
    color: var(--gold-main);
    text-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
}

a {
    text-decoration: none;
    color: inherit;
}

/* Common Classes */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-transform: uppercase;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-main), var(--gold-dark));
    color: #fff;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
    background: linear-gradient(135deg, var(--gold-light), var(--gold-main));
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Navbar */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-normal);
    background: transparent;
}

#navbar.scrolled {
    background: rgba(5, 8, 15, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-logo {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.4));
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links li a {
    color: var(--text-main);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-fast);
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold-main);
    transition: var(--transition-normal);
}

.nav-links li a:hover::after {
    width: 100%;
}

.nav-links li a:hover {
    color: var(--gold-main);
}

.highlight-link {
    color: var(--gold-main) !important;
    border: 1px solid var(--gold-main);
    padding: 8px 16px;
    border-radius: 6px;
}

.highlight-link::after {
    display: none;
}

.highlight-link:hover {
    background-color: rgba(245, 158, 11, 0.1);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: url('assets/bg.png') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 8, 15, 0.7), rgba(5, 8, 15, 1));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    margin-top: 50px;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: backwards;
}

.server-status {
    display: inline-flex;
    align-items: center;
    background: rgba(19, 27, 44, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 10px 10px 10px 20px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: backwards;
    gap: 20px;
}

.status-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.status-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: #fff;
}

.status-players {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.copy-ip-btn {
    background: rgba(245, 158, 11, 0.1);
    color: var(--gold-main);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 8px 16px;
    border-radius: 30px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    transition: var(--transition-fast);
}

.copy-ip-btn:hover {
    background: var(--gold-main);
    color: #fff;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s;
    animation-fill-mode: backwards;
}

/* Features Section */
.features-section {
    background-color: var(--bg-darker);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-main), transparent);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(245, 158, 11, 0.2);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--gold-main);
    margin-bottom: 25px;
    filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.3));
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Client Section */
.client-section {
    background: linear-gradient(135deg, var(--bg-dark), #0f1623);
}

.client-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.client-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.7;
}

.client-perks {
    list-style: none;
    margin-bottom: 40px;
}

.client-perks li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.client-perks i {
    margin-top: 4px;
}

.client-note {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

.client-image {
    perspective: 1000px;
}

.client-mockup {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    transform: rotateY(-15deg) rotateX(10deg);
    transition: var(--transition-slow);
}

.client-mockup:hover {
    transform: rotateY(0) rotateX(0);
    box-shadow: 0 0 50px rgba(245, 158, 11, 0.2);
}

.mockup-logo {
    width: 100px;
    margin-bottom: 20px;
}

.mockup-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}

.mockup-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 60%;
    background: var(--gold-main);
    border-radius: 4px;
    animation: loadBar 2s infinite ease-in-out alternate;
}

/* Rules Section */
.rules-section {
    background-color: var(--bg-darker);
}

.rules-box {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.rules-list {
    color: var(--text-muted);
    line-height: 2;
    font-size: 1.1rem;
    padding-left: 20px;
}

.rules-list li {
    margin-bottom: 15px;
}

.rules-list strong {
    color: #fff;
}

.rules-list u {
    color: #ef4444;
    text-decoration: none;
    font-weight: 800;
}

/* Store Section */
.store-section {
    background-color: var(--bg-dark);
}

.vip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.vip-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.vip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

.vip-card.mvip::before {
    background: linear-gradient(90deg, #3b82f6, #2563eb);
}

.vip-card.lvip::before {
    background: linear-gradient(90deg, #a855f7, #7e22ce);
}

.vip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(245, 158, 11, 0.3);
}

.vip-card.mvip:hover {
    border-color: rgba(59, 130, 246, 0.3);
}

.vip-card.lvip:hover {
    border-color: rgba(168, 85, 247, 0.3);
}

.vip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.vip-header h3 {
    font-size: 1.5rem;
    color: #fff;
}

.vip-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold-main);
}

.vip-card.mvip .vip-price { color: #3b82f6; }
.vip-card.lvip .vip-price { color: #a855f7; }

.vip-toggle {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
}

.vip-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.vip-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.vip-content.open {
    max-height: 1000px;
    margin-top: 20px;
}

.vip-content h4 {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 5px;
}

.vip-content ul {
    list-style: none;
    padding-left: 0;
}

.vip-content li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #ccc;
    position: relative;
    padding-left: 20px;
}

.vip-content li::before {
    content: '•';
    color: var(--gold-main);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2rem;
    line-height: 1;
}

.vip-card.mvip .vip-content li::before { color: #3b82f6; }
.vip-card.lvip .vip-content li::before { color: #a855f7; }

/* Footer & Store */
.footer {
    background: #03050a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.footer-brand img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-brand h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.footer-brand p {
    color: var(--text-muted);
}

.footer-store h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--gold-main);
}

.footer-store p {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #22c55e;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-normal);
    z-index: 2000;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

@keyframes loadBar {
    0% { width: 10%; }
    100% { width: 90%; }
}

/* Responsive */
@media (max-width: 992px) {
    .client-container {
        grid-template-columns: 1fr;
    }
    
    .client-mockup {
        transform: none;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .nav-links {
        display: none; /* Add mobile menu logic in JS if needed */
    }
    
    .hamburger {
        display: block;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* Payment Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    padding: 40px;
    position: relative;
    transform: translateY(0);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.modal-overlay.hidden .modal-content {
    transform: translateY(20px);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #ef4444;
}

.modal-title {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 5px;
    text-align: center;
}

.modal-subtitle {
    color: var(--gold-main);
    font-size: 1.2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 25px;
}

.payment-info-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.payment-info-box h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-info-box p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.bank-details {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 8px;
}

.bank-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.bank-row:last-child {
    margin-bottom: 0;
}

.bank-row span {
    color: var(--text-muted);
}

.bank-row strong {
    color: #fff;
}

.warning-box {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-left: 4px solid #ef4444;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.warning-box h4 {
    color: #ef4444;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
    font-size: 1rem;
}

.warning-box p {
    color: #fca5a5;
    font-size: 0.85rem;
    line-height: 1.5;
}

.payment-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-form label {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
}

.payment-form input {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 15px;
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.payment-form input:focus {
    outline: none;
    border-color: var(--gold-main);
}

.confirm-btn {
    width: 100%;
    margin-top: 5px;
    background: #22c55e !important;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3) !important;
}

.confirm-btn:hover {
    background: #16a34a !important;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.5) !important;
}

.success-msg {
    text-align: center;
    padding: 30px 10px;
}

.success-msg h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.success-msg p {
    color: var(--text-muted);
    line-height: 1.5;
}

.hidden {
    display: none !important;
}
