:root {
    --bg-dark: #ffffff;
    --bg-card: #f8f9fa;
    --bg-card-hover: #ffffff;
    --border-color: rgba(18, 24, 34, 0.1);
    
    --primary: #121822;
    --primary-hover: #2a364a;
    --secondary: #6ea4e6;
    
    --text-main: #121822;
    --text-muted: #5a6b82;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-dark);
}

body {
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header h2 span {
    color: var(--primary);
}

.section-header .subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-top: 10px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(18, 24, 34, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(18, 24, 34, 0.25);
}

.btn-secondary {
    background: rgba(18, 24, 34, 0.1);
    color: var(--primary);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(18, 24, 34, 0.2);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #ffffff;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 120px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo img {
    height: 100px;
    width: 100px;
    object-fit: contain;
    border-radius: 50%;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    width: 30px;
    height: 2px;
    background: var(--primary);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0.3) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.hero-title-img {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    margin-bottom: 10px;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.5));
}

.hero p {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.about-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-10px);
    border-color: rgba(18, 24, 34, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.about-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

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

/* Tournaments */
.tournament-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.tournament-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    padding: 20px 30px;
    transition: var(--transition);
}

.tournament-card:hover {
    background: var(--bg-card-hover);
    transform: translateX(10px);
}

.date-badge {
    text-align: center;
    padding-right: 30px;
    border-right: 1px solid var(--border-color);
}

.date-badge .day {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.date-badge .month {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.tournament-card .info {
    flex-grow: 1;
    padding: 0 30px;
}

.tournament-card h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.tournament-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge.open {
    background: rgba(0, 210, 255, 0.1);
    color: var(--secondary);
    border: 1px solid var(--secondary);
}

.badge.upcoming {
    background: rgba(160, 160, 165, 0.1);
    color: var(--text-muted);
    border: 1px solid var(--text-muted);
}

.cta-container {
    background: linear-gradient(135deg, rgba(18,24,34,0.05) 0%, rgba(110,164,230,0.1) 100%);
    border: 1px solid rgba(18, 24, 34, 0.1);
    border-radius: 30px;
    padding: 80px 40px;
    text-align: center;
}

.cta-container h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-container p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* Footer */
.footer {
    background: #f1f3f5;
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 120px;
    margin-bottom: 20px;
    border-radius: 50%;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 300px;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--primary);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.footer-contact p a {
    color: var(--primary);
}

.socials {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.social-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(18,24,34,0.1);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transition: opacity 1s ease;
}

.fade-in.appear {
    opacity: 1;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .nav-links {
        display: none; /* simple hidden for now */
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-title-img {
        max-height: 200px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .tournament-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .date-badge {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-right: 0;
        padding-bottom: 15px;
        width: 100%;
        text-align: left;
    }
    
    .tournament-card .info {
        padding: 0;
    }
}
