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

:root {
    --primary-purple: #6366f1;
    --primary-blue: #3b82f6;
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --bg-card: #1e293b;
    --text-light: #f1f5f9;
    --text-gray: #94a3b8;
    --accent-green: #10b981;
    --accent-orange: #f59e0b;
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    background-image: 
        radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(139, 92, 246, 0.15) 0px, transparent 50%);
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.5));
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-light);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-utils {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.util-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-gradient);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.util-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.util-btn svg {
    stroke-width: 2.5;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
    margin-top: 80px;
}

/* Page System */
.page {
    display: none;
}

.page.active {
    display: block;
}

/* Main Content */
.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    padding: 3rem 0;
}

.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Hero Section */
.hero-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 4rem 0;
}

.main-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.title-gradient {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-gray);
    letter-spacing: 0.1em;
}

.title-main {
    font-size: 4.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1.1;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.8));
    }
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    font-weight: 400;
    margin-top: 1rem;
    max-width: 600px;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2.5rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    min-width: 250px;
    justify-content: center;
}

.cta-btn.primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

.cta-btn.secondary {
    background: rgba(148, 163, 184, 0.1);
    color: var(--text-light);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.5);
}

.cta-btn.secondary:hover {
    background: rgba(148, 163, 184, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.btn-icon {
    font-size: 1.5rem;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    opacity: 0.9;
    text-transform: uppercase;
}

.btn-value {
    font-size: 1rem;
    font-weight: 600;
}

/* Services Section */
.services-section {
    width: 100%;
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-notice {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    padding: 1rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 10px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.service-card:hover::before {
    opacity: 0.1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.3));
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

.service-desc {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.service-price {
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

/* Stats Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    width: 100%;
    padding: 3rem 0;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-gray);
    font-weight: 500;
}

/* Page Styles */
.page-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Restock Page */
.restock-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.restock-item {
    background: var(--bg-card);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.restock-item:hover {
    transform: translateX(10px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: var(--shadow-lg);
}

.restock-icon {
    font-size: 2.5rem;
}

.restock-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.restock-info p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.restock-time {
    font-size: 0.9rem;
    color: var(--text-gray);
    opacity: 0.7;
}

/* Discord Page */
.discord-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.discord-card {
    background: var(--bg-card);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    transition: all 0.3s ease;
}

.discord-card:hover {
    transform: translateY(-10px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: var(--shadow-xl);
}

.discord-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 15px rgba(99, 102, 241, 0.5));
}

.discord-card h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.discord-card p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Support Page */
.support-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.support-card {
    background: var(--bg-card);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.support-card:hover {
    transform: translateY(-10px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: var(--shadow-xl);
}

.support-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.support-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.support-card p {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.support-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--primary-gradient);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.support-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

/* Services Detail Page */
.services-detailed {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-detail-card {
    background: var(--bg-card);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.service-detail-card:hover {
    transform: translateX(10px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: var(--shadow-lg);
}

.service-detail-card h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.service-detail-card p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-detail-card ul {
    list-style: none;
    padding: 0;
}

.service-detail-card li {
    font-size: 1rem;
    color: var(--text-light);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.service-detail-card li:last-child {
    border-bottom: none;
}

.service-detail-card li::before {
    content: '✓ ';
    color: var(--accent-green);
    font-weight: 700;
    margin-right: 0.5rem;
}

/* Restock Page Styles */
.restock-header {
    text-align: center;
    margin-bottom: 3rem;
}

.restock-notice {
    background: var(--bg-card);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.restock-notice .notice-icon {
    font-size: 2rem;
}

.restock-notice .notice-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.restock-notice .notice-content p {
    color: var(--text-gray);
    line-height: 1.6;
}

.restock-item {
    position: relative;
}

.edit-stock-btn {
    padding: 0.5rem 1.5rem;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: auto;
}

.edit-stock-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

.admin-toggle-btn {
    padding: 0.75rem 2rem;
    background: rgba(99, 102, 241, 0.2);
    color: var(--text-light);
    border: 1px solid rgba(99, 102, 241, 0.5);
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.admin-toggle-btn:hover {
    background: rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}

/* Support Notice */
.support-notice {
    background: var(--bg-card);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.support-notice .notice-icon {
    font-size: 3rem;
}

.support-notice .notice-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.support-notice .notice-content p {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Admin Modal */
.admin-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.admin-modal.active {
    display: flex;
}

.admin-content {
    background: var(--bg-card);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.admin-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-light);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.close-btn {
    width: 40px;
    height: 40px;
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--text-light);
}

.close-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
    transform: rotate(90deg);
}

.admin-body {
    margin-top: 1rem;
}

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.admin-form label {
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.95rem;
}

.admin-form input {
    padding: 0.75rem 1rem;
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 10px;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.admin-form input:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(148, 163, 184, 0.15);
}

.admin-form input[readonly] {
    background: rgba(148, 163, 184, 0.05);
    cursor: not-allowed;
}

.admin-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.admin-btn {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.admin-btn.primary {
    background: var(--primary-gradient);
    color: white;
}

.admin-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

.admin-btn.secondary {
    background: rgba(148, 163, 184, 0.1);
    color: var(--text-light);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.admin-btn.secondary:hover {
    background: rgba(148, 163, 184, 0.2);
}

.admin-hint {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 0.5rem;
    text-align: center;
    opacity: 0.7;
}

/* Notification */
.notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--bg-card);
    color: var(--text-light);
    padding: 1.25rem 2rem;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: var(--shadow-xl);
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 3000;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
        padding: 1rem;
    }
    
    .nav-links {
        order: 3;
        width: 100%;
        justify-content: space-around;
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
    }
    
    .title-main {
        font-size: 2.5rem;
    }
    
    .title-gradient {
        font-size: 1.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-btn {
        width: 100%;
        min-width: auto;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .discord-container {
        grid-template-columns: 1fr;
    }
    
    .support-container {
        grid-template-columns: 1fr;
    }
    
    .util-btn span {
        display: none;
    }
}
