@import url('../variables.css');

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Share+Tech+Mono:wght@400&display=swap');

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

body {
    font-family: var(--font-mono);
    line-height: 1.6;
    color: var(--color-accent);
    background: var(--color-background);
    background-image:
        radial-gradient(circle at 25% 25%, #1a1a2e 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, #16213e 0%, transparent 50%),
        linear-gradient(45deg, #0f1419 0%, var(--color-background) 100%);
    background-attachment: fixed;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(0deg,
            transparent,
            transparent 3px,
            rgba(160, 231, 229, 0.015) 3px,
            rgba(160, 231, 229, 0.015) 4px);
    pointer-events: none;
    z-index: 1;
}

a {
    text-decoration: none;
}

a:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* ===== HERO SECTION ===== */
.hero {
    background:
        linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%),
        radial-gradient(circle at top left, rgba(58, 134, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at bottom right, rgba(131, 56, 236, 0.2) 0%, transparent 50%);
    color: #ffffff;
    text-align: center;
    padding: 0 0 30px 0;
    min-height: 40vh;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-family: var(--font-header);
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow:
        0 0 3px #8338ec,
        0 0 6px #8338ec;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-banner {
    width: 100%;
    max-width: 1800px;
    height: auto;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-family: var(--font-mono);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #7fb3d3;
    text-shadow: 0 0 3px #7fb3d3;
    font-weight: 400;
    letter-spacing: 0.05em;
    display: none;
}

.hero-description {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    color: #e0e0e0;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.3);
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.header-cat {
    width: 120px;
    display: block;
    margin: 0 auto 1em;
}

/* ===== CALL TO ACTION BUTTON ===== */
.cta-button {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-text-light) !important;
    padding: calc(var(--spacing-lg) + 2px) calc(var(--spacing-xl) + 8px);
    font-size: var(--font-size-xl);
    font-weight: 700;
    font-family: var(--font-header);
    text-decoration: none;
    border: 1px solid var(--color-primary-dark);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-button), var(--shadow-inset);
    transition: all var(--transition-medium);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
}

.cta-button:hover,
.cta-button:focus {
    background: var(--color-primary-light);
    color: var(--color-text-light) !important;
    transform: translateY(-3px);
    box-shadow: var(--shadow-button-hover), var(--shadow-inset-hover);
    border-color: var(--color-primary-light);
}

.cta-button:active {
    transform: translateY(-1px);
}

.cta-button-subtitle {
    font-size: 0.75em;
}

.cta-button-container {
    text-align: center;
    margin-top: var(--spacing-xl);
}

/* ===== SECTION STYLING ===== */
.section {
    padding: 30px 0 60px 0;
    position: relative;
}

.section h2 {
    text-align: center;
    font-family: var(--font-header);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ===== THEME CLASSES ===== */
.theme-green {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a2e1a 50%, #0f1919 100%);
}

.theme-orange {
    background: linear-gradient(135deg, #2e1a0a 0%, #3d2014 50%, #1a0f07 100%);
}

.theme-blue {
    background: linear-gradient(135deg, #1a1a2e 0%, #2a1e3e 50%, #1a0f3d 100%);
}

.theme-cyan {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f2860 50%, #0a0a1a 100%);
}

.theme-red {
    background: linear-gradient(45deg, #1a0f0f 0%, #2e1a1a 50%, #190a0a 100%);
}

.theme-purple {
    background: linear-gradient(135deg, #1a0a1a 0%, #2e1a2e 50%, #190f19 100%);
}

/* Theme section headers (h2) */
.theme-green h2 {
    color: var(--theme-green);
    text-shadow: 0 0 3px var(--theme-green), 0 0 6px var(--theme-green);
}

.theme-orange h2 {
    color: var(--theme-orange);
    text-shadow: 0 0 3px var(--theme-orange), 0 0 6px var(--theme-orange);
}

.theme-blue h2 {
    color: var(--theme-blue);
    text-shadow: 0 0 3px var(--theme-blue), 0 0 6px var(--theme-blue);
}

.theme-cyan h2 {
    color: var(--theme-cyan);
    text-shadow: 0 0 3px var(--theme-cyan), 0 0 6px var(--theme-cyan);
}

.theme-red h2 {
    color: var(--theme-red);
    text-shadow: 0 0 3px var(--theme-red), 0 0 6px var(--theme-red);
}

.theme-purple h2 {
    color: var(--theme-purple);
    text-shadow: 0 0 3px var(--theme-purple), 0 0 6px var(--theme-purple);
}

/* ===== LAYOUT CLASSES ===== */
.grid-1 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    max-width: 1000px;
    margin: 0 auto;
}

.grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.grid-sponsor {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-xl);
    align-items: center;
    justify-items: center;
}

/* ===== CARD COMPONENTS ===== */
.card {
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-light), var(--shadow-inset);
    transition: all var(--transition-medium);
    border-radius: var(--radius-md);
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover), var(--shadow-inset-hover);
}

.card-lg {
    padding: var(--spacing-xl);
}

.card-md {
    padding: var(--spacing-lg);
}

.card-sm {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 120px;
    justify-content: center;
}

.text-header {
    font-family: var(--font-header);
    font-size: var(--font-size-lg);
    letter-spacing: 0.02em;
    margin-bottom: var(--spacing-sm);
    transition: all var(--transition-medium);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.text-header-lg {
    font-family: var(--font-header);
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-lg);
    text-align: center;
    letter-spacing: 0.05em;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    width: auto;
    transition: all var(--transition-medium);
}

.card-green {
    background:
        linear-gradient(135deg, rgba(107, 142, 107, 0.1) 0%, rgba(139, 195, 139, 0.1) 100%),
        rgba(0, 0, 0, 0.7);
    border: 1px solid var(--theme-green-border);
}

.card-orange {
    background:
        linear-gradient(135deg, rgba(212, 163, 115, 0.1) 0%, rgba(233, 196, 106, 0.1) 100%),
        rgba(0, 0, 0, 0.7);
    border: 1px solid var(--theme-orange-border);
}

.card-cyan {
    background:
        linear-gradient(135deg, rgba(100, 181, 246, 0.1) 0%, rgba(127, 179, 211, 0.1) 100%),
        rgba(0, 0, 0, 0.7);
    border: 1px solid var(--theme-cyan-border);
}

.card-purple {
    background:
        linear-gradient(135deg, rgba(149, 117, 176, 0.1) 0%, rgba(186, 156, 213, 0.1) 100%),
        rgba(0, 0, 0, 0.7);
    border: 1px solid var(--theme-purple);
}

.card-red {
    background:
        linear-gradient(135deg, rgba(181, 125, 125, 0.1) 0%, rgba(212, 164, 164, 0.1) 100%),
        rgba(0, 0, 0, 0.7);
    border: 1px solid var(--theme-red-border);
}

.card-blue {
    background:
        linear-gradient(135deg, rgba(124, 142, 247, 0.1) 0%, rgba(155, 181, 255, 0.08) 100%),
        var(--color-surface);
    border: 1px solid var(--theme-blue-border);
}

.card-green .text-header-lg {
    color: var(--theme-green);
    text-shadow: 0 0 3px var(--theme-green);
}

.card-orange .text-header-lg {
    color: var(--theme-orange);
    text-shadow: 0 0 3px var(--theme-orange);
}

.card-cyan .text-header-lg {
    color: var(--theme-cyan);
    text-shadow: 0 0 3px var(--theme-cyan);
}

.card-purple .text-header-lg {
    color: var(--theme-purple);
    text-shadow: 0 0 3px var(--theme-purple);
}

.card-red .text-header-lg {
    color: var(--theme-red);
    text-shadow: 0 0 3px var(--theme-red);
}

.card-blue .text-header-lg {
    color: var(--theme-blue);
    text-shadow: 0 0 3px var(--theme-blue);
}

.description {
    text-align: center;
    font-size: var(--font-size-xl);
    max-width: 800px;
    margin: 0 auto var(--spacing-xxl);
    line-height: 1.8;
    color: var(--color-text);
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.3);
    font-family: var(--font-body);
}

.description a {
    color: var(--color-accent);
    text-decoration: underline;
    transition: color var(--transition-medium);
}

.description a:hover {
    color: var(--color-primary-light);
}

.description-wide {
    text-align: center;
    font-size: var(--font-size-xl);
    max-width: 1000px;
    margin: 0 auto var(--spacing-xxl);
    line-height: 1.8;
    color: var(--color-text);
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.3);
    font-family: var(--font-body);
}

.description-compact {
    color: var(--color-text);
    line-height: 1.8;
    font-size: var(--font-size-lg);
    font-family: var(--font-body);
}

.card-icon {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

.media-lg {
    width: 150px;
    opacity: 0.9;
    height: auto;
}

.media-lg.animated {
    display: block;
    margin: 0 auto var(--spacing-md);
}

.media-sm {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* ===== SCHEDULE SECTION ===== */
.list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .3rem;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(212, 163, 115, 0.2);
}

.list-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.list-item-left {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--theme-orange);
    font-size: 1.1rem;
    min-width: 80px;
}

.list-item-right {
    font-family: var(--font-body);
    color: var(--color-text);
    font-size: 1.1rem;
    text-align: right;
    flex: 1;
}

.subsection {
    margin-top: 4rem;
    text-align: center;
}

.subsection-header {
    font-family: var(--font-header);
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.theme-green .subsection-header {
    color: var(--theme-green);
    text-shadow: 0 0 3px var(--theme-green);
}

.theme-orange .subsection-header {
    color: var(--theme-orange);
    text-shadow: 0 0 3px var(--theme-orange);
}

.theme-blue .subsection-header {
    color: var(--theme-blue);
    text-shadow: 0 0 3px var(--theme-blue);
}

.theme-cyan .subsection-header {
    color: var(--theme-cyan);
    text-shadow: 0 0 3px var(--theme-cyan);
}

.theme-red .subsection-header {
    color: var(--theme-red);
    text-shadow: 0 0 3px var(--theme-red);
}

.theme-purple .subsection-header {
    color: var(--theme-purple);
    text-shadow: 0 0 3px var(--theme-purple);
}

/* Utility classes */
.text-italic {
    font-style: italic;
}

.text-uppercase {
    text-transform: uppercase;
}

.text-center {
    text-align: center;
}

.text-subtitle {
    font-family: var(--font-body);
    color: #e0e0e0;
    font-size: 1rem;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.container-centered {
    max-width: 600px;
    margin: 0 auto;
}

.container-centered-lg {
    max-width: 800px;
    margin: 0 auto;
}

.section-spacing {
    margin-top: var(--spacing-xxl);
}

.logo-container {
    text-align: center;
    margin: var(--spacing-xxl) 0 var(--spacing-xl) 0;
}

.logo-image {
    max-width: min(600px, 80vw);
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.theme-green .text-header,
.theme-green .text-header-lg {
    color: var(--theme-green);
    text-shadow: 0 0 3px var(--theme-green);
}

.theme-orange .text-header,
.theme-orange .text-header-lg {
    color: var(--theme-orange);
    text-shadow: 0 0 3px var(--theme-orange);
}

.theme-blue .text-header,
.theme-blue .text-header-lg {
    color: var(--theme-blue);
    text-shadow: 0 0 3px var(--theme-blue);
}

.theme-cyan .text-header,
.theme-cyan .text-header-lg {
    color: var(--theme-cyan);
    text-shadow: 0 0 3px var(--theme-cyan);
}

.theme-red .text-header,
.theme-red .text-header-lg {
    color: var(--theme-red);
    text-shadow: 0 0 3px var(--theme-red);
}

.theme-purple .text-header,
.theme-purple .text-header-lg {
    color: var(--theme-purple);
    text-shadow: 0 0 3px var(--theme-purple);
}

.theme-green p {
    color: var(--theme-green);
}

.theme-orange p {
    color: var(--theme-orange);
}

.theme-blue p {
    color: var(--theme-blue);
}

.theme-cyan p {
    color: var(--theme-cyan);
}

.theme-red p {
    color: var(--theme-red);
}

.theme-purple p {
    color: var(--theme-purple);
}

.theme-green a {
    color: var(--theme-green);
}

.theme-orange a {
    color: var(--theme-orange);
}

.theme-blue a {
    color: var(--theme-blue);
}

.theme-cyan a {
    color: var(--theme-cyan);
}

.theme-red a {
    color: var(--theme-red);
}

.theme-purple a {
    color: var(--theme-purple);
}

.theme-green .list-item-left {
    color: var(--theme-green);
}

.theme-orange .list-item-left {
    color: var(--theme-orange);
}

.theme-blue .list-item-left {
    color: var(--theme-blue);
}

.theme-cyan .list-item-left {
    color: var(--theme-cyan);
}

.theme-red .list-item-left {
    color: var(--theme-red);
}

.theme-purple .list-item-left {
    color: var(--theme-purple);
}

/* ===== GAMES SECTION ===== */

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    justify-items: center;
}

.game-card {
    background:
        linear-gradient(135deg, rgba(124, 142, 247, 0.1) 0%, rgba(155, 181, 255, 0.08) 100%),
        rgba(10, 10, 20, 0.85);
    border: 1px solid #8f99c8;
    box-shadow:
        0 4px 12px rgba(124, 142, 247, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.game-screenshot-container {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #2a2a4e 100%);
}

.game-screenshot-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            transparent 0%,
            transparent 70%,
            rgba(10, 10, 20, 0.8) 100%);
    pointer-events: none;
}

.game-screenshot {
    width: 100%;
    height: 140px;
    object-fit: cover;
    object-position: top;
}

.game-content {
    padding: 0.9rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.game-content h3 {
    font-family: var(--font-header);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #b8c7ff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-shadow: 0 0 3px rgba(184, 199, 255, 0.3);
    line-height: 1.2;
    font-weight: 700;
}

.game-description {
    color: #d0d0d0;
    line-height: 1.6;
    font-size: 0.85rem;
    font-family: var(--font-body);
    margin-bottom: 0.8rem;
}

.game-authors {
    margin-bottom: 0.6rem;
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    position: relative;
    justify-content: center;
}

.authors-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    align-items: center;
    justify-content: center;
}

.author-link,
.authors-list>.author-name {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    padding: 0.2rem 0.3rem;
    background: rgba(124, 142, 247, 0.12);
    border: 1px solid rgba(124, 142, 247, 0.25);
    transition: all 0.3s ease;
    font-size: 0.7rem;
}

.author-link:hover {
    transform: translateY(-2px);
    box-shadow:
        0 3px 6px rgba(124, 142, 247, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.author-link .author-name,
.authors-list>.author-name {
    font-family: var(--font-body);
    color: #b8c7ff;
    font-weight: 600;
}

.author-link .author-name {
    margin-right: 0.3rem;
}

.authors-list>.author-name {
    margin-right: 0;
}

.author-social {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: #e0e0e0;
    opacity: 0.8;
    font-weight: 500;
}

.author-link:hover .author-name {
    color: #d4e2ff;
}

.author-link:hover .author-social {
    opacity: 1;
    color: #f0f0f0;
}

.game-links {
    margin-top: auto;
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.7rem;
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: center;
}

.game-link {
    color: #d4e2ff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.2rem 0.4rem;
    background: rgba(124, 142, 247, 0.15);
    border: 1px solid rgba(124, 142, 247, 0.4);
    display: inline-flex;
    align-items: center;
}

.game-link:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow:
        0 3px 8px rgba(124, 142, 247, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.badge-text {
    display: inline-block;
    color: #e8a323;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-body);
    letter-spacing: 0.03em;
}

.winning-badge {
    text-align: center;
}

.badge-text-content {
    font-style: italic;
}

/* ===== VENUE SECTION ===== */
.venue-info {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border: 1px solid #b57d7d;
    box-shadow:
        0 4px 12px rgba(181, 125, 125, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.venue-info h3 {
    font-family: var(--font-header);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #d4a4a4;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.venue-info h3 a {
    color: #d4a4a4;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 1rem 2rem;
    border: 1px solid #b57d7d;
    background:
        linear-gradient(135deg, rgba(181, 125, 125, 0.1) 0%, rgba(212, 164, 164, 0.1) 100%),
        rgba(0, 0, 0, 0.7);
    box-shadow:
        0 4px 12px rgba(181, 125, 125, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.venue-info h3 a:hover {
    color: #f4c4c4;
    transform: translateY(-3px);
    box-shadow:
        0 8px 24px rgba(181, 125, 125, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.venue-info p {
    font-size: 1.3rem;
    color: #e0e0e0;
    margin-bottom: 1rem;
    font-family: var(--font-body);
}

/* ===== SPONSORS SECTION ===== */
.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
}

.sponsor-link {
    text-decoration: none;
    display: block;
    width: 100%;
    max-width: 280px;
}

.sponsor-link .card {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

/* ===== FOOTER ===== */
footer {
    background:
        linear-gradient(135deg, #0f1419 0%, #0a0a0a 100%),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(160, 231, 229, 0.05) 2px, rgba(160, 231, 229, 0.05) 4px);
    color: #a0e7e5;
    padding: 40px 0;
    text-align: center;
    border-top: 2px solid #5d737e;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #5d737e, #64b5f6, #7fb3d3, #5d737e);
}

footer p {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    letter-spacing: 0.02em;
}

footer a {
    color: #a0e7e5;
    text-decoration: none;
    border-bottom: 1px dashed #a0e7e5;
    transition: all 0.3s ease;
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 0 0 45px 0;
    }

    .hero-title {
        font-size: 4rem;
        margin-bottom: 1.2rem;
    }

    .hero-banner {
        margin-bottom: 1.2rem;
    }

    .hero-subtitle {
        font-size: 1.6rem;
        margin-bottom: 1.8rem;
    }

    .hero-description {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .section {
        padding: 45px 0;
    }

    .section h2 {
        font-size: 3rem;
        margin-bottom: 2rem;
    }

    .card-lg,
    .venue-info {
        padding: 1.8rem;
    }

    .card-md {
        padding: 1.3rem;
    }

    .card-sm {
        padding: 0.8rem;
        min-height: 100px;
    }

    .grid-2,
    .grid-3 {
        gap: 1.8rem;
    }

    .sponsor-link .card {
        min-height: 130px;
    }

    .sponsors-grid {
        gap: 1.8rem;
    }

    .media-lg {
        width: 120px;
    }

    .media-lg.animated {
        width: 130px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-banner {
        content: url("img/wikigamejam.png");
        max-width: 320px;
        margin-bottom: 1rem;
        padding: 30px 15px 0 15px;
    }

    .hero-subtitle {
        font-size: 1.4rem;
        display: block;
    }

    .hero-description {
        font-size: 1.1rem;
        flex-direction: column;
        text-align: center;
    }

    .section-header {
        flex-direction: column;
        gap: 1rem;
    }

    .media-lg {
        width: 80px;
        height: 80px;
    }

    .media-lg.animated {
        width: 120px;
    }

    .hero {
        padding: 0 0 40px 0;
    }

    .section h2 {
        font-size: 2.8rem;
        margin-bottom: 2rem;
    }

    .section {
        padding: 40px 0;
    }

    .about-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .grid-3 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .list-item-left {
        font-size: 1rem;
        min-width: 70px;
    }

    .list-item-right {
        font-size: 1rem;
    }

    .subsection {
        margin-top: 3rem;
    }

    .subsection-header {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .grid-auto {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.2rem;
    }

    .sponsors-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 2rem;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 0.8rem;
    }

    .game-screenshot {
        height: 100px;
    }

    .game-content {
        padding: 0.7rem;
    }

    .game-content h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .author-link,
    .authors-list>.author-name {
        font-size: 0.65rem;
    }

    .card-lg,
    .venue-info {
        padding: 1.8rem;
    }

    .card-md {
        padding: 1.2rem;
    }

    .card-sm {
        padding: 0.7rem;
        min-height: 90px;
    }

    .sponsor-link .card {
        padding: 1.5rem;
    }

    footer {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-banner {
        margin-bottom: 1rem;
    }

    .media-lg {
        width: 70px;
        height: 70px;
    }

    .media-lg.animated {
        width: 100px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-button {
        padding: 16px 32px;
        font-size: 1.1rem;
    }

    .card-lg,
    .venue-info {
        padding: 1.2rem;
    }

    .card-md {
        padding: 1rem;
    }

    .card-sm {
        padding: 0.6rem;
        min-height: 80px;
    }

    .list-item-left,
    .list-item-right {
        font-size: 0.9rem;
    }

    .list-item-left {
        min-width: 60px;
    }

    .subsection {
        margin-top: 2rem;
    }

    .subsection-header {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .grid-auto {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .text-header {
        font-size: 1.1rem;
    }

    .text-subtitle {
        font-size: 0.9rem;
    }

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

    .game-screenshot {
        height: 90px;
    }

    .game-content {
        padding: 0.7rem;
    }

    .game-content h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .game-description {
        font-size: 0.75rem;
        margin-bottom: 0.7rem;
    }

    .game-links {
        flex-direction: row;
        gap: 0.3rem;
        margin-bottom: 0.5rem;
    }

    .game-link {
        font-size: 0.7rem;
        justify-content: center;
    }

    .badge-text {
        font-size: 0.7rem;
    }

    .author-link,
    .authors-list>.author-name {
        font-size: 0.6rem;
    }

    .game-authors {
        margin-bottom: 0.5rem;
        gap: 0.25rem;
    }

    .section h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .venue-info h3 {
        font-size: 1.8rem;
    }

    .venue-info h3 a {
        padding: 0.8rem 1.5rem;
        font-size: 1.8rem;
    }

    .card .text-header-lg {
        font-size: 1.4rem;
    }

    .hero,
    .section {
        padding: 40px 0;
    }

    .hero {
        padding-top: 0;
    }

    footer {
        padding: 30px 0;
    }
}