:root {
    --dark-blue: #0a192f;
    --primary-blue: #0055A4;
    --light-blue: #e6f0fa;
    --white: #ffffff;
    --text-dark: #333333;
    --text-gray: #666666;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f4f7f6;
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.top-header {
    width: 100%;
    background-color: #030811;
    color: var(--white);
    text-align: center;
    padding: 30px 15px 40px 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.video-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
    width: 100%;
}

.video-wrapper iframe {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(36, 139, 251, 0.3);
}

.top-header h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.top-header .subtitle {
    font-size: 18px;
    color: #4da6ff;
    font-weight: 500;
    letter-spacing: 1px;
}

.main-content {
    background-color: var(--white);
    max-width: 900px;
    width: 95%;
    margin: -20px auto 40px auto;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 10;
}

.countdown-section {
    margin-bottom: 30px;
}

.countdown-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--light-blue);
    border: 2px solid #cce0f5;
    border-radius: 12px;
    padding: 20px;
    min-width: 110px;
    box-shadow: 0 4px 10px rgba(0, 85, 164, 0.05);
}

.time-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.time-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #4a6b8c;
    font-weight: 700;
}

.divider {
    border: 0;
    height: 1px;
    background: #e0e0e0;
    margin: 30px 0;
}

.view-container {
    position: relative;
    min-height: 350px;
}

.view {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.view.active {
    display: block;
}

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

#calendar-view h3 {
    text-align: center;
    font-size: 20px;
    color: var(--primary-blue);
    margin-bottom: 25px;
}

.calendar-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.day-card {
    background: var(--white);
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    width: 150px;
    padding: 20px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.day-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 85, 164, 0.15);
}

.day-card .date {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.day-card .countdown-text {
    font-size: 13px;
    font-weight: 700;
    color: #d32f2f;
    background: #ffeeee;
    padding: 5px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.day-card .click-hint {
    font-size: 11px;
    color: var(--text-gray);
    text-transform: uppercase;
}

.back-button {
    background: transparent;
    border: none;
    color: var(--primary-blue);
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background 0.3s;
}

.back-button:hover {
    background: var(--light-blue);
}

.detail-content {
    background: var(--light-blue);
    padding: 40px;
    border-radius: 12px;
    border-left: 5px solid var(--primary-blue);
    text-align: left;
}

.detail-date {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 10px;
}

.detail-title {
    font-size: 28px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.detail-text {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Plakát stílus az aloldalon */
.detail-poster {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 25px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 600px) {
    .top-header h1 { font-size: 20px; }
    .top-header .subtitle { font-size: 15px; }
    .main-content { padding: 20px 15px; margin-top: -10px; width: 98%; }
    .time-box { min-width: 75px; padding: 15px; }
    .time-number { font-size: 32px; }
    .time-label { font-size: 11px; }
    .day-card { width: 130px; padding: 15px 5px; }
    .day-card .date { font-size: 14px; }
    .detail-content { padding: 25px; }
    .detail-title { font-size: 22px; }
    .detail-text { font-size: 16px; }
}
