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

/* ============================================================
   SECTION 1: GLOBAL STYLES & BODY
   ============================================================
   Base CSS reset, typography, background gradients, and layout foundation
*/

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ecf0f1;
    min-height: 100vh;
}

/* ============================================================
   SECTION 2: HEADER & NAVIGATION
   ============================================================
   Sticky header, logo styling, navigation links, mobile hamburger menu
*/
header {
    background: linear-gradient(90deg, #0f3460 0%, #16213e 100%);
    padding: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #e94560;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo:hover {
    color: #ff5a7e;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #ecf0f1;
    border-radius: 2px;
    transition: 0.3s;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(10px, -10px);
}

nav {
    display: flex;
    gap: 0;
    list-style: none;
}

nav a {
    color: #ecf0f1;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    transition: all 0.3s;
    display: block;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #e94560;
    transition: width 0.3s;
}

nav a:hover {
    background: rgba(233, 69, 96, 0.1);
}

nav a:hover::after {
    width: 100%;
}

nav a.active {
    background: rgba(233, 69, 96, 0.2);
}

nav a.active::after {
    width: 100%;
}

/* TIMEZONE SELECTOR */
.timezone-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    border: 1px solid rgba(233, 69, 96, 0.3);
}

.timezone-selector label {
    font-size: 0.9rem;
    margin-right: 0.5rem;
    cursor: pointer;
}

.timezone-selector select {
    background: rgba(233, 69, 96, 0.2);
    color: #ecf0f1;
    border: 1px solid #e94560;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}

.timezone-selector select option {
    background: #16213e;
    color: #ecf0f1;
}

.auto-detect {
    font-size: 0.8rem;
    color: #bdc3c7;
    margin-left: 0.5rem;
}

/* MAIN CONTENT */
main {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.page-content {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.page-content.active {
    display: block;
}

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

/* ============================================================
   SECTION 3: INCENTIVES PAGE STYLING
   ============================================================
   Incentive cards grid, bonus status indicators, animations
*/
.incentivos-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.incentivo-card {
    background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
    border: 2px solid #e94560;
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(233, 69, 96, 0.2);
    text-align: center;
}

.incentivo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(233, 69, 96, 0.4);
    border-color: #ff5a7e;
}

.incentivo-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem auto;
    background: rgba(233, 69, 96, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    overflow: hidden;
}

.incentivo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.incentivo-icon .fallback {
    font-size: 2rem;
}

.incentivo-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: #e94560;
    margin-bottom: 0.5rem;
}

.incentivo-description {
    font-size: 0.9rem;
    color: #bdc3c7;
    margin-bottom: 1rem;
}

.incentivo-duration {
    background: rgba(233, 69, 96, 0.1);
    padding: 0.8rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    border-left: 3px solid #e94560;
}

.duration-label {
    font-size: 0.85rem;
    color: #95a5a6;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.duration-value {
    font-size: 1.2rem;
    color: #2ecc71;
    font-weight: bold;
    margin: 0.5rem 0;
}

.incentivo-dates {
    background: rgba(52, 152, 219, 0.1);
    padding: 0.8rem;
    border-radius: 5px;
    border-left: 3px solid #3498db;
    margin-bottom: 1rem;
}

.date-label {
    font-size: 0.85rem;
    color: #95a5a6;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.date-value {
    font-size: 0.95rem;
    color: #3498db;
    margin: 0.3rem 0;
}

.countdown {
    background: rgba(46, 204, 113, 0.1);
    padding: 0.8rem;
    border-radius: 5px;
    border-left: 3px solid #2ecc71;
}

.countdown-label {
    font-size: 0.85rem;
    color: #95a5a6;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-value {
    font-size: 1.1rem;
    color: #2ecc71;
    font-weight: bold;
    margin-top: 0.5rem;
}

.expired {
    opacity: 0.5;
    border-color: #e74c3c;
}

.expired .incentivo-name {
    color: #e74c3c;
}

.status-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.status-active {
    background: rgba(46, 204, 113, 0.3);
    color: #2ecc71;
}

.status-upcoming {
    background: rgba(52, 152, 219, 0.3);
    color: #3498db;
}

/* CURRENT INCENTIVE */
.current-incentive-section {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    border: 3px solid #27ae60;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 10px 30px rgba(46, 204, 113, 0.3); }
    50% { box-shadow: 0 10px 40px rgba(46, 204, 113, 0.6); }
}

.current-incentive-section h3 {
    color: #fff;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.current-incentive-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.current-incentive-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.current-incentive-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.current-incentive-info {
    flex: 1;
    min-width: 250px;
}

.current-incentive-name {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 0.5rem;
}

.current-incentive-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.current-incentive-time {
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 5px;
    border-left: 4px solid #fff;
}

.current-incentive-time-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.current-incentive-time-value {
    font-size: 1.5rem;
    color: #fff;
    font-weight: bold;
    margin-top: 0.5rem;
}

.no-active-incentive {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border: 3px solid #2980b9;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 3rem;
    text-align: center;
}

.no-active-incentive h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.no-active-incentive p {
    color: rgba(255, 255, 255, 0.9);
}

.load-more-container {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
}

.btn-load-more {
    display: inline-block;
    background: linear-gradient(90deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 5px;
    border: 2px solid #3498db;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-load-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
    border-color: #2980b9;
}

.btn-load-more:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.load-more-status {
    color: #bdc3c7;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.search-results-section {
    background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
    border: 2px solid #9b59b6;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.search-results-section h3 {
    color: #9b59b6;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.search-result-card {
    background: rgba(155, 89, 182, 0.1);
    border: 2px solid #9b59b6;
    border-radius: 8px;
    padding: 1.2rem;
    text-align: center;
}

.search-result-date {
    font-size: 1.1rem;
    color: #9b59b6;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.search-result-time {
    font-size: 0.9rem;
    color: #bdc3c7;
    margin-bottom: 0.5rem;
}

.search-result-duration {
    font-size: 0.8rem;
    color: #95a5a6;
    background: rgba(155, 89, 182, 0.2);
    padding: 0.5rem;
    border-radius: 4px;
    margin-top: 0.5rem;
}

.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #0a0e27 0%, #16213e 50%, #0a0e27 100%);
    border-radius: 15px;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(52, 152, 219, 0.3);
    box-shadow: 
        0 0 20px rgba(52, 152, 219, 0.2),
        inset 0 0 30px rgba(52, 152, 219, 0.05),
        0 0 40px rgba(233, 69, 96, 0.1);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(52, 152, 219, 0.03) 2px,
            rgba(52, 152, 219, 0.03) 4px
        );
    pointer-events: none;
    animation: scanlines 8s linear infinite;
}

@keyframes scanlines {
    0% { transform: translateY(0); }
    100% { transform: translateY(10px); }
}

.hero h1 {
    font-size: 3.2rem;
    color: #e94560;
    margin-bottom: 1rem;
    font-weight: 900;
    text-shadow: 
        0 0 10px rgba(233, 69, 96, 0.8),
        0 0 20px rgba(233, 69, 96, 0.5),
        0 0 30px rgba(233, 69, 96, 0.3);
    letter-spacing: 2px;
    animation: glow-pulse 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes glow-pulse {
    0%, 100% { text-shadow: 0 0 10px rgba(233, 69, 96, 0.8), 0 0 20px rgba(233, 69, 96, 0.5), 0 0 30px rgba(233, 69, 96, 0.3); }
    50% { text-shadow: 0 0 15px rgba(233, 69, 96, 1), 0 0 30px rgba(233, 69, 96, 0.7), 0 0 50px rgba(233, 69, 96, 0.4); }
}

.hero p {
    font-size: 1.1rem;
    color: #bdc3c7;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    font-weight: 500;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(90deg, #e94560 0%, #ff5a7e 100%);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(233, 69, 96, 0.5);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
    box-shadow: 
        0 0 15px rgba(233, 69, 96, 0.4),
        inset 0 0 15px rgba(255, 255, 255, 0.1);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 0 25px rgba(233, 69, 96, 0.8),
        0 10px 25px rgba(233, 69, 96, 0.4),
        inset 0 0 15px rgba(255, 255, 255, 0.15);
    border-color: rgba(233, 69, 96, 0.8);
}

.btn-primary:active {
    transform: translateY(-1px);
}

/* ============================================================
   SECTION 8: RESPONSIVE DESIGN & MEDIA QUERIES
   ============================================================
   Tablet (768px) and mobile (480px) breakpoints for all components
*/
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0f3460;
        border-top: 2px solid #e94560;
    }

    nav.active {
        display: flex;
    }

    nav a {
        padding: 1rem 1.5rem;
        border-bottom: 1px solid rgba(233, 69, 96, 0.2);
    }

    nav a::after {
        display: none;
    }

    .timezone-selector {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .header-content {
        padding: 1rem;
    }

    .incentivos-container {
        grid-template-columns: 1fr;
    }

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

/* INFO PAGE */
.info-content {
    background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid #e94560;
}

.info-content h2 {
    color: #e94560;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.info-content p {
    color: #bdc3c7;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.info-content li {
    color: #bdc3c7;
    margin-left: 2rem;
    margin-bottom: 0.5rem;
}

.timezone-info {
    background: rgba(233, 69, 96, 0.1);
    padding: 1rem;
    border-left: 4px solid #e94560;
    margin: 1rem 0;
    border-radius: 5px;
}

.current-timezone {
    font-size: 0.95rem;
    color: #2ecc71;
    font-weight: bold;
}

/* ============================================================
   SECTION 6: FOOTER STYLING
   ============================================================
   Footer layout, links, responsive typography
*/
footer {
    background: linear-gradient(90deg, #0f3460 0%, #16213e 100%);
    border-top: 3px solid #e94560;
    margin-top: 4rem;
    padding: 2rem 0;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.5);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.footer-content > p {
    grid-column: 1 / -1;
    text-align: center;
    color: #bdc3c7;
    font-size: 0.95rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(233, 69, 96, 0.2);
    margin-top: 1rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-section h3 {
    color: #e94560;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.footer-section p {
    color: #bdc3c7;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-section a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #e94560;
}

/* RESPONSIVE FOOTER */
@media (max-width: 768px) {
    footer {
        padding: 1.5rem 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .footer-content > p {
        grid-column: 1;
        font-size: 0.85rem;
    }

    .footer-section h3 {
        font-size: 1rem;
    }

    .footer-section p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 1rem 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }

    .footer-content > p {
        font-size: 0.8rem;
    }

    .footer-section h3 {
        font-size: 0.95rem;
    }

    .footer-section p {
        font-size: 0.8rem;
    }
}

/* ============================================================
   SECTION 4: MUTANTS PAGE STYLING
   ============================================================
   Mutant creature cards grid, search/filter inputs, modal displays
*/
.mutants-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.mutant-card {
    background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
    border: 2px solid #3498db;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    position: relative;
    overflow: hidden;
}

.mutant-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.3), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}

/* ============================================================
   SECTION 5: RAID PREDICTOR PAGE STYLING
   ============================================================
   Raid tiles grid, raid prediction panels, countdown displays, details inline
*/
.raid-all-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.raid-tile {
    background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
    border: 2px solid rgba(155,89,182,0.6);
    padding: 0.9rem;
    border-radius: 10px;
    display: flex;
    gap: 0.8rem;
    align-items: center;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.raid-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(52,152,219,0.15);
    border-color: rgba(52,152,219,0.8);
}

.raid-tile img { width: 84px; height: 60px; object-fit: cover; border-radius: 6px; }
.raid-tile .tile-name { font-weight:700; color:#d6c9ff; }

.raid-details-rewards { margin-top:16px; }
.rewards-images { display:flex; gap:10px; flex-wrap:wrap; margin-top:8px; }
.reward-placeholder { width:84px; height:60px; background:rgba(52,152,219,0.06); border-radius:6px; display:flex; align-items:center; justify-content:center; color:#b9dfff; font-size:0.85rem; }

.mutant-card:hover::before {
    left: 100%;
}

.mutant-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: #3498db;
    box-shadow: 
        0 12px 30px rgba(52, 152, 219, 0.5),
        0 0 20px rgba(52, 152, 219, 0.4),
        inset 0 0 20px rgba(52, 152, 219, 0.1);
    background: linear-gradient(135deg, #1a2844 0%, #152a52 100%);
}

.mutant-image {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.1) 0%, rgba(52, 152, 219, 0.1) 100%);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.mutant-card:hover .mutant-image {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.25) 0%, rgba(52, 152, 219, 0.15) 100%);
    box-shadow: 
        0 0 20px rgba(52, 152, 219, 0.5),
        inset 0 0 15px rgba(52, 152, 219, 0.3);
}

.mutant-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.mutant-card:hover .mutant-image img {
    filter: brightness(1.3) drop-shadow(0 0 12px rgba(52, 152, 219, 0.7));
    transform: scale(1.1);
}

.mutant-image-fallback {
    font-size: 3rem;
}

.mutant-name {
    font-size: 0.95rem;
    font-weight: bold;
    color: #ecf0f1;
    word-break: break-word;
    transition: all 0.3s ease;
}

.mutant-card:hover .mutant-name {
    color: #3498db;
    text-shadow: 0 0 10px rgba(52, 152, 219, 0.6);
}

.mutant-specimen {
    font-size: 0.75rem;
    color: #95a5a6;
    transition: all 0.3s ease;
}

.mutant-card:hover .mutant-specimen {
    color: #3498db;
}

.mutant-type {
    display: inline-block;
    background: rgba(233, 69, 96, 0.2);
    color: #e94560;
    padding: 0.25rem 0.6rem;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mutant-card:hover .mutant-type {
    background: rgba(52, 152, 219, 0.4);
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.5);
    transform: scale(1.05);
}

/* RAID PREDICTOR STYLES - Cyberpunk genetic lab theme */
.raid-predictor-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.raid-current-container, .raid-predictions-container {
    background: linear-gradient(135deg, rgba(67,56,202,0.12), rgba(46,204,113,0.04));
    border: 1px solid rgba(155,89,182,0.12);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(75,0,130,0.06), inset 0 1px 0 rgba(255,255,255,0.02);
}

/* Larger preview for current raid */
.raid-current-card { display:flex; gap:1rem; align-items:stretch; padding:1rem; border-radius:12px; background: linear-gradient(135deg, rgba(67,56,202,0.08), rgba(10,10,20,0.2)); border:1px solid rgba(155,89,182,0.12); min-height:256px; }
.raid-current-card .raid-image { width:336px; height:100%; border-radius:10px; overflow:hidden; flex-shrink:0; }
.raid-current-card .raid-image img { width:100%; height:100%; object-fit:cover; filter: drop-shadow(0 6px 18px rgba(102,45,145,0.45)); }
.raid-current-card .raid-meta { color:#dcd2ff }
.raid-current-card .raid-name { font-size:1.6rem; color:#f3e8ff; font-weight:800 }
.raid-current-card .raid-type { color:#cfefff; margin-top:6px }

/* Raid modal specifics */
#raidModal .modal-content { background: linear-gradient(135deg, #0f1322 0%, #141428 100%); }
#raidModal .raid-details-header { display:flex; gap:1rem; align-items:flex-start; }
#raidModal .raid-details-image { width:360px; height:240px; border-radius:10px; overflow:hidden; border:1px solid rgba(155,89,182,0.12); }
#raidModal .raid-details-image img { width:100%; height:100%; object-fit:contain; }
#raidModal .raid-details-info { color:#dcd2ff }
#raidModal .raid-details-name { font-size:1.6rem; font-weight:800; color:#b9a3ff }


.raid-card {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(10,10,20,0.35), rgba(10,10,20,0.18));
    border: 1px solid rgba(52,152,219,0.12);
    box-shadow: 0 6px 20px rgba(79,84,255,0.06), 0 0 18px rgba(102,45,145,0.04);
}

.raid-card .raid-image {
    width: 120px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(52,152,219,0.08), rgba(155,89,182,0.06));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 18px rgba(102,45,145,0.12) inset;
}

.raid-card .raid-image img { width:100%; height:100%; object-fit:cover; filter: drop-shadow(0 0 10px rgba(102,45,145,0.5)); }

.raid-card .raid-meta { flex:1; }
.raid-card .raid-name { font-size: 1.25rem; color: #b9a3ff; font-weight: 700; }
.raid-card .raid-type { font-size: 0.85rem; color: #95a5a6; margin-top: 0.25rem; }
.raid-card .raid-start { font-size: 0.9rem; color: #9be7ff; margin-top: 0.5rem; }
.raid-extended { border-left: 4px solid #9b59b6; box-shadow: 0 6px 18px rgba(155,89,182,0.06); }

.raid-predictions-list { display: grid; gap: 0.8rem; }
.raid-prediction-item { padding: 0.8rem; border-radius: 8px; background: rgba(15,20,40,0.45); border:1px solid rgba(72,61,139,0.08); display:flex; justify-content:space-between; align-items:center; }
.raid-prediction-item .pred-left {display:flex; gap:0.8rem; align-items:center}
.raid-prediction-item .pred-right { text-align:right; color:#95a5a6; font-size:0.9rem}

.raid-tabs { display:flex; gap:0.6rem; margin-bottom:1rem; }
.raid-tab { background: linear-gradient(90deg,#2b2b5b, #1a142f); color:#cfc6ff; border:1px solid rgba(155,89,182,0.12); padding:0.6rem 1rem; border-radius:8px; cursor:pointer }
.raid-tab.active { box-shadow: 0 8px 30px rgba(155,89,182,0.08); border-color:#9b59b6; color:#fff }

.raid-all-list { display:grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.raid-tile { background: linear-gradient(135deg, rgba(52,152,219,0.03), rgba(155,89,182,0.03)); border:1px solid rgba(155,89,182,0.06); padding:0.8rem; border-radius:10px; display:flex; gap:0.6rem; align-items:center }
.raid-tile img { width:56px; height:56px; object-fit:cover; border-radius:8px; }
.raid-tile .tile-name { color:#b9a3ff; font-weight:700 }
.raid-tile.active { outline: 2px solid rgba(52,152,219,0.5); box-shadow: 0 12px 30px rgba(52,152,219,0.06); transform: translateY(-4px); }

.raid-details-panel { background: linear-gradient(135deg, #101227 0%, #141428 100%); border: 1px solid rgba(155,89,182,0.08); padding: 1rem; border-radius: 10px; }
.raid-details-header { display:flex; gap:1rem; align-items:flex-start; }
.raid-details-image { width:100%; height:auto; border-radius:8px; overflow:hidden; border:1px solid rgba(155,89,182,0.08); display:flex; align-items:flex-start; justify-content:center; background: rgba(0,0,0,0.04); }
.raid-details-image img { width:100%; height:auto; max-width:100%; max-height:80vh; object-fit:contain; display:block; }
.raid-details-info { color:#dcd2ff }
.raid-details-name { font-size:1.3rem; font-weight:800; color:#b9a3ff }

/* Raid details inline layout: main image (70%) + rewards/info (30%) */
.raid-details-inline { display: flex; gap: 1rem; align-items:flex-start; }
.raid-details-main { flex: 0 0 70%; display:flex; gap:1rem; align-items:flex-start; }
.raid-details-image { flex: 0 0 50%; }
.raid-details-info { flex: 1 1 auto; }
.raid-details-rewardcol { flex: 0 0 30%; display:flex; flex-direction:column; gap:0.8rem; }
.raid-details-rewardcol .rewards-images { display:flex; flex-direction:column; gap:8px; }
.reward-img { width:100%; height:auto; max-height:120px; object-fit:cover; border-radius:8px; cursor:pointer; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.reward-img:active, .reward-img:focus { transform: scale(1.02); }
.reward-label { color:#bdc3c7; font-size:0.9rem; }

@media (max-width: 900px) {
    .raid-details-inline { flex-direction: column; }
    .raid-details-main, .raid-details-rewardcol { flex: 1 1 100%; }
    .raid-details-main { flex-direction: column; }
    .raid-details-image { flex: none; width: 100%; }
    .raid-details-image img { width: 100%; max-height: 70vh; }
    .reward-img { max-height: 220px; }
}

/* Lightbox tweaks (reuse .modal/.modal-content) */
#imageLightbox .modal-content { background: linear-gradient(135deg, #0f1322 0%, #141428 100%); border:1px solid rgba(155,89,182,0.12); }
#imageLightbox .modal-close { color: #fff; position: absolute; top: 12px; right: 12px; font-size: 1.6rem; z-index: 3 }

.raid-history-list { display:flex; flex-direction:column; gap:0.6rem }
.history-item { padding:0.6rem; border-radius:8px; background:linear-gradient(180deg, rgba(0,0,0,0.28), rgba(0,0,0,0.18)); border:1px solid rgba(255,255,255,0.03); display:flex; justify-content:space-between; align-items:center }
.history-item .hleft {display:flex; gap:0.8rem; align-items:center}
.history-type-new { color:#2ecc71; font-weight:700 }
.history-type-repeat { color:#3498db; font-weight:700 }

@media (max-width: 900px) {
    .raid-predictor-top { grid-template-columns: 1fr; }
}

/* ============================================================
   SECTION 7: MODALS & LIGHTBOX
   ============================================================
   Modal overlays, content panels, close buttons, lightbox image viewer
*/
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-content {
    background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
    border: 2px solid #3498db;
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.mutant-details-modal {
    max-width: 1000px;
    width: 95%;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #e94560;
    cursor: pointer;
    transition: color 0.3s;
}

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

.mutant-details-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.mutant-details-image {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 10px;
    border: 2px solid #3498db;
    flex-shrink: 0;
}

.mutant-details-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.mutant-details-info {
    flex: 1;
    min-width: 250px;
}

.mutant-details-name {
    font-size: 1.8rem;
    font-weight: bold;
    color: #e94560;
    margin-bottom: 0.5rem;
}

.mutant-details-specimen {
    font-size: 1rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.mutant-stat-row {
    display: flex;
    justify-content: space-between;
    margin: 0.5rem 0;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mutant-stat-label {
    color: #95a5a6;
    font-weight: 500;
}

.mutant-stat-value {
    color: #2ecc71;
    font-weight: bold;
}

.stats-calculator-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.stats-calculator-section h3 {
    color: #3498db;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.calculator-input-group {
    margin: 1rem 0;
}

.calculator-input-group label {
    display: block;
    color: #bdc3c7;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.calculator-input-group input,
.calculator-input-group select {
    width: 100%;
    background: #16213e;
    color: #ecf0f1;
    border: 2px solid #3498db;
    padding: 0.8rem;
    border-radius: 5px;
    font-size: 0.95rem;
}

.calculator-input-group input:focus,
.calculator-input-group select:focus {
    outline: none;
    border-color: #e94560;
    box-shadow: 0 0 10px rgba(233, 69, 96, 0.3);
}

.calculator-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.calculator-button {
    background: linear-gradient(135deg, #e94560 0%, #ff5a7e 100%);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.calculator-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(233, 69, 96, 0.4);
}

.calculator-results {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(46, 204, 113, 0.1);
    border: 2px solid #2ecc71;
    border-radius: 10px;
    display: none;
}

.calculator-results.show {
    display: block;
}

.calculator-results h4 {
    color: #2ecc71;
    margin-bottom: 1rem;
}

.result-row {
    display: flex;
    justify-content: space-between;
    margin: 0.8rem 0;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(46, 204, 113, 0.3);
}

.result-label {
    color: #bdc3c7;
}

.result-value {
    color: #2ecc71;
    font-weight: bold;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .mutants-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .mutant-details-modal {
        width: 95%;
    }

    .mutant-details-header {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .mutant-details-image {
        width: 150px;
        height: 150px;
    }

    .calculator-inputs {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .mutants-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .mutant-card {
        padding: 1rem;
    }

    .mutant-image {
        height: 100px;
    }

    .mutant-name {
        font-size: 0.95rem;
    }
}

/* ============================================================
   SECTION: COMPARE STATS
   ============================================================
   Styles for the comparison functionality
*/

.compare-selector {
    transition: all 0.3s ease;
}

.compare-selector:hover {
    border-color: #e94560 !important;
    box-shadow: 0 0 15px rgba(233, 69, 96, 0.3);
}

#compareResultsContainer {
    animation: fadeIn 0.3s ease-in;
}

/* Search dropdown styles */
#mutantSearchInput, [id^="mutantSearch"] {
    transition: border-color 0.2s ease;
}

#mutantSearchInput:focus, [id^="mutantSearch"]:focus {
    outline: none;
    border-color: #e94560 !important;
    box-shadow: 0 0 10px rgba(233, 69, 96, 0.3);
}

[id^="mutantDropdown"] > div {
    transition: background 0.15s ease;
}

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

@media (max-width: 1200px) {
    #compareSelectorsContainer {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    #compareSelectorsContainer {
        grid-template-columns: 1fr !important;
    }
    
    #compareResultsContainer {
        overflow-x: auto;
    }
}
