:root {
    --mat-red: #c41e3a;
    --mat-blue: #003f7f;
    --mat-gold: #ffb81c;
    --mat-dark: #000000;
    --mat-gray: #1a1a1a;
    --mat-light-gray: #2c2c2c;
    --text-light: #ffffff;
    --text-gray: #b0b0b0;
}

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--mat-dark);
    color: var(--text-light);
    overflow-x: hidden;
}

/* Hide scrollbar completely */
::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
body {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

h1, h2, h3, h4, h5 {
    font-family: 'Bebas Neue', cursive;
    letter-spacing: 2px;
}

/* Navigation */
.navbar {
    background: var(--mat-dark) !important;
    border-bottom: 2px solid var(--mat-red);
    padding: 0.5rem 0;
    overflow: hidden;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar-brand img {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.navbar-brand-text {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.8rem;
    color: var(--text-light);
    letter-spacing: 2px;
    margin: 0;
    padding-top: 4px;
    line-height: 1;
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--mat-gold) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--mat-gold);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)), url('img/wrestler5.jpg') center/cover no-repeat;
    background-position: center 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    border-bottom: 5px solid var(--mat-red);
    padding-top: 60px;
    overflow: hidden;
}

/* Section Background Watermark */
.section-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

.section-watermark img {
    width: 500px;
    height: auto;
    animation: subtle-float 20s ease-in-out infinite;
}

@keyframes subtle-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    padding-top: 10rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Hero Logo Animation */
.hero-logo-animated {
    width: 200px;
    height: 200px;
    flex-shrink: 0;
    opacity: 0;
    animation: logoFadeIn 1.5s ease-out 0.5s forwards;
    align-self: flex-start;
    margin-top: -50px;
}

.hero-logo-animated img {
    width: 100%;
    height: auto;
}

@keyframes logoFadeIn {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    50% {
        transform: scale(1.1) rotate(10deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.hero-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 6rem;
    font-weight: 900;
    color: var(--text-light);
    text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
    line-height: 0.9;
    margin: 0;
    opacity: 0;
    animation: titleFadeIn 1.5s ease-out 2.2s forwards;
}

.hero-title span {
    display: block;
    color: var(--mat-red);
    font-size: 7rem;
}

@keyframes titleFadeIn {
    0% {
        opacity: 0;
        transform: translateX(40px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-subtitle {
    font-size: 2rem;
    color: var(--mat-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 2rem;
    opacity: 0;
    animation: subtitleFadeIn 1.2s ease-out 2.7s forwards;
}

@keyframes subtitleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.tournament-info {
    margin-top: 3rem;
    position: relative;
    display: inline-block;
    opacity: 0;
    animation: tournamentFadeIn 1.2s ease-out 3s forwards;
}

@keyframes tournamentFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.tournament-label {
    font-size: 1rem;
    color: var(--mat-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 500;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.tournament-date {
    font-family: 'Bebas Neue', cursive;
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-light);
    letter-spacing: 4px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    position: relative;
    animation: pulse 2s infinite 4.2s;
}

.tournament-date::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 3px;
    background: var(--mat-red);
    box-shadow: 0 2px 10px rgba(196,30,58,0.6);
}

.tournament-date::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 3px;
    background: var(--mat-red);
    box-shadow: 0 2px 10px rgba(196,30,58,0.6);
}

/* Scroll offset for fixed navbar */
section[id] {
    scroll-margin-top: 60px;
}

/* About Wrestling Section */
.about-section {
    background: var(--mat-gray);
    padding: 80px 0;
    border-top: 5px solid var(--mat-gold);
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: 3.5rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--mat-gold);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
}

/* Tournament Format Section */
.format-section {
    background: var(--mat-dark);
    padding: 80px 0;
    background-image: linear-gradient(rgba(0,0,0,0.9), rgba(0,0,0,0.9)), url('img/wrestler4.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.format-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.format-card {
    background: rgba(0,0,0,0.8);
    border: 2px solid var(--mat-red);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.format-card:hover {
    border-color: var(--mat-gold);
    transform: translateY(-5px);
}

.format-icon {
    font-size: 3rem;
    color: var(--mat-gold);
    margin-bottom: 1rem;
}

.format-card h3 {
    color: var(--mat-red);
    font-size: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.format-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Info Section */
.info-section {
    background: var(--mat-gray);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.info-box {
    background: var(--mat-light-gray);
    border-left: 5px solid var(--mat-gold);
    padding: 2rem;
    transition: all 0.3s ease;
}

.info-box:hover {
    border-left-color: var(--mat-red);
    background: var(--mat-dark);
}

.info-box h4 {
    color: var(--mat-gold);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.info-box p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Registration Section */
.registration-section {
    background: linear-gradient(rgba(196,30,58,0.8), rgba(0,63,127,0.8)), url('img/wrestler4.jpg') center/cover no-repeat;
    background-position: center center;
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.registration-box {
    background: var(--mat-dark);
    border: 3px solid var(--mat-gold);
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.registration-box h2 {
    color: var(--mat-gold);
    font-size: 3rem;
    margin-bottom: 2rem;
}

.coach-notice {
    background: rgba(196,30,58,0.2);
    border: 2px solid var(--mat-red);
    padding: 2rem;
    margin: 2rem 0;
}

.coach-notice h3 {
    color: var(--mat-gold);
    font-size: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.coach-notice p {
    color: var(--text-light);
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Footer */
footer {
    background: var(--mat-dark);
    border-top: 5px solid var(--mat-red);
    padding: 3rem 0;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 60px;
    width: auto;
    margin-right: 15px;
}

.footer-logo-text {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.5rem;
    color: var(--text-light);
    padding-top: 6px;
    line-height: 1;
}

.footer-text {
    color: var(--text-gray);
    margin: 0.5rem 0;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-section {
        background-position: center 35%;
    }

    .hero-content {
        padding-top: 6rem;
    }

    .hero-title-wrapper {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        margin-bottom: 1.5rem;
    }

    .hero-logo-animated {
        width: 120px;
        height: 120px;
        margin-top: 0;
        align-self: center;
    }

    .section-watermark img {
        width: 300px;
    }

    .hero-title {
        font-size: 3rem;
        text-align: center;
    }

    .hero-title span {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }

    .tournament-info {
        margin-top: 2rem;
    }

    .tournament-date {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .tournament-date::before,
    .tournament-date::after {
        width: 100%;
    }

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

    .section-title {
        font-size: 2.5rem;
    }

    .navbar-nav .nav-link {
        margin: 0.5rem 0;
    }

}