.container {
    max-width: 1320px;
    padding: 68px 24px 78px;
}

.hero {
    padding: clamp(32px, 5vw, 56px);
    background:
        linear-gradient(145deg, rgba(11, 24, 43, 0.76), rgba(22, 47, 80, 0.64) 52%, rgba(45, 84, 124, 0.54) 100%),
        radial-gradient(circle at top right, rgba(247, 221, 172, 0.18), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 38px;
    box-shadow: 0 38px 96px rgba(12, 21, 39, 0.24);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    text-align: center;
    animation: fadeInUp 0.75s ease-out forwards;
}

[data-theme="dark"] .hero {
    background:
        linear-gradient(145deg, rgba(6, 14, 25, 0.84), rgba(10, 24, 41, 0.78) 52%, rgba(18, 42, 67, 0.7) 100%),
        radial-gradient(circle at top right, rgba(240, 186, 105, 0.12), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 38px 96px rgba(0, 0, 0, 0.34);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 16% 18%, rgba(247, 221, 172, 0.16), transparent 18%),
        radial-gradient(circle at 84% 22%, rgba(147, 205, 251, 0.16), transparent 22%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 34%);
    pointer-events: none;
}

[data-theme="dark"] .hero::before {
    background:
        radial-gradient(circle at 16% 18%, rgba(240, 186, 105, 0.12), transparent 18%),
        radial-gradient(circle at 84% 22%, rgba(141, 196, 240, 0.12), transparent 22%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 34%);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto auto -28% 50%;
    width: min(70vw, 680px);
    height: 220px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(106, 167, 215, 0.18), transparent 68%);
    filter: blur(18px);
    pointer-events: none;
}

[data-theme="dark"] .hero::after {
    background: radial-gradient(circle, rgba(88, 155, 219, 0.14), transparent 68%);
}

.hero-copy {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.92);
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    color: #f7d88a;
    letter-spacing: 0.17em;
    margin-bottom: 24px;
}

[data-theme="dark"] .kicker {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #f0ba69;
}

h1 {
    margin-bottom: 22px;
}

.title-lead {
    display: block;
    margin-bottom: 0.45em;
    color: rgba(236, 242, 250, 0.78);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.title-main {
    display: block;
    color: #ffffff;
    background: none;
    background-clip: border-box;
    -webkit-background-clip: border-box;
    -webkit-text-fill-color: currentColor;
    text-shadow: 0 14px 40px rgba(7, 15, 29, 0.22);
    letter-spacing: -0.02em;
    line-height: 1.02;
    animation: none;
    max-width: none;
    margin: 0 auto;
    white-space: nowrap;
    font-size: clamp(1.5rem, 5.4vw, 4.35rem);
}

.title-subline {
    display: block;
    margin: 0.4rem auto 0;
    max-width: none;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(0.96rem, 3.35vw, 1.95rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: 0.01em;
    color: rgba(236, 242, 250, 0.84);
    white-space: nowrap;
}

.subtitle {
    max-width: 38rem;
    margin: 0 0 28px;
    color: rgba(231, 239, 247, 0.82);
    font-size: 1.14rem;
    text-align: center;
}

.feature-pills {
    justify-content: center;
    gap: 12px;
}

.feature-pill {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    box-shadow: 0 18px 34px rgba(7, 15, 29, 0.12);
}

.feature-pill i {
    color: #f5cb7c;
}

[data-theme="dark"] .feature-pill {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #eef5ff;
}

[data-theme="dark"] .feature-pill i {
    color: #f0ba69;
}

.hero-image-shell {
    position: relative;
    padding: 18px;
    border-radius: 32px;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 34px 80px rgba(8, 16, 30, 0.32);
}

[data-theme="dark"] .hero-image-shell {
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.42);
}

.hero-image-shell::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.exhibition-image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 26px 60px rgba(4, 10, 22, 0.24);
}

.exhibition-image:hover {
    transform: scale(1.015) translateY(-2px);
}

.image-caption {
    bottom: 24px;
    left: 24px;
    transform: none;
    border-radius: 999px;
    background: rgba(7, 18, 33, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

[data-theme="dark"] .image-caption {
    background: rgba(6, 14, 25, 0.76);
    border-color: rgba(255, 255, 255, 0.08);
    color: rgba(238, 245, 255, 0.82);
}

.content-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 28px;
    margin: 44px 0 68px;
    align-items: stretch;
}

.text-section,
.image-section {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(244, 248, 252, 0.6)),
        radial-gradient(circle at top right, rgba(243, 215, 161, 0.2), transparent 22%);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-md);
}

[data-theme="dark"] .text-section,
[data-theme="dark"] .image-section {
    background:
        linear-gradient(145deg, rgba(9, 19, 31, 0.82), rgba(12, 25, 40, 0.72)),
        radial-gradient(circle at top right, rgba(240, 186, 105, 0.08), transparent 22%);
    border-color: rgba(255, 255, 255, 0.08);
}

.text-section {
    padding: 38px;
    border-left: none;
    position: relative;
    overflow: hidden;
}

.text-section::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: linear-gradient(180deg, var(--accent), var(--primary-light));
}

.text-section p {
    color: var(--text-secondary);
    font-size: 1.04rem;
}

.text-section p:first-child {
    font-size: 1.18rem;
    color: var(--text-primary);
}

.highlight {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: rgba(216, 164, 79, 0.5);
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.16em;
}

.image-section {
    padding: 18px;
    overflow: hidden;
}

.image-section .hero-image-shell {
    height: 100%;
}

.section-title {
    position: relative;
    margin-bottom: 36px;
    font-size: clamp(2rem, 4vw, 3rem);
    text-wrap: balance;
}

[data-theme="dark"] .section-title {
    color: #f2f7ff;
    text-shadow: 0 8px 24px rgba(3, 8, 18, 0.45);
}

.section-title::before,
.section-title::after {
    content: "";
    position: absolute;
    top: 50%;
    width: min(18vw, 160px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(216, 164, 79, 0.8));
}

[data-theme="dark"] .section-title::before,
[data-theme="dark"] .section-title::after {
    background: linear-gradient(90deg, transparent, rgba(240, 186, 105, 0.88), rgba(141, 196, 240, 0.46));
}

.section-title::before {
    left: 8%;
}

.section-title::after {
    right: 8%;
    transform: scaleX(-1);
}

.buttons-section {
    gap: 22px;
    margin-bottom: 42px;
}

.button {
    align-items: flex-start;
    text-align: left;
    padding: 28px 24px 26px;
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(244, 248, 252, 0.64)),
        radial-gradient(circle at top right, rgba(243, 215, 161, 0.16), transparent 24%);
    border: 1px solid rgba(255, 255, 255, 0.48);
    box-shadow: var(--shadow-md);
}

[data-theme="dark"] .button {
    background:
        linear-gradient(145deg, rgba(9, 19, 31, 0.84), rgba(13, 25, 40, 0.74)),
        radial-gradient(circle at top right, rgba(240, 186, 105, 0.08), transparent 24%);
    border-color: rgba(255, 255, 255, 0.08);
}

.button::before {
    left: 24px;
    right: 24px;
    top: 18px;
    height: 4px;
    border-radius: 999px;
}

.button::after {
    position: absolute;
    right: 22px;
    top: 20px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    line-height: 1;
    opacity: 0.14;
    color: var(--primary);
}

.button-1::after { content: "01"; }
.button-2::after { content: "02"; }
.button-3::after { content: "03"; }
.button-4::after { content: "04"; }
.button-5::after { content: "05"; }

.button:hover {
    transform: translateY(-10px) rotateX(1deg);
    border-color: rgba(216, 164, 79, 0.28);
}

.button-icon {
    width: 62px;
    height: 62px;
    margin-bottom: 18px;
    border-radius: 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.button-title {
    margin-bottom: 10px;
    font-size: 1.45rem;
}

.button-desc {
    font-size: 0.94rem;
}

.games-overview-button {
    min-height: 58px;
    padding: 0 30px;
    background: linear-gradient(135deg, #173b68 0%, #2d6ea6 52%, #78add8 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 24px 54px rgba(18, 61, 114, 0.22);
}

.games-overview-button:hover {
    transform: translateY(-4px) scale(1.01);
}

@media (max-width: 1100px) {
    .buttons-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 800px) {
    .hero {
        padding: 20px;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .image-section {
        order: 0;
    }

    .kicker {
        letter-spacing: 0.12em;
        font-size: 0.72rem;
    }

    .title-main {
        line-height: 1.04;
        font-size: clamp(1.25rem, 5.6vw, 2.2rem);
    }

    .title-subline {
        margin-top: 0.5rem;
        font-size: clamp(0.88rem, 3.9vw, 1.3rem);
    }

    .section-title::before,
    .section-title::after {
        display: none;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 34px 16px 56px;
    }

    .text-section {
        padding: 28px 24px;
    }

    .image-section {
        padding: 12px;
    }

    .buttons-section {
        grid-template-columns: 1fr;
    }
}
