body {
    font-family: Arial, sans-serif;
    background-color: var(--primary-bg-color, black);
    color: var(--primary-text-color, white);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px;
}

h1 {
    color: var(--primary-text-color, white);
    text-align: center;
    margin-bottom: 10px;
    font-size: 2.5em;
}

.description {
    text-align: center;
    color: var(--secondary-text-color, #999);
    margin-bottom: 30px;
    font-size: 1.1em;
}

/* Info Banner */
.info-banner {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 20px;
    background: var(--input-bg-color, #1a1a1a);
    border: 2px solid var(--input-border-color, darkred);
    border-radius: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.info-label {
    color: var(--secondary-text-color, #999);
    font-size: 0.9em;
    text-transform: uppercase;
}

.info-value {
    color: var(--header-bg-color, darkred);
    font-weight: bold;
    font-size: 1.1em;
}

/* Helltides Grid */
.helltides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.helltide-card {
    background: var(--input-bg-color, #1a1a1a);
    border: 2px solid var(--input-border-color, darkred);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.helltide-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--input-shadow, 0 0 15px rgba(255, 0, 0, 0.5));
}

.helltide-card.active {
    background: linear-gradient(135deg, #8b0000 0%, #5a0000 100%);
    border-color: var(--button-hover-bg-color, red);
    box-shadow: var(--input-shadow, 0 0 20px rgba(255, 0, 0, 0.7));
}

.helltide-card.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, red, transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.card-icon {
    font-size: 2em;
}

.card-title {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-text-color, white);
}

.helltide-card.active .card-title {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
}

.status-badge {
    background: var(--button-bg-color, darkred);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: bold;
    text-transform: uppercase;
}

.helltide-card.active .status-badge {
    background: #ff0000;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.countdown-large {
    text-align: center;
    margin: 20px 0;
}

.time-display {
    font-size: 3em;
    font-weight: 700;
    color: #d4af37;
    font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.helltide-card.active .time-display {
    color: #d4af37;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
}

.time-label {
    color: var(--secondary-text-color, #999);
    font-size: 0.9em;
    margin-top: 5px;
}

.spawn-time {
    text-align: center;
    color: var(--secondary-text-color, #999);
    font-size: 0.85em;
    margin-top: 10px;
}

/* Zone Info */
.zone-info {
    background: var(--input-bg-color, #1a1a1a);
    border: 2px solid var(--input-border-color, darkred);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.zone-info h2 {
    color: var(--primary-text-color, white);
    margin-bottom: 20px;
    text-align: center;
}

.zones-list {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.zone-badge {
    background: var(--input-bg-color, #000);
    border: 2px solid var(--input-border-color, darkred);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s;
}

.zone-badge:hover {
    border-color: var(--button-hover-bg-color, red);
    transform: scale(1.05);
}

.zone-note {
    text-align: center;
    color: var(--secondary-text-color, #999);
    font-size: 0.9em;
    line-height: 1.6;
}

/* Tips Section */
.tips-section {
    margin-bottom: 30px;
}

.tips-section h2 {
    color: var(--primary-text-color, white);
    text-align: center;
    margin-bottom: 20px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.tip-card {
    background: var(--input-bg-color, #1a1a1a);
    border: 2px solid var(--input-border-color, darkred);
    border-radius: 10px;
    padding: 20px;
}

.tip-card h3 {
    color: var(--header-bg-color, darkred);
    margin-bottom: 10px;
    font-size: 1.1em;
}

.tip-card p {
    color: var(--secondary-text-color, #999);
    line-height: 1.6;
    font-size: 0.95em;
}

/* Resources */
.resources {
    background: var(--input-bg-color, #1a1a1a);
    border: 2px solid var(--input-border-color, darkred);
    border-radius: 12px;
    padding: 25px;
}

.resources h3 {
    color: var(--primary-text-color, white);
    text-align: center;
    margin-bottom: 20px;
}

.resource-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.resource-link {
    background: var(--button-bg-color, darkred);
    color: var(--button-text-color, white);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.resource-link:hover {
    background: var(--button-hover-bg-color, red);
}

/* Light Theme */
[data-theme="light"] h1,
[data-theme="light"] .zone-info h2,
[data-theme="light"] .tips-section h2,
[data-theme="light"] .resources h3 {
    color: var(--primary-text-color) !important;
}

[data-theme="light"] .helltide-card,
[data-theme="light"] .info-banner,
[data-theme="light"] .zone-info,
[data-theme="light"] .tip-card,
[data-theme="light"] .resources {
    background: white;
}

[data-theme="light"] .zone-badge {
    background: #f8f9fa;
}

/* Toggle Button */
.toggle-container {
    text-align: center;
    margin: 30px 0;
}

.toggle-btn {
    background: var(--button-bg-color, darkred);
    color: #d4af37;
    border: 2px solid #d4af37;
    padding: 12px 40px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

.toggle-btn:hover {
    background: var(--button-hover-bg-color, red);
    border-color: #fff;
    color: #fff;
    transform: scale(1.05);
}

.helltide-card.hidden {
    display: none;
}

/* Zone Icon */
.zone-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    border: 2px solid #d4af37;
}

.zone-icon svg {
    width: 24px;
    height: 24px;
    fill: #d4af37;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    h1 {
        font-size: 1.8em;
    }

    .info-banner {
        gap: 15px;
    }

    .helltides-grid {
        grid-template-columns: 1fr;
    }

    .time-display {
        font-size: 2.5em;
    }

    .tips-grid {
        grid-template-columns: 1fr;
    }
}
