@import url('https://fonts.googleapis.com/css2?family=Anton&family=Roboto:wght@400;700;900&display=swap');

:root {
    --gold: #D4AF37;
    --dark: #0F0F0F;
    --light-gold: #F5E8A5;
    --accent: #C8102E;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to bottom, #0F0F0F, #1A1A1A);
    color: white;
    line-height: 1.6;
}

header {
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.9)), url('https://source.unsplash.com/1600x900/?stadium,night') center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 900px;
    padding: 20px;
}

.main-logo {
    width: 220px;
    height: auto;
    margin-bottom: 25px;
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.7));
}

h1 {
    font-family: 'Anton', sans-serif;
    font-size: clamp(3.5rem, 8vw, 5.8rem);
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 6px;
    text-shadow: 4px 4px 0 #000;
}

.tagline {
    font-size: clamp(1.4rem, 4vw, 1.9rem);
    color: var(--light-gold);
    font-weight: 900;
    margin: 15px 0 25px;
}

.hero-desc {
    font-size: 1.45rem;
    max-width: 720px;
    margin: 0 auto 25px;
    opacity: 0.95;
}

.btn {
    margin: 15px 8px;
    padding: 16px 40px;
    background: var(--gold);
    color: #000;
    border: 3px solid #fff;
    font-size: 1.35rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s;
    box-shadow: 0 8px 0 #B38B2E;
    border-radius: 4px;
}

.btn:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 0 #B38B2E;
    background: #fff;
}

.nav-buttons {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.section {
    padding: 80px 15px;
    text-align: center;
}

h2 {
    font-family: 'Anton', sans-serif;
    font-size: clamp(2.8rem, 6vw, 3.8rem);
    margin-bottom: 40px;
    color: var(--gold);
}

.players-table,
.rules-table {
    max-width: 1000px;
    margin: 0 auto;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.05);
    border: 4px solid var(--gold);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
    width: 100%;
}

.rules-table {
    background: #111;
    box-shadow: 0 0 35px rgba(212, 175, 55, 0.4);
}

th,
td {
    padding: 16px 12px;
    text-align: left;
}

th {
    background: #1A1A1A;
    color: var(--gold);
}

tr:nth-child(even) {
    background: rgba(212, 175, 55, 0.08);
}

tr:hover {
    background: rgba(212, 175, 55, 0.18);
}

.number,
.stt,
.penalty {
    text-align: center;
    font-weight: 900;
    color: var(--gold);
}

.penalty {
    color: #FF4444;
}

.table-wrapper {
    overflow-x: auto;
    padding-bottom: 10px;
}

.announcement {
    max-width: 800px;
    margin: 0 auto;
    background: #1A1A1A;
    border: 4px solid var(--gold);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: left;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.qr-code {
    max-width: 280px;
    margin: 20px auto;
    display: block;
    border: 4px solid var(--gold);
    border-radius: 8px;
}

footer {
    background: #000;
    padding: 70px 20px;
    text-align: center;
    border-top: 6px solid var(--gold);
}

.footer-logo {
    font-size: 2.8rem;
    color: var(--gold);
    font-family: 'Anton', sans-serif;
}

.slogan-rules,
.slogan-main,
.intro-text,
.general-rule,
.thank-you {
    max-width: 900px;
    margin: 0 auto;
}

.team-photo-section {
    background: #0F0F0F;
    padding: 60px 15px;
}

.team-photo-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    border: 5px solid var(--gold);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.4);
}

.team-photo {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.team-photo-container:hover .team-photo {
    transform: scale(1.03);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    color: var(--gold);
    text-align: center;
    padding: 25px 15px 20px;
    font-size: 1.35rem;
    font-weight: 700;
    text-shadow: 0 2px 8px black;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #D4AF37, #b38b00);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #e0c15f, #c9a000);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.5);
}

.back-to-top.show {
    display: flex;
}

.social-icons-container {
    display: none;
    position: fixed;
    z-index: 10000;
    background: rgba(10, 10, 10, 0.96);
    backdrop-filter: blur(12px);
    border: 3px solid var(--gold);
    border-radius: 60px;
    padding: 12px 24px;
    gap: 24px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.6), 0 0 15px rgba(212, 175, 55, 0.4);
}

.social-icons-container.show {
    display: flex;
}

.social-img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 2px solid var(--gold);
    background: #222;
    cursor: pointer;
}

.social-img:hover {
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.9);
    border-color: white;
}

@media (max-width: 768px) {
    .social-icons-container {
        padding: 10px 18px;
        gap: 18px;
        border-radius: 50px;
    }

    .social-img {
        width: 48px;
        height: 48px;
    }
}