/* --- VARIABLES & RESET --- */
:root {
    --bg-dark: #050505;
    --bg-card: #121212;
    --accent: #ff1a1a;
    /* Electric Red */
    --accent-secondary: #cc0000;
    /* Darker Red */
    --accent-tertiary: #ffffff;
    --accent-glow: rgba(255, 26, 26, 0.4);
    --accent-glow-secondary: rgba(204, 0, 0, 0.3);
    --text-main: #ffffff;
    --text-muted: #b3b3b3;
    --font-head: 'Montserrat', sans-serif;
    --font-body: 'Nunito Sans', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* --- PARTICLES CANVAS --- */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.content-wrapper {
    position: relative;
    z-index: 10;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* --- NAVIGATION --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 26, 26, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.logo img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: var(--text-main);
    text-transform: uppercase;
    line-height: 1;
}

.logo-text span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent-glow);
}

.cta-btn {
    padding: 0.6rem 1.5rem;
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-head);
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: var(--transition);
}

.cta-btn:hover {
    background: var(--accent);
    color: var(--text-main);
    box-shadow: 0 0 20px var(--accent-glow);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* --- HEADERS --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    background: radial-gradient(circle at center, rgba(40, 0, 0, 0.5) 0%, var(--bg-dark) 80%);
}

/* Shorter header for sub-pages */
.page-header {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    margin-top: 60px;
    background: radial-gradient(circle at center, rgba(40, 0, 0, 0.4) 0%, var(--bg-dark) 90%);
}

.hero h1,
.page-header h1 {
    font-family: var(--font-head);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero h1 span,
.page-header h1 span {
    color: transparent;
    -webkit-text-stroke: 1px var(--accent);
    text-shadow: 0 0 30px rgba(255, 26, 26, 0.2);
}

.hero p,
.page-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.primary-btn {
    background: var(--accent);
    color: #fff;
    padding: 1rem 2.5rem;
    font-weight: 800;
    border-radius: 4px;
    text-transform: uppercase;
    font-family: var(--font-head);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--accent-glow);
    background: #cc0000;
}

/* --- STATS --- */
.stats-container {
    background: rgba(18, 18, 18, 0.95);
    padding: 3rem 5%;
    border-top: 1px solid rgba(255, 26, 26, 0.1);
    border-bottom: 1px solid rgba(255, 26, 26, 0.1);
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.stat-item h3 {
    font-family: var(--font-head);
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px var(--accent-glow);
}

.stat-item p {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 700;
}

/* --- SECTIONS --- */
.section {
    padding: 5rem 5%;
    background: rgba(5, 5, 5, 0.8);
}

.section-header {
    margin-bottom: 3rem;
    text-align: center;
}

.section-header h2 {
    font-family: var(--font-head);
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-header h2 span {
    color: var(--accent);
    text-shadow: 0 0 15px var(--accent-glow);
}

/* --- CARDS (Services) --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: rgba(18, 18, 18, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(255, 26, 26, 0.25),
        0 0 0 1px rgba(255, 26, 26, 0.1),
        inset 0 0 60px rgba(255, 26, 26, 0.05);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
    transition: var(--transition);
    box-shadow: 0 0 10px var(--accent-glow);
}

.service-card:hover::after {
    width: 100%;
}

.service-icon {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

.service-card h3 {
    font-family: var(--font-head);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #fff, var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- EVENTS --- */
.portfolio-grid,
.events-grid,
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.event-card {
    background-color: #222;
    height: 320px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    border: 1px solid #222;
    transition: var(--transition);
    cursor: pointer;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.15), rgba(0, 255, 255, 0.15));
    opacity: 0;
    transition: var(--transition);
}

.event-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px var(--accent-glow), 0 0 30px var(--accent-glow-secondary);
}

.event-card:hover::before {
    opacity: 1;
}

.event-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.98), rgba(255, 0, 255, 0.3), transparent);
    padding: 2rem 1.5rem;
    transform: translateY(30px);
    transition: var(--transition);
}

.event-card:hover .event-overlay {
    transform: translateY(0);
    background: linear-gradient(to top, rgba(10, 10, 15, 1), rgba(255, 0, 255, 0.4), transparent);
}

.game-tag {
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    color: #000;
    font-weight: 900;
    padding: 0.3rem 1rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.5rem;
    box-shadow: 0 0 20px var(--accent-glow);
    border-radius: 4px;
    transition: var(--transition-fast);
}

.event-card:hover .game-tag {
    transform: translateX(5px);
    box-shadow: 0 0 30px var(--accent-glow), 0 0 15px var(--accent-glow-secondary);
}

.event-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.3rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    transition: var(--transition-fast);
}

.event-card:hover .event-title {
    color: var(--accent-secondary);
    text-shadow: 0 0 15px var(--accent-glow-secondary), 0 0 30px rgba(0, 255, 255, 0.3);
}

/* --- FORMS --- */
/* --- CONTACT FORM REDESIGN --- */
.contact-section {
    padding: 4rem 5%;
    display: flex;
    justify-content: center;
}

.contact-container {
    width: 100%;
    max-width: 600px;
    background: rgba(18, 18, 18, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 0;
    font-size: 1rem;
    color: #fff;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    outline: none;
    transition: var(--transition);
    font-family: var(--font-body);
}

.contact-form label {
    position: absolute;
    top: 12px;
    left: 0;
    font-size: 1rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form input:not(:placeholder-shown),
.contact-form textarea:not(:placeholder-shown) {
    border-bottom-color: var(--accent);
}

.contact-form input:focus~label,
.contact-form textarea:focus~label,
.contact-form input:not(:placeholder-shown)~label,
.contact-form textarea:not(:placeholder-shown)~label {
    top: -20px;
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(45deg, var(--accent), var(--accent-secondary));
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent-secondary), var(--accent));
    z-index: -1;
    transition: var(--transition);
    opacity: 0;
}

.submit-btn:hover::before {
    opacity: 1;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--accent-glow);
}

/* --- FOOTER --- */
.footer {
    background: #000;
    padding: 4rem 5% 2rem;
    border-top: 1px solid rgba(255, 26, 26, 0.2);
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer-col h4 {
    font-family: var(--font-head);
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.footer-links a {
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.5rem;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 8px;
}

.copyright {
    text-align: center;
    color: var(--text-muted);
    padding-top: 2rem;
    border-top: 1px solid #222;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

/* --- NEWS & MESSAGE MODAL (POPUP) STYLES --- */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 2000;
    /* Sit on top of everything */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    /* Black w/ opacity */
    backdrop-filter: blur(5px);
    /* Blurs the background website */
}

.modal-content {
    background-color: var(--bg-card);
    margin: 5% auto;
    /* 5% from the top and centered */
    padding: 2rem;
    border: 1px solid var(--accent);
    width: 80%;
    max-width: 800px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 0 30px rgba(255, 26, 26, 0.3);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    color: var(--text-muted);
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

.modal-image-container {
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
    /* Hidden if no image */
}

.modal-title {
    font-family: var(--font-head);
    font-size: 2rem;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.modal-date {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    display: block;
    text-transform: uppercase;
}

.modal-body {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    white-space: pre-wrap;
    /* Preserves paragraphs and enters */
}

/* Mobile Fix */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 20% auto;
        padding: 1.5rem;
    }

    .modal-image-container {
        height: 200px;
    }

    .modal-title {
        font-size: 1.5rem;
    }
}

/* --- TOAST NOTIFICATIONS --- */
.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
    min-width: 300px;
    max-width: 400px;
    pointer-events: all;
    animation: slideInRight 0.3s ease-out;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body);
}

.toast.success {
    border-left-color: #00ff00;
}

.toast.error {
    border-left-color: var(--accent);
}

.toast.info {
    border-left-color: var(--accent-secondary);
}

.toast-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.toast.success .toast-icon {
    color: #00ff00;
}

.toast.error .toast-icon {
    color: var(--accent);
}

.toast.info .toast-icon {
    color: var(--accent-secondary);
}

.toast-message {
    flex: 1;
    font-size: 0.95rem;
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0;
    margin-left: 10px;
    transition: var(--transition-fast);
}

.toast-close:hover {
    color: #fff;
    transform: rotate(90deg);
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.removing {
    animation: slideOutRight 0.3s ease-out forwards;
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

/* --- LOADING SPINNER --- */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--accent);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* --- BUTTON RIPPLE EFFECT --- */
.primary-btn,
.cta-btn,
.contact-form button {
    position: relative;
    overflow: hidden;
}

.primary-btn::after,
.cta-btn::after,
.contact-form button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.primary-btn:active::after,
.cta-btn:active::after,
.contact-form button:active::after {
    width: 300px;
    height: 300px;
}

/* --- ENHANCED HERO GRADIENT TEXT --- */
.hero h1 span,
.page-header h1 span {
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 0 30px rgba(255, 26, 26, 0.3));
}

/* --- SCROLL PROGRESS INDICATOR --- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
    z-index: 9999;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px var(--accent-glow);
}

/* --- IMPROVED FORM INPUTS --- */
.contact-form input,
.contact-form textarea {
    transition: var(--transition);
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(5px);
}

.contact-form input:focus,
.contact-form textarea:focus {
    background: rgba(26, 26, 26, 1);
    box-shadow: 0 0 0 2px var(--accent), 0 0 20px var(--accent-glow);
    transform: translateY(-2px);
}

/* Mobile Toast Adjustments */
@media (max-width: 768px) {
    .toast-container {
        right: 10px;
        left: 10px;
    }

    .toast {
        min-width: auto;
        max-width: 100%;
    }
}

/* --- THEME TOGGLE BUTTON --- */
.theme-toggle {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
    margin-left: 1rem;
}

.theme-toggle:hover {
    background: var(--accent);
    color: #fff;
    transform: rotate(180deg);
    box-shadow: 0 0 20px var(--accent-glow);
}

/* --- THEME SELECTOR MODAL --- */
.theme-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.theme-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-modal-content {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 12px;
    border: 2px solid var(--accent);
    max-width: 600px;
    width: 90%;
    box-shadow: 0 0 40px var(--accent-glow);
    animation: slideUp 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.theme-modal h2 {
    font-family: var(--font-head);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--accent);
    text-transform: uppercase;
}

.theme-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.theme-option {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.theme-option:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px var(--accent-glow);
}

.theme-option.active {
    border-color: var(--accent);
    background: rgba(255, 26, 26, 0.1);
    box-shadow: 0 0 20px var(--accent-glow);
}

.theme-preview {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 0.8rem;
}

.theme-color {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.theme-name {
    font-family: var(--font-head);
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #fff;
}

.theme-close {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 0.8rem 2rem;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-head);
    font-weight: 700;
    text-transform: uppercase;
    width: 100%;
    transition: var(--transition);
}

.theme-close:hover {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 20px var(--accent-glow);
}

/* Mobile Theme Modal */
@media (max-width: 768px) {
    .theme-modal-content {
        padding: 1.5rem;
    }

    .theme-options {
        grid-template-columns: 1fr 1fr;
    }

    .theme-toggle {
        margin-left: 0.5rem;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}