@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: #ffd1dc;
    background: #0d0a14;
    background-image:
        radial-gradient(circle at 20% 30%, #2d1b3d 0%, transparent 60%),
        radial-gradient(circle at 80% 70%, #3d2414 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, #1a0f1f 0%, transparent 70%),
        linear-gradient(135deg, #0d0514 0%, #0d0a14 50%, #140a0d 100%);
    background-attachment: fixed;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(90deg,
            transparent,
            transparent 40px,
            rgba(255, 111, 199, 0.02) 40px,
            rgba(255, 111, 199, 0.02) 41px),
        repeating-linear-gradient(0deg,
            transparent,
            transparent 40px,
            rgba(255, 184, 77, 0.02) 40px,
            rgba(255, 184, 77, 0.02) 41px);
    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(180deg, #402fc1 0%, #402fc1 80%, #000000 100%),
        radial-gradient(circle at top left, rgba(64, 47, 193, 0.4) 0%, transparent 60%),
        radial-gradient(circle at bottom right, rgba(64, 47, 193, 0.3) 0%, transparent 60%),
        radial-gradient(circle at center, rgba(64, 47, 193, 0.2) 0%, transparent 70%);
    color: #ffffff;
    text-align: center;
    padding: 0 0 30px 0;
    min-height: 40vh;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at top, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at bottom, rgba(255, 107, 147, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.hero-title {
    font-family: var(--font-header);
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow:
        0 0 10px rgba(255, 107, 147, 0.6),
        0 0 15px rgba(186, 85, 211, 0.4);
    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: #ffb84d;
    text-shadow: 0 0 6px rgba(255, 184, 77, 0.5);
    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: #ffd1dc;
    text-shadow: 0 0 3px rgba(255, 107, 147, 0.4);
    font-family: var(--font-body);
}

.hero-description a {
    color: #ba55d3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hero-description a:hover {
    color: #da70d6;
}

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

/* ===== CALL TO ACTION BUTTON ===== */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #8a2be2 0%, #9370db 100%);
    color: #ffffff !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 #8a2be2;
    border-radius: var(--radius-md);
    box-shadow:
        0 4px 12px rgba(138, 43, 226, 0.3),
        0 0 20px rgba(138, 43, 226, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all var(--transition-medium);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.cta-button:hover,
.cta-button:focus {
    background: linear-gradient(135deg, #9370db 0%, #ba9cd9 100%);
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow:
        0 6px 16px rgba(138, 43, 226, 0.4),
        0 0 30px rgba(147, 112, 219, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: #9370db;
}

.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-lime {
    background: linear-gradient(135deg, #0a1a08 0%, #14280a 50%, #082014 100%);
    position: relative;
}

.theme-lime::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(45deg, transparent, transparent 60px, rgba(50, 205, 50, 0.03) 60px, rgba(50, 205, 50, 0.03) 61px);
    pointer-events: none;
}

.theme-pink {
    background: linear-gradient(135deg, #2d0820 0%, #3d1028 50%, #2d0a1c 100%);
    position: relative;
}

.theme-pink::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 20, 147, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.theme-gold {
    background: linear-gradient(135deg, #2d1c08 0%, #3d2808 50%, #281808 100%);
    position: relative;
}

.theme-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 140, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.theme-cyan {
    background: linear-gradient(135deg, #081c2d 0%, #0a2438 50%, #051420 100%);
    position: relative;
}

.theme-cyan::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(0deg, transparent, transparent 80px, rgba(0, 255, 255, 0.02) 80px, rgba(0, 255, 255, 0.02) 81px);
    pointer-events: none;
}

.theme-orange {
    background: linear-gradient(135deg, #2d1808 0%, #3d2410 50%, #2d1408 100%);
    box-shadow: inset 0 0 100px rgba(255, 140, 0, 0.05);
}

.theme-purple {
    background: linear-gradient(135deg, #1d0828 0%, #280a3d 50%, #1d0a28 100%);
    position: relative;
}

.theme-purple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(138, 43, 226, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(75, 0, 130, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* Theme section headers (h2) */
.theme-lime h2 {
    color: #6BFD6B;
    text-shadow: 0 0 8px rgba(107, 253, 107, 0.6), 0 0 12px rgba(107, 253, 107, 0.3);
}

.theme-pink h2 {
    color: #FF69B4;
    text-shadow: 0 0 8px rgba(255, 105, 180, 0.6), 0 0 12px rgba(255, 105, 180, 0.3);
}

.theme-gold h2 {
    color: #FFD700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.6), 0 0 12px rgba(255, 170, 0, 0.3);
}

.theme-cyan h2 {
    color: #79FEFF;
    text-shadow: 0 0 8px rgba(121, 254, 255, 0.6), 0 0 12px rgba(121, 254, 255, 0.3);
}

.theme-orange h2 {
    color: #FF9A40;
    text-shadow: 0 0 8px rgba(255, 154, 64, 0.6), 0 0 12px rgba(255, 154, 64, 0.3);
}

.theme-purple h2 {
    color: #A45BFF;
    text-shadow: 0 0 8px rgba(164, 91, 255, 0.6), 0 0 12px rgba(164, 91, 255, 0.3);
}

/* ===== 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-lime {
    background:
        linear-gradient(135deg, rgba(107, 253, 107, 0.15) 0%, rgba(107, 253, 107, 0.08) 100%),
        rgba(5, 10, 5, 0.9);
    border: 2px solid #6BFD6B;
    box-shadow: 0 0 20px rgba(107, 253, 107, 0.2), inset 0 0 30px rgba(107, 253, 107, 0.05);
}

.card-pink {
    background:
        linear-gradient(135deg, rgba(255, 105, 180, 0.15) 0%, rgba(255, 105, 180, 0.08) 100%),
        rgba(15, 5, 10, 0.9);
    border: 2px solid #FF69B4;
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.25), inset 0 0 30px rgba(255, 105, 180, 0.05);
}

.card-gold {
    background:
        linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 170, 0, 0.08) 100%),
        rgba(15, 10, 5, 0.9);
    border: 2px solid #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2), inset 0 0 30px rgba(255, 215, 0, 0.05);
}

.card-cyan {
    background:
        linear-gradient(135deg, rgba(121, 254, 255, 0.15) 0%, rgba(121, 254, 255, 0.08) 100%),
        rgba(5, 10, 15, 0.9);
    border: 2px solid #79FEFF;
    box-shadow: 0 0 20px rgba(121, 254, 255, 0.2), inset 0 0 30px rgba(121, 254, 255, 0.05);
}

.card-orange {
    background:
        linear-gradient(135deg, rgba(255, 154, 64, 0.15) 0%, rgba(255, 154, 64, 0.08) 100%),
        rgba(15, 8, 5, 0.9);
    border: 2px solid #FF9A40;
    box-shadow: 0 0 20px rgba(255, 154, 64, 0.2), inset 0 0 30px rgba(255, 154, 64, 0.05);
}

.card-purple {
    background:
        linear-gradient(135deg, rgba(164, 91, 255, 0.15) 0%, rgba(164, 91, 255, 0.08) 100%),
        rgba(10, 5, 15, 0.9);
    border: 2px solid #A45BFF;
    box-shadow: 0 0 20px rgba(164, 91, 255, 0.2), inset 0 0 30px rgba(164, 91, 255, 0.05);
}

.card-lime .text-header-lg {
    color: #6BFD6B;
    text-shadow: 0 0 6px rgba(107, 253, 107, 0.5), 0 0 10px rgba(107, 253, 107, 0.25);
}

.card-pink .text-header-lg {
    color: #FF69B4;
    text-shadow: 0 0 6px rgba(255, 105, 180, 0.5), 0 0 10px rgba(255, 105, 180, 0.25);
}

.card-gold .text-header-lg {
    color: #FFD700;
    text-shadow: 0 0 6px rgba(255, 215, 0, 0.5), 0 0 10px rgba(255, 170, 0, 0.25);
}

.card-cyan .text-header-lg {
    color: #79FEFF;
    text-shadow: 0 0 6px rgba(121, 254, 255, 0.5), 0 0 10px rgba(121, 254, 255, 0.25);
}

.card-orange .text-header-lg {
    color: #FF9A40;
    text-shadow: 0 0 6px rgba(255, 154, 64, 0.5), 0 0 10px rgba(255, 154, 64, 0.25);
}

.card-purple .text-header-lg {
    color: #A45BFF;
    text-shadow: 0 0 6px rgba(164, 91, 255, 0.5), 0 0 10px rgba(164, 91, 255, 0.25);
}

.description {
    text-align: center;
    font-size: var(--font-size-xl);
    max-width: 800px;
    margin: 0 auto var(--spacing-xxl);
    line-height: 1.8;
    color: #ffd1dc;
    text-shadow: 0 0 3px rgba(255, 107, 147, 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: #ffd1dc;
    text-shadow: 0 0 3px rgba(255, 107, 147, 0.3);
    font-family: var(--font-body);
}

.description-compact {
    color: #ffd1dc;
    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: #ffb84d;
    font-size: 1.1rem;
    min-width: 80px;
}

.list-item-right {
    font-family: var(--font-body);
    color: #ffd1dc;
    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-lime .subsection-header {
    color: #6BFD6B;
    text-shadow: 0 0 6px rgba(107, 253, 107, 0.5), 0 0 10px rgba(107, 253, 107, 0.25);
}

.theme-pink .subsection-header {
    color: #FF69B4;
    text-shadow: 0 0 6px rgba(255, 105, 180, 0.5), 0 0 10px rgba(255, 105, 180, 0.25);
}

.theme-gold .subsection-header {
    color: #FFD700;
    text-shadow: 0 0 6px rgba(255, 215, 0, 0.5), 0 0 10px rgba(255, 170, 0, 0.25);
}

.theme-cyan .subsection-header {
    color: #79FEFF;
    text-shadow: 0 0 6px rgba(121, 254, 255, 0.5), 0 0 10px rgba(121, 254, 255, 0.25);
}

.theme-orange .subsection-header {
    color: #FF9A40;
    text-shadow: 0 0 6px rgba(255, 154, 64, 0.5), 0 0 10px rgba(255, 154, 64, 0.25);
}

.theme-purple .subsection-header {
    color: #A45BFF;
    text-shadow: 0 0 6px rgba(164, 91, 255, 0.5), 0 0 10px rgba(164, 91, 255, 0.25);
}

/* 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: #ffd1dc;
    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-lime .text-header,
.theme-lime .text-header-lg {
    color: #6BFD6B;
    text-shadow: 0 0 6px rgba(107, 253, 107, 0.5), 0 0 10px rgba(107, 253, 107, 0.25);
}

.theme-pink .text-header,
.theme-pink .text-header-lg {
    color: #FF69B4;
    text-shadow: 0 0 6px rgba(255, 105, 180, 0.5), 0 0 10px rgba(255, 105, 180, 0.25);
}

.theme-gold .text-header,
.theme-gold .text-header-lg {
    color: #FFD700;
    text-shadow: 0 0 6px rgba(255, 215, 0, 0.5), 0 0 10px rgba(255, 170, 0, 0.25);
}

.theme-cyan .text-header,
.theme-cyan .text-header-lg {
    color: #79FEFF;
    text-shadow: 0 0 6px rgba(121, 254, 255, 0.5), 0 0 10px rgba(121, 254, 255, 0.25);
}

.theme-orange .text-header,
.theme-orange .text-header-lg {
    color: #FF9A40;
    text-shadow: 0 0 6px rgba(255, 154, 64, 0.5), 0 0 10px rgba(255, 154, 64, 0.25);
}

.theme-purple .text-header,
.theme-purple .text-header-lg {
    color: #A45BFF;
    text-shadow: 0 0 6px rgba(164, 91, 255, 0.5), 0 0 10px rgba(164, 91, 255, 0.25);
}

.theme-lime p {
    color: #A8FFA8;
}

.theme-pink p {
    color: #FFB6DA;
}

.theme-gold p {
    color: #FFDDAA;
}

.theme-cyan p {
    color: #A6FEFF;
}

.theme-orange p {
    color: #FFC8A4;
}

.theme-purple p {
    color: #D0B0FF;
}

.theme-lime a {
    color: #6BFD6B;
}

.theme-pink a {
    color: #FF69B4;
}

.theme-gold a {
    color: #FFD700;
}

.theme-cyan a {
    color: #79FEFF;
}

.theme-orange a {
    color: #FF9A40;
}

.theme-purple a {
    color: #A45BFF;
}

.theme-lime .list-item-left {
    color: #6BFD6B;
}

.theme-pink .list-item-left {
    color: #FF69B4;
}

.theme-gold .list-item-left {
    color: #FFD700;
}

.theme-cyan .list-item-left {
    color: #79FEFF;
}

.theme-orange .list-item-left {
    color: #FF9A40;
}

.theme-purple .list-item-left {
    color: #A45BFF;
}

/* ===== REGISTER BUTTON ===== */
.grid-3 .card {
    display: flex;
    flex-direction: column;
}

.card-register-btn {
    text-align: center;
    margin-top: auto;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 105, 180, 0.25);
}

.btn-register {
    display: inline-block;
    padding: 0.4rem 1rem;
    font-family: var(--font-header);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-medium);
    cursor: pointer;
    background: rgba(255, 105, 180, 0.15);
    color: #FF69B4 !important;
    border: 1px solid rgba(255, 105, 180, 0.5);
    box-shadow: 0 2px 6px rgba(255, 105, 180, 0.15);
    white-space: nowrap;
}

.btn-register:hover,
.btn-register:focus {
    background: rgba(255, 105, 180, 0.25);
    color: #ffaacc !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 105, 180, 0.25);
    border-color: rgba(255, 105, 180, 0.7);
}

.btn-register:active {
    transform: translateY(0);
}

/* ===== 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(255, 215, 0, 0.12) 0%, rgba(255, 140, 0, 0.08) 100%),
        rgba(15, 10, 5, 0.92);
    border: 2px solid #ffd700;
    box-shadow:
        0 4px 12px rgba(255, 215, 0, 0.25),
        0 0 25px rgba(255, 215, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.game-screenshot-container {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #2d1c08 0%, #3d2808 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: #ffd700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.4), 0 0 8px rgba(255, 140, 0, 0.2);
    line-height: 1.2;
    font-weight: 700;
}

.game-description {
    color: #ffd1dc;
    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(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.35);
    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: #ffd700;
    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: #ffaa00;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.2rem 0.4rem;
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.45);
    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: #ff8c00;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-body);
    letter-spacing: 0.03em;
    text-shadow: 0 0 5px rgba(255, 140, 0, 0.6);
}

.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(5, 10, 15, 0.7);
    padding: 2rem;
    border: 2px solid #00ffff;
    box-shadow:
        0 4px 12px rgba(0, 255, 255, 0.25),
        0 0 25px rgba(0, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

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

.venue-info h3 a {
    color: #00ffff;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 1rem 2rem;
    border: 2px solid #00ced1;
    background:
        linear-gradient(135deg, rgba(0, 255, 255, 0.15) 0%, rgba(0, 206, 209, 0.1) 100%),
        rgba(5, 10, 15, 0.85);
    box-shadow:
        0 4px 12px rgba(0, 255, 255, 0.25),
        0 0 20px rgba(0, 255, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.venue-info h3 a:hover {
    color: #7fffd4;
    transform: translateY(-3px);
    box-shadow:
        0 8px 24px rgba(0, 255, 255, 0.35),
        0 0 35px rgba(0, 255, 255, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.venue-info p {
    font-size: 1.3rem;
    color: #00ced1;
    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;
}

.grid-sponsor .card-md:has(svg) {
    padding: var(--spacing-sm);
}

.grid-sponsor svg {
    display: block;
    width: 100%;
    height: auto;
}

.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, #1a0a1a 0%, #0d0514 100%),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255, 107, 147, 0.05) 2px, rgba(255, 107, 147, 0.05) 4px);
    color: #ff6b93;
    padding: 40px 0;
    text-align: center;
    border-top: 2px solid #ba55d3;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ba55d3, #ff6b93, #ffb84d, #ff6b93, #ba55d3);
    box-shadow: 0 0 10px rgba(255, 107, 147, 0.5);
}

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

footer a {
    color: #ffb84d;
    text-decoration: none;
    border-bottom: 1px dashed #ffb84d;
    transition: all 0.3s ease;
    text-shadow: 0 0 3px rgba(255, 184, 77, 0.5);
}

footer a:hover {
    color: #ffd1dc;
    border-bottom-color: #ffd1dc;
}

/* ===== 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 {
        max-width: 100%;
        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;
    }
}
