:root {
    --primary: #6d4c41;
    --primary-dark: #40241a;
    --primary-light: #a1887f;
    --accent: #b5a081;
    --background: #faf5ef;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: var(--background);
    margin: 0;
}

/* FadeIn Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.3s ease forwards;
}

/* Layout */
.layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: linear-gradient(to bottom, #fff7ed, #fef3c7);
}

.layout main {
    flex-grow: 1;
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(to right, rgba(64, 36, 26, 0.7), rgba(109, 76, 65, 0.5));
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('https://images.pexels.com/photos/442576/pexels-photo-442576.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: brightness(0.35);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 80rem;
    margin: 0 auto;
    padding: 8rem 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .hero .container {
        padding: 10rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero .container {
        padding: 10rem 2rem;
    }
}

.hero h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.25;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 3.75rem;
    }
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 48rem;
    margin: 0 auto 2.5rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .hero p {
        font-size: 1.5rem;
    }
}

.hero a {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-dark);
    background-color: #fef3c7;
    border-radius: 0.375rem;
    text-decoration: none;
    transition: background-color 300ms, transform 300ms, box-shadow 300ms;
}

.hero a:hover {
    background-color: #fde68a;
    transform: translateY(-0.25rem);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.hero a i {
    margin-left: 0.5rem;
    width: 1.25rem;
    height: 1.25rem;
}

.hero .wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    height: 4rem;
    width: 100%;
    fill: #fff7ed;
}

/* Features Section */
.features {
    padding: 6rem 1rem;
    background: linear-gradient(to bottom, rgba(255, 247, 237, 0.5), rgba(254, 243, 199, 0.5));
}

       
.features .container {
    max-width: 80rem;
    margin: 0 auto;
    text-align: center;
}

.features h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .features h2 {
        font-size: 2.25rem;
    }
}

.features p {
    font-size: 1.125rem;
    color: #4b5563;
    max-width: 48rem;
    margin: 0 auto 4rem;
    line-height: 1.625;
}

.features .grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .features .grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.features .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.features .icon {
    width: 4rem;
    height: 4rem;
     
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.features .icon i {
    width: 2rem;
    height: 2rem;
    color: #b45309;
}

.features .count {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.features .label {
    font-size: 1rem;
    color: #4b5563;
}

/* Tournament Section */
.tournament-section {
    position: relative;
    padding: 6rem 1rem;
    overflow: hidden;
}

.tournament-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('https://images.pexels.com/photos/7915357/pexels-photo-7915357.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: brightness(0.15);
    z-index: 0;
}

.tournament-section .container {
    position: relative;
    z-index: 1;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.tournament-section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .tournament-section h2 {
        font-size: 3rem;
    }
}

.tournament-section .divider {
    width: 6rem;
    height: 0.25rem;
    background-color: #fbbf24;
    margin: 0 auto;
}

.tournament-notice {
    max-width: 48rem;
    margin: 2rem auto;
    background: linear-gradient(to right, rgba(245, 158, 11, 0.9), rgba(217, 119, 6, 0.9));
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: transform 300ms;
}

.tournament-notice:hover {
    transform: translateY(-0.25rem);
}

.tournament-notice .content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.tournament-notice i {
    width: 3rem;
    height: 3rem;
    color: #fff;
}

.tournament-notice h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.tournament-notice p {
    font-size: 1rem;
    color: #fef3c7;
}

.tournament-notice a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #fff;
    color: #d97706;
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background-color 300ms;
}

.tournament-notice a:hover {
    background-color: #fff7ed;
}

.tournament-notice a i {
    width: 1.25rem;
    height: 1.25rem;
    color: #d97706;
}

.tournament-notices {
    scrollbar-width: thin;
    scrollbar-color: #fbbf24 #fff7ed;
}

.tournament-notices::-webkit-scrollbar {
    width: 8px;
}

.tournament-notices::-webkit-scrollbar-track {
    background: #fff7ed;
}

.tournament-notices::-webkit-scrollbar-thumb {
    background-color: #fbbf24;
    border-radius: 4px;
}

.join-tournament-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #fef3c7;
    color: #d97706;
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background-color 300ms;
}

.join-tournament-btn:hover {
    background-color: #fde68a;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: transform 300ms;
}

.feature-card:hover {
    transform: translateY(-0.5rem);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
}

.feature-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-card li {
    display: flex;
    align-items: center;
    color: #fef3c7;
    margin-bottom: 0.75rem;
}

.feature-card li::before {
    content: '•';
    margin-right: 0.5rem;
}