:root {
    --neon-blue: #ffffff;
    --neon-purple: #ffffff;
    --neon-pink: #ff36ab;
    --neon-green: #39ff14;
    --neon-yellow: #ffff00;
    --gradient-blue-purple: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-purple) 100%);
    --gradient-purple-pink: linear-gradient(135deg, var(--neon-purple) 0%, var(--neon-pink) 100%);
    --gradient-blue-green: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-green) 100%);
    --bg-dark-gradient: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-card-hover: rgba(255, 255, 255, 0.1);
    --neon-shadow-blue: 0 0 10px rgba(0, 242, 255, 0.5), 0 0 20px rgba(0, 242, 255, 0.3), 0 0 30px rgba(0, 242, 255, 0.1);
    --neon-shadow-purple: 0 0 10px rgba(157, 78, 221, 0.5), 0 0 20px rgba(157, 78, 221, 0.3), 0 0 30px rgba(157, 78, 221, 0.1);
    --neon-shadow-pink: 0 0 10px rgba(255, 54, 171, 0.5), 0 0 20px rgba(255, 54, 171, 0.3), 0 0 30px rgba(255, 54, 171, 0.1);
    --neon-shadow-green: 0 0 10px rgba(57, 255, 20, 0.5), 0 0 20px rgba(57, 255, 20, 0.3), 0 0 30px rgba(57, 255, 20, 0.1);
    --transition-fast: 0.2s;
    --transition-normal: 0.3s;
    --transition-slow: 0.5s;
}
body.modern-ui {
    background: var(--bg-dark-gradient);
    font-family: 'Outfit', sans-serif;
    color: white;
    min-height: 100vh;
    overflow-x: hidden;
}
.modern-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
}
.modern-title {
    font-size: 4rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient-blue-purple);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: var(--neon-shadow-blue);
    animation: pulsate 2s infinite alternate;
    position: relative;
}
.modern-modes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}
.modern-mode-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-normal) ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transform-style: preserve-3d;
    perspective: 1000px;
}
.modern-mode-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: translateY(-100%);
    transition: transform var(--transition-slow) ease;
}
.modern-mode-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--neon-blue);
}
.modern-mode-card:hover::before {
    transform: translateY(100%);
}
.modern-mode-card h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    background: var(--gradient-blue-purple);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}
.modern-mode-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.modern-mode-card.survivor {
    background: linear-gradient(135deg, rgba(255, 54, 171, 0.1) 0%, rgba(157, 78, 221, 0.1) 100%);
    border-color: var(--neon-pink);
}
.modern-mode-card.survivor h2 {
    background: var(--gradient-purple-pink);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: var(--neon-shadow-pink);
}
.modern-mode-card.survivor:hover {
    box-shadow: 0 15px 30px rgba(255, 54, 171, 0.2);
    border-color: var(--neon-pink);
}
.modern-mode-card.online {
    background: linear-gradient(135deg, rgba(255, 255, 0, 0.1) 0%, rgba(255, 149, 0, 0.1) 100%);
    border-color: var(--neon-yellow);
}
.modern-mode-card.online h2 {
    background: linear-gradient(135deg, var(--neon-yellow) 0%, #ff9500 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 10px rgba(255, 255, 0, 0.5), 0 0 20px rgba(255, 255, 0, 0.3), 0 0 30px rgba(255, 255, 0, 0.1);
}
.modern-mode-card.online:hover {
    box-shadow: 0 15px 30px rgba(255, 255, 0, 0.2);
    border-color: var(--neon-yellow);
}
.modern-bonus-cards-section {
    background: rgba(15, 23, 42, 0.8);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 3rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.5s ease;
}
.modern-bonus-cards-section h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--neon-blue);
    text-shadow: var(--neon-shadow-blue);
}
.modern-bonus-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.modern-bonus-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    position: relative;
    transition: all var(--transition-normal) ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}
.modern-bonus-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: opacity var(--transition-normal) ease;
}
.modern-bonus-card:hover::before {
    opacity: 1;
}
.modern-bonus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--neon-blue);
}
.modern-bonus-card.selected {
    border-color: var(--neon-green);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.5);
}
.modern-bonus-card-count {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--neon-blue);
    color: #000;
    font-weight: bold;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    box-shadow: var(--neon-shadow-blue);
}
.modern-bonus-card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.modern-bonus-card-name {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: white;
}
.modern-bonus-card-description {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}
.modern-bonus-start-btn {
    display: block;
    margin: 0 auto;
    background: var(--gradient-blue-purple);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all var(--transition-normal) ease;
    box-shadow: var(--neon-shadow-blue);
}
.modern-bonus-start-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 242, 255, 0.3);
}
.modern-buttons-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}
.modern-menu-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all var(--transition-normal) ease;
}
.modern-menu-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}
.modern-user-info {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 20px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal) ease;
}
.modern-user-info:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.modern-username {
    color: var(--neon-blue);
    font-size: 1rem;
    font-weight: 600;
}
.modern-logout-btn {
    background: rgba(255, 82, 82, 0.1);
    color: #FF5252;
    border: 1px solid rgba(255, 82, 82, 0.2);
    padding: 8px 15px;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-normal) ease;
    font-weight: 600;
}
.modern-logout-btn:hover {
    background: rgba(255, 82, 82, 0.2);
    box-shadow: 0 0 10px rgba(255, 82, 82, 0.3);
}
@keyframes pulsate {
    0% {
        text-shadow: 0 0 5px rgba(0, 242, 255, 0.5), 0 0 10px rgba(0, 242, 255, 0.3);
    }
    100% {
        text-shadow: 0 0 10px rgba(0, 242, 255, 0.5), 0 0 20px rgba(0, 242, 255, 0.3), 0 0 30px rgba(0, 242, 255, 0.1);
    }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@media (max-width: 992px) {
    .modern-modes {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .modern-title {
        font-size: 2.5rem;
    }
    .modern-modes {
        grid-template-columns: 1fr;
    }
    .modern-bonus-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    .modern-user-info {
        position: relative;
        top: 0;
        right: 0;
        margin-bottom: 20px;
        justify-content: center;
    }
}
@media (max-width: 576px) {
    .modern-title {
        font-size: 2rem;
    }
    .modern-modes {
        padding: 1rem;
    }
    .modern-mode-card h2 {
        font-size: 1.3rem;
    }
    .modern-mode-card p {
        font-size: 0.9rem;
    }
    .modern-bonus-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    .modern-bonus-card {
        padding: 1rem 0.5rem;
    }
    .modern-bonus-card-icon {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    .modern-bonus-card-name {
        font-size: 0.9rem;
    }
    .modern-bonus-card-description {
        font-size: 0.7rem;
    }
    .modern-user-info {
        flex-direction: column;
        align-items: center;
    }
}