:root {
    /* Dark theme colors */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: rgba(99, 102, 241, 0.1);
    --secondary: #14b8a6;
    --accent: #f59e0b;
    --background: #0f172a;
    --surface: #1e293b;
    --card-bg: #1e293b;
    --text: #e2e8f0;
    --text-light: #94a3b8;
    --border: #334155;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
    --radius: 0.75rem;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    color: var(--text);
    background: var(--background);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo img {
    width: 2rem;
    height: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

.category-nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
}

.category-nav-item:hover {
    background: var(--primary);
    color: white;
}

.category-nav-item .icon {
    font-size: 1.25rem;
}

.mobile-menu {
    display: none;
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(to bottom right, var(--primary-dark), var(--primary));
    color: white;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat .number {
    font-size: 2.5rem;
    font-weight: 700;
}

.stat .label {
    font-size: 1rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

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

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
}

.btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Featured Scripts */
.featured-scripts {
    padding: 4rem 0;
}

.script-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.script-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
    border: 1px solid var(--border);
}

.script-card:hover {
    transform: translateY(-4px);
}

.script-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.script-header {
    padding-left: 0;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Default badge style for those without specific class */
.badge:not(.premium):not(.new):not(.hot):not(.performance):not(.afk):not(.ultra-fast) {
    background: linear-gradient(45deg, rgba(148, 163, 184, 0.8), rgba(100, 116, 139, 0.8));
    color: white;
    box-shadow: 0 2px 4px rgba(148, 163, 184, 0.2);
}

.badge.premium {
    background: linear-gradient(45deg, rgba(245, 158, 11, 0.8), rgba(217, 119, 6, 0.8));
    color: white;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.2);
}

.badge.new {
    background: linear-gradient(45deg, rgba(16, 185, 129, 0.8), rgba(5, 150, 105, 0.8));
    color: white;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

.badge.hot {
    background: linear-gradient(45deg, rgba(239, 68, 68, 0.8), rgba(220, 38, 38, 0.8));
    color: white;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);
}

.badge.performance {
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.8), rgba(79, 70, 229, 0.8));
    color: white;
    box-shadow: 0 2px 4px rgba(99, 102, 241, 0.2);
}

.badge.afk {
    background: linear-gradient(45deg, rgba(139, 92, 246, 0.8), rgba(124, 58, 237, 0.8));
    color: white;
    box-shadow: 0 2px 4px rgba(139, 92, 246, 0.2);
}

.badge.ultra-fast {
    background: linear-gradient(45deg, rgba(6, 182, 212, 0.8), rgba(14, 165, 233, 0.8));
    color: white;
    box-shadow: 0 2px 4px rgba(6, 182, 212, 0.2);
}

.badge-container {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.script-features {
    margin: 1.5rem 0;
}

.script-features ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.script-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    background: var(--background);
    border-radius: var(--radius);
}

.script-features li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    font-size: 0.875rem;
    margin-right: 0.5rem;
}

.script-actions {
    display: flex;
    gap: 1rem;
}

.copy-btn, .details-btn {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

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

.copy-btn:hover {
    background: var(--primary-dark);
}

.details-btn {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
}

.details-btn:hover {
    background: var(--background);
}

/* Categories */
.script-categories {
    padding: 4rem 0;
    background: var(--surface);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.category-card {
    text-align: center;
    padding: 2rem;
    border-radius: var(--radius);
    background: var(--surface);
    transition: transform 0.2s;
    border: 1px solid var(--border);
}

.category-card:hover {
    transform: translateY(-4px);
}

.category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.script-count {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.25rem 0.75rem;
    background: var(--border);
    border-radius: 1rem;
    font-size: 0.875rem;
}

/* Setup Guide */
.setup-guide {
    padding: 4rem 0;
}

.guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    position: relative;
    border: 1px solid var(--border);
}

.step-number {
    position: absolute;
    top: -1rem;
    left: -1rem;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.executor-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.executor-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: var(--surface);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.executor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.executor-card img {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

.executor-card span {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.executor-card small {
    font-size: 0.75rem;
    color: var(--text-light);
}

.warning-box {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(245, 158, 11, 0.15);
    border-radius: var(--radius);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

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

.requirements-list {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.requirements-list li {
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.download-requirements {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.download-requirements:hover {
    background: var(--primary-dark);
}

.install-steps {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.install-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--background);
    border-radius: var(--radius);
}

.step-letter {
    width: 2rem;
    height: 2rem;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.numbered-list {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.numbered-list li {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.tip-box {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.15);
    border-radius: var(--radius);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

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

.common-issues details {
    margin-bottom: 1rem;
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
}

.common-issues summary {
    padding: 1rem;
    cursor: pointer;
    font-weight: 500;
    user-select: none;
}

.common-issues details ul {
    padding: 1rem;
    margin: 0;
    list-style-type: none;
    border-top: 1px solid var(--border);
}

.common-issues details li {
    margin-bottom: 0.75rem;
    color: var(--text-light);
    padding-left: 1.5rem;
    position: relative;
}

.common-issues details li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Dark Mode Support */
.dark-mode .warning-box {
    background: rgba(245, 158, 11, 0.2);
}

.dark-mode .tip-box {
    background: rgba(16, 185, 129, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .guide-steps {
        grid-template-columns: 1fr;
    }
    
    .executor-options {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
    
    .step {
        padding: 1.5rem;
    }
}

/* FAQ */
.faq-section {
    padding: 4rem 0;
    background: var(--surface);
}

.faq-grid {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.faq-item {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.faq-item summary {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 500;
    list-style: none;
    position: relative;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 1.5rem;
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
}

/* Footer */
.footer {
    background: var(--background);
    color: white;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--surface);
        padding: 1rem;
        box-shadow: var(--shadow);
        display: none;
    }
    
    .nav-links.active {
        display: flex;
    }

    .mobile-menu {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
    }

    .mobile-menu span {
        display: block;
        width: 1.5rem;
        height: 2px;
        background: var(--text);
        transition: all 0.2s;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat .number {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .script-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
    }
}

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

.script-card, .category-card, .step {
    animation: fadeIn 0.5s ease-out;
}

/* Script Filters */
.script-filters {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    justify-content: center;
}

.category-filter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.category-filter:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.category-filter.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.category-filter .icon {
    font-size: 1.25rem;
}

/* Search Bar */
.search-bar {
    position: relative;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.search-input {
    width: 100%;
    padding: 1rem 3rem 1rem 1.5rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: all 0.2s;
    background: var(--surface);
    color: var(--text);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.search-input::placeholder {
    color: var(--text-light);
}

.search-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    pointer-events: none;
}

/* Enhanced Script Cards */
.script-card {
    position: relative;
    overflow: hidden;
}

.script-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.2s;
}

.script-card:hover::before {
    opacity: 1;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .script-filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .script-card {
        margin-bottom: 1.5rem;
    }
}

/* Dark Mode Enhancements */
.dark-mode {
    --background: #1a1b1e;
    --surface: #2a2b2e;
    --text: #ffffff;
    --text-light: #9ca3af;
    --border: #374151;
}

.dark-mode .script-card {
    background: var(--surface);
    border: 1px solid var(--border);
}

.dark-mode .filter-btn {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border);
}

.dark-mode .search-input {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border);
}

/* Animation Enhancements */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.script-card.premium:hover {
    animation: pulse 1s infinite;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.script-card {
    animation: slideIn 0.3s ease-out;
}

/* Loading States */
.copy-btn.loading {
    position: relative;
    color: transparent;
}

.copy-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Modal Styling */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal.active {
    opacity: 1;
}

.modal-content {
    background: var(--surface);
    border-radius: var(--radius);
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    transition: transform 0.3s;
    border: 1px solid var(--border);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--text);
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s;
}

.close-modal:hover {
    color: var(--text);
}

.modal-body {
    padding: 1.5rem;
}

.script-preview {
    margin-top: 2rem;
}

.script-preview h3 {
    margin-bottom: 1rem;
    color: var(--text);
}

.script-preview pre {
    background: var(--background);
    padding: 1.5rem;
    border-radius: var(--radius);
    overflow-x: auto;
    font-family: 'Fira Code', monospace;
    font-size: 0.875rem;
    line-height: 1.5;
    border: 1px solid var(--border);
}

.script-preview code {
    color: var(--text);
}

.modal-footer {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid var(--border);
}

.modal-footer button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.copy-script {
    background: var(--primary);
    color: white;
    flex: 1;
}

.copy-script:hover {
    background: var(--primary-dark);
}

.close-btn {
    background: var(--border);
    color: var(--text);
}

.close-btn:hover {
    background: var(--text-light);
    color: white;
}

/* Dark Mode Modal */
.dark-mode .modal-content {
    background: var(--surface);
}

.dark-mode .script-preview pre {
    background: var(--background);
}

.dark-mode .script-preview code {
    color: #e2e8f0;
}

.script-header {
    position: relative;
    padding-left: 0;
    margin-bottom: 1rem;
}

/* Category Cards Styling */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.category-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    color: var(--text);
    margin-bottom: 0.5rem;
}

.category-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.script-count {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

/* Article Section Styles */
.guide-article {
    padding: 4rem 0;
    background: var(--surface);
}

.article-header {
    text-align: center;
    margin-bottom: 3rem;
}

.article-tag {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--background);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.article-section h3 {
    color: var(--text);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.article-section p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.key-features {
    margin-top: 2rem;
}

.key-features h4 {
    color: var(--text);
    margin-bottom: 1rem;
}

.key-features ul, .security-features, .compatibility-list, .update-features {
    list-style: none;
    padding: 0;
}

.key-features li, .security-features li, .compatibility-list li, .update-features li {
    color: var(--text-light);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.key-features li::before, .security-features li::before, .compatibility-list li::before, .update-features li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
}

.highlight {
    color: var(--primary);
    font-weight: 500;
}

.script-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.type {
    padding: 1.5rem;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.type h4 {
    color: var(--text);
    margin-bottom: 0.75rem;
}

.type p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .article-section {
        padding: 1.5rem;
    }

    .script-types {
        grid-template-columns: 1fr;
    }
}

/* Intro Article Styles */
.intro-article {
    padding: 4rem 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.intro-content {
    max-width: 1000px;
    margin: 0 auto;
}

.intro-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.intro-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, var(--text), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-highlights {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: var(--background);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

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

.highlight-text {
    color: var(--text);
    font-weight: 500;
}

.intro-text {
    background: var(--background);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--border);
}

.intro-text p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.feature-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.feature-col h3 {
    color: var(--text);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.feature-col ul {
    list-style: none;
    padding: 0;
}

.feature-col li {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.feature-col li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
}

.intro-note {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.intro-note p {
    margin-bottom: 0;
    font-style: italic;
}

/* Responsive Design for Intro Article */
@media (max-width: 768px) {
    .intro-content h2 {
        font-size: 2rem;
    }

    .intro-highlights {
        gap: 1rem;
    }

    .feature-highlights {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .highlight-item {
        flex: 1 1 100%;
    }
}

/* Add smooth scrolling to the page */
html {
    scroll-behavior: smooth;
}

/* Add padding-top to sections to account for fixed header */
section[id] {
    scroll-margin-top: 80px; /* Adjust this value based on your navbar height */
}

/* Highlight active nav link */
.nav-links a.active {
    color: var(--primary);
}

/* Add active state for nav links when section is in viewport */
.nav-links a[href^="#"]:hover {
    color: var(--primary);
}

/* About Page Styles */
.about-page {
    padding: 8rem 0 4rem;
}

.about-header {
    text-align: center;
    margin-bottom: 4rem;
}

.about-header h1 {
    font-size: 3rem;
    color: var(--text);
    margin-bottom: 1rem;
}

.about-header .subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-content section {
    margin-bottom: 4rem;
    padding: 2rem;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.about-content h2 {
    color: var(--text);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.about-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--background);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

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

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

.feature-card {
    padding: 2rem;
    background: var(--background);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--text);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

.team-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-item {
    padding: 2rem;
    background: var(--background);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.value-item h3 {
    color: var(--text);
    margin-bottom: 1rem;
}

.value-item p {
    color: var(--text-light);
    margin-bottom: 0;
}

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

.commitment-content li {
    color: var(--text-light);
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.commitment-content li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
}

.join-section {
    text-align: center;
}

.join-section .cta-buttons {
    margin-top: 2rem;
}

/* Contact Page Styles */
.contact-page {
    padding: 8rem 0 4rem;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-header h1 {
    font-size: 3rem;
    color: var(--text);
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form-wrapper {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: grid;
    gap: 0.5rem;
}

.form-group label {
    color: var(--text);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--background);
    color: var(--text);
    font-size: 1rem;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.info-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.info-card h3 {
    color: var(--text);
    margin-bottom: 1rem;
}

.info-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.discord-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: #5865F2;
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 500;
    transition: background 0.2s;
}

.discord-button:hover {
    background: #4752c4;
}

.discord-button img {
    width: 24px;
    height: 24px;
}

.hours-list {
    list-style: none;
    padding: 0;
}

.hours-list li {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.hours-list li::before {
    content: "🕒";
    position: absolute;
    left: 0;
}

.support-links {
    list-style: none;
    padding: 0;
}

.support-links li {
    margin-bottom: 0.75rem;
}

.support-links a {
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.support-links a:hover {
    text-decoration: underline;
}

/* Responsive adjustments for About and Contact pages */
@media (max-width: 768px) {
    .about-page,
    .contact-page {
        padding: 6rem 0 3rem;
    }

    .about-header h1,
    .contact-header h1 {
        font-size: 2.5rem;
    }

    .stats-grid,
    .features-grid,
    .team-values {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper,
    .info-card {
        padding: 1.5rem;
    }
}

/* Privacy Policy Page Styles */
.privacy-page {
    padding: 8rem 0 4rem;
}

.privacy-header {
    text-align: center;
    margin-bottom: 4rem;
}

.privacy-header h1 {
    font-size: 3rem;
    color: var(--text);
    margin-bottom: 1rem;
}

.privacy-header p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.privacy-section:last-child {
    margin-bottom: 0;
}

.privacy-section h2 {
    color: var(--text);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.privacy-section h3 {
    color: var(--text);
    font-size: 1.25rem;
    margin: 2rem 0 1rem;
}

.privacy-section p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.privacy-section ul,
.privacy-section ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.privacy-section li {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.privacy-section strong {
    color: var(--text);
    font-weight: 600;
}

.privacy-section .highlight {
    background: var(--primary-light);
    color: var(--primary);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.privacy-section .info-box {
    background: var(--background);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin: 2rem 0;
    border: 1px solid var(--border);
}

.privacy-section .info-box h4 {
    color: var(--text);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.privacy-section .info-box p {
    margin-bottom: 0;
}

.privacy-section .table-container {
    overflow-x: auto;
    margin: 2rem 0;
}

.privacy-section table {
    width: 100%;
    border-collapse: collapse;
}

.privacy-section th,
.privacy-section td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.privacy-section th {
    color: var(--text);
    font-weight: 600;
    background: var(--background);
}

.privacy-section td {
    color: var(--text-light);
}

.privacy-section .contact-info {
    background: var(--background);
    padding: 2rem;
    border-radius: var(--radius);
    margin-top: 3rem;
    text-align: center;
}

.privacy-section .contact-info p {
    margin-bottom: 1rem;
}

.privacy-section .contact-info .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.privacy-section .last-updated {
    color: var(--text-light);
    font-style: italic;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

/* Responsive adjustments for Privacy Policy page */
@media (max-width: 768px) {
    .privacy-page {
        padding: 6rem 0 3rem;
    }

    .privacy-header h1 {
        font-size: 2.5rem;
    }

    .privacy-section {
        padding: 1.5rem;
    }

    .privacy-section h2 {
        font-size: 1.5rem;
    }

    .privacy-section .table-container {
        margin: 1.5rem -1.5rem;
        width: calc(100% + 3rem);
    }

    .privacy-section table {
        font-size: 0.9rem;
    }

    .privacy-section th,
    .privacy-section td {
        padding: 0.75rem;
    }
}

/* Terms of Service Page Styles */
.tos-page {
    padding: 8rem 0 4rem;
}

.tos-header {
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(to bottom right, var(--surface), var(--background));
    padding: 3rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.tos-header h1 {
    font-size: 3rem;
    color: var(--text);
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tos-header p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

.tos-content {
    max-width: 900px;
    margin: 0 auto;
}

.tos-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
}

.tos-section:hover {
    transform: translateY(-5px);
}

.tos-section:last-child {
    margin-bottom: 0;
}

.tos-section h2 {
    color: var(--text);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tos-section h2 .section-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 8px;
    font-size: 1.25rem;
}

.tos-section h3 {
    color: var(--text);
    font-size: 1.25rem;
    margin: 2rem 0 1rem;
}

.tos-section p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.tos-section ul,
.tos-section ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.tos-section li {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
    position: relative;
}

.tos-section ol > li::marker {
    color: var(--primary);
    font-weight: 600;
}

.tos-section ul > li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: -1.5rem;
    font-weight: bold;
}

.tos-section .important-notice {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin: 2rem 0;
}

.tos-section .important-notice h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tos-section .important-notice h4::before {
    content: "⚠️";
}

.tos-section .important-notice p {
    margin-bottom: 0;
}

.tos-section .info-box {
    background: var(--background);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin: 2rem 0;
    border: 1px solid var(--border);
}

.tos-section .info-box h4 {
    color: var(--text);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tos-section .info-box h4::before {
    content: "ℹ️";
}

.tos-section .info-box p {
    margin-bottom: 0;
}

.tos-section .highlight {
    color: var(--primary);
    font-weight: 500;
}

.tos-section .definition-list {
    background: var(--background);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin: 1rem 0;
    border: 1px solid var(--border);
}

.tos-section .definition-list dt {
    color: var(--text);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.tos-section .definition-list dd {
    color: var(--text-light);
    margin-bottom: 1rem;
    padding-left: 1rem;
}

.tos-section .definition-list dd:last-child {
    margin-bottom: 0;
}

.tos-section .table-container {
    overflow-x: auto;
    margin: 2rem 0;
}

.tos-section table {
    width: 100%;
    border-collapse: collapse;
}

.tos-section th,
.tos-section td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.tos-section th {
    color: var(--text);
    font-weight: 600;
    background: var(--background);
}

.tos-section td {
    color: var(--text-light);
}

.tos-section .contact-box {
    background: var(--background);
    padding: 2rem;
    border-radius: var(--radius);
    margin-top: 3rem;
    text-align: center;
    border: 1px solid var(--border);
}

.tos-section .contact-box p {
    margin-bottom: 1rem;
}

.tos-section .contact-box .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.tos-section .last-updated {
    color: var(--text-light);
    font-style: italic;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    text-align: right;
}

/* Responsive adjustments for Terms of Service page */
@media (max-width: 768px) {
    .tos-page {
        padding: 6rem 0 3rem;
    }

    .tos-header {
        padding: 2rem;
    }

    .tos-header h1 {
        font-size: 2.5rem;
    }

    .tos-section {
        padding: 1.5rem;
    }

    .tos-section h2 {
        font-size: 1.5rem;
    }

    .tos-section .table-container {
        margin: 1.5rem -1.5rem;
        width: calc(100% + 3rem);
    }

    .tos-section table {
        font-size: 0.9rem;
    }

    .tos-section th,
    .tos-section td {
        padding: 0.75rem;
    }

    .tos-section .definition-list {
        padding: 1rem;
    }
}

/* === Event Page Styles (exported from Bizzy Bees Update) === */
.event-hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
    padding: 5rem 0 3rem 0;
    text-align: center;
}
.event-hero img {
    max-width: 340px;
    width: 100%;
    border-radius: 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.04);
}
.event-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.event-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(45deg, rgba(148, 163, 184, 0.8), rgba(100, 116, 139, 0.8));
    color: white;
    box-shadow: 0 2px 4px rgba(148, 163, 184, 0.2);
}
.event-badge.live {
    background: #22c55e;
    color: #fff;
}
.event-badge.limited {
    background: #f59e0b;
    color: #fff;
}
.event-badge.ended {
    background: linear-gradient(90deg, #64748b 60%, #334155 100%);
    color: #fff;
}
.event-badge.seasonal {
    background: linear-gradient(90deg, #f472b6 60%, #a21caf 100%);
    color: #fff;
}
.event-badge.rare {
    background: linear-gradient(90deg, #818cf8 60%, #3730a3 100%);
    color: #fff;
}
.event-badge.legendary {
    background: linear-gradient(90deg, #fbbf24 60%, #f59e42 100%);
    color: #fff;
}
.event-badge.mythical {
    background: linear-gradient(90deg, #f472b6 60%, #a21caf 100%);
    color: #fff;
}
.event-content {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 3rem auto 2rem auto;
    padding: 2.5rem 2rem;
}
.event-content h2 {
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 2rem;
}
.event-content h3 {
    color: var(--primary-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.7rem;
}
.event-content ul, .event-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}
.event-content li {
    margin-bottom: 0.5rem;
}
.codes-section {
    margin: 2rem auto 2.5rem auto;
    max-width: 900px;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
}
.codes-section h2 {
    color: var(--primary);
    margin-bottom: 1.2rem;
}
.codes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}
.code-card {
    background: var(--card-bg);
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}
.code-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}
.code-label {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
}
.reward-label {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    text-align: center;
}
/* Responsive overrides for event pages */
@media (max-width: 700px) {
    .event-content {
        padding: 1.2rem 0.5rem;
    }
    .event-hero {
        padding: 2rem 0 1rem 0;
    }
    .codes-section {
        padding: 1.2rem 0.5rem 1rem 0.5rem;
    }
} 