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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background: linear-gradient(135deg, #1a1612 0%, #2d2418 25%, #1f1a14 50%, #2a241c 75%, #1a1612 100%);
    color: #d4af37;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* Atmospheric background effects */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(139, 69, 19, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(70, 130, 180, 0.08) 0%, transparent 50%);
    pointer-events: none;
    animation: atmosphericShift 20s ease-in-out infinite;
}

body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.05) 2px,
            rgba(0, 0, 0, 0.05) 4px
        );
    pointer-events: none;
    opacity: 0.3;
}

@keyframes atmosphericShift {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.background-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

/* Cannon smoke effects (naval warfare) */
.cannon-smoke {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(100, 100, 100, 0.15) 0%, transparent 70%);
    filter: blur(40px);
    animation: smokeRise 8s ease-in-out infinite;
}

.smoke-left {
    bottom: -100px;
    left: -50px;
    animation-delay: 0s;
}

.smoke-right {
    bottom: -100px;
    right: -50px;
    animation-delay: 4s;
}

@keyframes smokeRise {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-400px) scale(1.5);
        opacity: 0;
    }
}

.container {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 60px 50px;
    background: linear-gradient(145deg, rgba(40, 35, 28, 0.95), rgba(30, 25, 20, 0.95));
    border: 3px solid;
    border-image: linear-gradient(135deg, #8b7355, #d4af37, #4682b4, #8b7355) 1;
    box-shadow:
        0 0 40px rgba(212, 175, 55, 0.3),
        0 0 80px rgba(70, 130, 180, 0.2),
        inset 0 0 60px rgba(0, 0, 0, 0.5),
        inset 0 2px 1px rgba(255, 255, 255, 0.1);
    position: relative;
    max-width: 1100px;
}

/* Tactical corners (ARMA 3 style) */
.tactical-corners .corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid #d4af37;
}

.tactical-corners .corner.top-left {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
}

.tactical-corners .corner.top-right {
    top: 10px;
    right: 10px;
    border-left: none;
    border-bottom: none;
}

.tactical-corners .corner.bottom-left {
    bottom: 10px;
    left: 10px;
    border-right: none;
    border-top: none;
}

.tactical-corners .corner.bottom-right {
    bottom: 10px;
    right: 10px;
    border-left: none;
    border-top: none;
}

/* Title section with medieval/battle theme */
.title-wrapper {
    position: relative;
    margin-bottom: 30px;
}

.shield-emblem {
    width: 80px;
    height: 90px;
    margin: 0 auto 20px;
    background: linear-gradient(145deg, #6b5742, #4a3f32);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    border: 2px solid #d4af37;
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.5),
        inset 0 2px 4px rgba(212, 175, 55, 0.3);
    position: relative;
}

.shield-emblem::after {
    content: '⚔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: #d4af37;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
}

.title {
    font-size: 4.5rem;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    color: #d4af37;
    letter-spacing: 12px;
    text-shadow:
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(212, 175, 55, 0.6),
        0 0 40px rgba(212, 175, 55, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-family: 'Georgia', serif;
    animation: titleGlow 3s ease-in-out infinite;
}

.title-main {
    font-size: 4.5rem;
    background: linear-gradient(180deg, #f4e4c1, #d4af37, #8b7355);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-year {
    font-size: 2.5rem;
    color: #4682b4;
    letter-spacing: 8px;
    text-shadow:
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 0 15px rgba(70, 130, 180, 0.8);
}

@keyframes titleGlow {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 10px rgba(212, 175, 55, 0.6));
    }
    50% {
        filter: brightness(1.2) drop-shadow(0 0 20px rgba(212, 175, 55, 0.8));
    }
}

/* Crossed swords decoration (Mordhau) */
.crossed-swords {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.15;
}

.sword {
    position: absolute;
    width: 200px;
    height: 6px;
    background: linear-gradient(90deg, #4a4a4a, #888888, #4a4a4a);
    top: 50%;
}

.sword::before {
    content: '';
    position: absolute;
    left: -30px;
    top: -10px;
    width: 30px;
    height: 26px;
    background: linear-gradient(145deg, #6b6b6b, #4a4a4a);
    border-radius: 2px;
}

.sword-left {
    left: 10%;
    transform: rotate(-45deg);
}

.sword-right {
    right: 10%;
    transform: rotate(45deg);
}

/* Games banner */
.games-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.game-tag {
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 2px;
    border: 2px solid;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    font-family: 'Courier New', monospace;
    transition: all 0.3s ease;
}

.game-tag.naval {
    background: linear-gradient(135deg, rgba(70, 130, 180, 0.3), rgba(30, 80, 120, 0.3));
    border-color: #4682b4;
    color: #87ceeb;
}

.game-tag.medieval {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.3), rgba(101, 67, 33, 0.3));
    border-color: #8b4513;
    color: #cd853f;
}

.game-tag.tactical {
    background: linear-gradient(135deg, rgba(85, 107, 47, 0.3), rgba(60, 80, 30, 0.3));
    border-color: #556b2f;
    color: #9acd32;
}

.game-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.separator-dot {
    color: #d4af37;
    font-size: 1.5rem;
    opacity: 0.6;
}

/* Countdown section */
.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin: 50px 0;
    flex-wrap: nowrap;
}

.countdown-box {
    background: linear-gradient(145deg, rgba(20, 18, 15, 0.9), rgba(35, 30, 25, 0.9));
    border: 2px solid #8b7355;
    padding: 25px 35px;
    min-width: 140px;
    position: relative;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.6),
        inset 0 0 20px rgba(212, 175, 55, 0.1),
        0 0 30px rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
    clip-path: polygon(
        10px 0, calc(100% - 10px) 0, 100% 10px,
        100% calc(100% - 10px), calc(100% - 10px) 100%,
        10px 100%, 0 calc(100% - 10px), 0 10px
    );
}

.countdown-box::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    pointer-events: none;
    clip-path: polygon(
        8px 0, calc(100% - 8px) 0, 100% 8px,
        100% calc(100% - 8px), calc(100% - 8px) 100%,
        8px 100%, 0 calc(100% - 8px), 0 8px
    );
}

.countdown-box:hover {
    transform: translateY(-8px);
    border-color: #d4af37;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.8),
        inset 0 0 30px rgba(212, 175, 55, 0.2),
        0 0 50px rgba(212, 175, 55, 0.4);
}

.tactical-line {
    position: absolute;
    bottom: 8px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #4682b4, transparent);
    opacity: 0.6;
}

.time-value {
    font-size: 4.5rem;
    font-weight: bold;
    background: linear-gradient(180deg, #f4e4c1, #d4af37, #8b7355);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.8);
    font-family: 'Georgia', serif;
    line-height: 1;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

.time-label {
    font-size: 0.85rem;
    color: #d4af37;
    margin-top: 12px;
    letter-spacing: 3px;
    opacity: 0.9;
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

.separator {
    font-size: 4rem;
    color: #8b7355;
    font-weight: bold;
    animation: separatorPulse 2s ease-in-out infinite;
    text-shadow: 0 0 15px rgba(139, 115, 85, 0.6);
}

@keyframes separatorPulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Event info */
.event-info {
    margin-top: 50px;
}

.event-date {
    font-size: 1.6rem;
    color: #d4af37;
    margin-bottom: 20px;
    letter-spacing: 3px;
    font-family: 'Georgia', serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.date-icon {
    font-size: 1.8rem;
    animation: iconRotate 4s linear infinite;
    display: inline-block;
}

@keyframes iconRotate {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

.tagline {
    font-size: 1.4rem;
    color: #cd853f;
    letter-spacing: 5px;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    animation: battlePulse 2.5s ease-in-out infinite;
    text-shadow:
        0 0 10px rgba(205, 133, 63, 0.8),
        0 2px 4px rgba(0, 0, 0, 0.8);
    border: 2px solid #8b4513;
    padding: 10px 30px;
    display: inline-block;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.2), rgba(101, 67, 33, 0.2));
}

@keyframes battlePulse {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Battle elements */
.battle-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.anchor {
    position: absolute;
    font-size: 3rem;
    color: #4682b4;
    opacity: 0.3;
    text-shadow: 0 0 20px rgba(70, 130, 180, 0.6);
    animation: anchorSway 4s ease-in-out infinite;
}

.anchor-left {
    bottom: 20px;
    left: 30px;
}

.anchor-right {
    bottom: 20px;
    right: 30px;
    animation-delay: 2s;
}

@keyframes anchorSway {
    0%, 100% {
        transform: rotate(-5deg) translateY(0);
    }
    50% {
        transform: rotate(5deg) translateY(-10px);
    }
}

/* Responsive design */
@media (max-width: 1024px) {
    .container {
        padding: 50px 40px;
        max-width: 900px;
    }

    .title-main {
        font-size: 3.5rem;
    }

    .title-year {
        font-size: 2rem;
    }

    .countdown-box {
        min-width: 120px;
        padding: 20px 28px;
    }

    .time-value {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 40px 30px;
    }

    .title-main {
        font-size: 2.5rem;
        letter-spacing: 6px;
    }

    .title-year {
        font-size: 1.5rem;
        letter-spacing: 4px;
    }

    .shield-emblem {
        width: 60px;
        height: 70px;
    }

    .shield-emblem::after {
        font-size: 1.5rem;
    }

    .games-banner {
        gap: 10px;
    }

    .game-tag {
        font-size: 0.75rem;
        padding: 6px 15px;
        letter-spacing: 1px;
    }

    .countdown-container {
        gap: 8px;
    }

    .countdown-box {
        min-width: 70px;
        padding: 12px 8px;
    }

    .time-value {
        font-size: 2rem;
    }

    .time-label {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }

    .separator {
        font-size: 1.8rem;
    }

    .event-date {
        font-size: 1.2rem;
        letter-spacing: 2px;
        flex-direction: row;
        gap: 10px;
        flex-wrap: wrap;
    }

    .date-icon {
        font-size: 1.4rem;
    }

    .tagline {
        font-size: 1rem;
        letter-spacing: 3px;
        padding: 8px 20px;
    }

    .anchor {
        font-size: 2rem;
    }

    .sword {
        width: 120px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 30px 10px;
    }

    .title-main {
        font-size: 2rem;
        letter-spacing: 4px;
    }

    .title-year {
        font-size: 1.2rem;
        letter-spacing: 3px;
    }

    .game-tag {
        font-size: 0.65rem;
        padding: 5px 12px;
    }

    .separator-dot {
        font-size: 1rem;
    }

    .countdown-container {
        gap: 4px;
    }

    .countdown-box {
        min-width: 60px;
        padding: 10px 5px;
    }

    .time-value {
        font-size: 1.6rem;
    }

    .time-label {
        font-size: 0.55rem;
        margin-top: 6px;
        letter-spacing: 0.5px;
    }

    .separator {
        font-size: 1.5rem;
    }

    .tagline {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }
}
