body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url(assets/background.png);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    max-width: 300px;
    height: auto;
    margin-bottom: 10px;
}

h1 {
    font-size: 2.5em;
    margin: 10px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    color: #ffd700;
}

.reset-info {
    font-size: 1.1em;
    color: #fff;
    margin: 10px 0;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    margin: 5px 0;
    appearance: none;
}

.progress-bar::-webkit-progress-bar {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

.progress-bar::-webkit-progress-value {
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 5px;
}

.progress-bar::-moz-progress-bar {
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 5px;
}

.data-buttons {
    display: flex;
    gap: 10px;
    margin: 10px 0;
}

.data-btn {
    padding: 8px 16px;
    background: linear-gradient(135deg, #6c757d, #495057);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.data-btn:hover {
    background: linear-gradient(135deg, #495057, #343a40);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.stat-item {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-weight: bold;
    color: #ffd700;
}

.stat-value {
    color: #fff;
    font-weight: bold;
}

#timer {
    font-size: 1.3em;
    color: #ffd700;
    margin: 10px 0;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    text-align: center;
    background: rgba(0, 0, 0, 0.85);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.tab {
    padding: 12px 24px;
    background: linear-gradient(135deg, #6c757d, #495057);
    border: none;
    cursor: pointer;
    margin: 5px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: bold;
    color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.tab:hover {
    background: linear-gradient(135deg, #495057, #343a40);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.tab.active {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.section {
    display: none;
    background: rgba(0, 0, 0, 0.85);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.section.active {
    display: block;
}

.counter {
    font-size: 1.5em;
    color: #ffd700;
    margin-bottom: 15px;
    text-align: center;
    font-weight: bold;
}

.quest {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    margin: 6px 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.quest:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.zone {
    flex: 1;
    font-weight: bold;
    color: #fff;
    font-size: 0.8em;
}

.requirement {
    flex: 2;
    color: #fff;
    font-size: 0.9em;
}

.quest-link {
    margin-right: 10px;
    text-decoration: none;
    font-size: 16px;
    color: #007bff;
}

.quest-link:hover {
    color: #0056b3;
}

.checkbox {
    flex: 0 0 20px;
    pointer-events: none;
    transform: scale(1.2);
}

.completed {
    background: rgba(0, 255, 0, 0.3);
    border: 1px solid #28a745;
}

.completed .zone {
    color: #d4edda;
}

.completed .requirement {
    color: #c3e6cb;
}

.location-group.completed {
    background: rgba(0, 255, 0, 0.2);
    border: 2px solid #28a745;
    border-radius: 10px;
}

.location-group.completed .location-header {
    color: #d4edda;
}

/* Zone Cards */
#zones-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.zone-card {
    background: rgba(0, 0, 0, 0.85);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.zone-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
}

.zone-card h3 {
    margin: 0 0 15px 0;
    color: #ffd700;
    font-size: 1.5em;
    text-align: center;
}

.zone-counter {
    font-size: 1.2em;
    color: #fff;
    text-align: center;
    margin-bottom: 10px;
}

.zone-progress {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    margin-bottom: 15px;
    appearance: none;
}

.zone-progress::-webkit-progress-bar {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

.zone-progress::-webkit-progress-value {
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 5px;
}

.zone-progress::-moz-progress-bar {
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 5px;
}

.quests-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    overflow-y: auto;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, rgba(20, 20, 40, 0.95), rgba(40, 40, 60, 0.95));
    margin: 5% auto;
    padding: 0;
    border: 3px solid #ffd700;
    width: 90%;
    max-width: 700px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 215, 0, 0.3);
    position: relative;
}

.close {
    color: #ffd700;
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
}

.close:hover,
.close:focus {
    color: #fff;
    transform: scale(1.2);
    text-shadow: 0 0 10px #ffd700;
}

#modal-title {
    color: #ffd700;
    margin: 0;
    padding: 20px;
    font-size: 1.8em;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px 12px 0 0;
}

#modal-image {
    max-width: 100%;
    height: auto;
    border-radius: 0 0 12px 12px;
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    h1 {
        font-size: 2em;
    }

    #zones-container {
        grid-template-columns: 1fr;
    }

    .zone-card {
        padding: 15px;
    }

    .quest {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    .zone, .requirement {
        margin-bottom: 5px;
    }

    .modal-content {
        width: 90%;
        margin: 20% auto;
    }
}
