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

:root {
    --primary-color: #00ff88;
    --secondary-color: #ff00ff;
    --dark-bg: #0a0a0f;
    --card-bg: #1a1a2e;
    --text-light: #ffffff;
    --text-gray: #a0a0a0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
    opacity: 0; /* Sayfa yüklenirken görünmez yap */
    transition: opacity 0.5s ease-in-out; /* Yüklenince yavaşça görünsün */
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 5%;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.7rem 5%;
    background: rgba(10, 10, 15, 0.98);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 5px rgba(0, 255, 136, 0.5)); }
    to { filter: drop-shadow(0 0 20px rgba(255, 0, 255, 0.8)); }
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    transition: transform 0.3s ease-in-out;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

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

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

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle at center, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
    overflow: hidden;
    padding-top: 80px; /* Add padding for navbar */
}

.hero-content {
    text-align: center;
    z-index: 1;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

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

.glitch-text {
    font-size: clamp(2rem, 8vw, 4.5rem);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    color: var(--text-light);
    animation: glitch-skew 1s infinite linear alternate-reverse;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    left: 2px;
    text-shadow: -2px 0 var(--primary-color);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -2px;
    text-shadow: -2px 0 var(--secondary-color), 2px 2px var(--primary-color);
    clip: rect(85px, 450px, 90px, 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

@keyframes glitch-skew {
  0% { transform: skew(0deg); } 5% { transform: skew(0.5deg); } 10% { transform: skew(-0.2deg); } 20% { transform: skew(0deg); } 100% { transform: skew(0deg); }
}

@keyframes glitch-anim {
  0% { clip: rect(42px, 9999px, 44px, 0); } 5% { clip: rect(12px, 9999px, 60px, 0); } 10% { clip: rect(40px, 9999px, 45px, 0); } 15% { clip: rect(27px, 9999px, 54px, 0); } 20% { clip: rect(38px, 9999px, 50px, 0); } 25% { clip: rect(18px, 9999px, 80px, 0); } 30% { clip: rect(80px, 9999px, 30px, 0); } 35% { clip: rect(54px, 9999px, 66px, 0); } 40% { clip: rect(20px, 9999px, 70px, 0); } 45% { clip: rect(75px, 9999px, 55px, 0); } 50% { clip: rect(50px, 9999px, 40px, 0); } 55% { clip: rect(25px, 9999px, 75px, 0); } 60% { clip: rect(65px, 9999px, 35px, 0); } 65% { clip: rect(40px, 9999px, 60px, 0); } 70% { clip: rect(70px, 9999px, 50px, 0); } 75% { clip: rect(30px, 9999px, 70px, 0); } 80% { clip: rect(60px, 9999px, 40px, 0); } 85% { clip: rect(45px, 9999px, 65px, 0); } 90% { clip: rect(25px, 9999px, 55px, 0); } 95% { clip: rect(55px, 9999px, 45px, 0); } 100% { clip: rect(35px, 9999px, 75px, 0); }
}

@keyframes glitch-anim-2 {
  0% { clip: rect(65px, 9999px, 70px, 0); } 5% { clip: rect(50px, 9999px, 80px, 0); } 10% { clip: rect(30px, 9999px, 60px, 0); } 15% { clip: rect(45px, 9999px, 75px, 0); } 20% { clip: rect(60px, 9999px, 50px, 0); } 25% { clip: rect(40px, 9999px, 85px, 0); } 30% { clip: rect(70px, 9999px, 45px, 0); } 35% { clip: rect(20px, 9999px, 65px, 0); } 40% { clip: rect(55px, 9999px, 40px, 0); } 45% { clip: rect(35px, 9999px, 70px, 0); } 50% { clip: rect(60px, 9999px, 55px, 0); } 55% { clip: rect(40px, 9999px, 75px, 0); } 60% { clip: rect(25px, 9999px, 60px, 0); } 65% { clip: rect(50px, 9999px, 70px, 0); } 70% { clip: rect(75px, 9999px, 40px, 0); } 75% { clip: rect(35px, 9999px, 80px, 0); } 80% { clip: rect(65px, 9999px, 50px, 0); } 85% { clip: rect(20px, 9999px, 60px, 0); } 90% { clip: rect(45px, 9999px, 75px, 0); } 95% { clip: rect(70px, 9999px, 55px, 0); } 100% { clip: rect(30px, 9999px, 65px, 0); }
}


.hero p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-bg);
    font-weight: bold;
}

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

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

/* Section Styling */
section {
    padding: 4rem 5%;
}

.stats {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background: linear-gradient(180deg, transparent, rgba(26, 26, 46, 0.3), transparent);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 136, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 255, 136, 0.2);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: var(--text-gray);
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* Previous Tournaments */
.tournaments {
    background: var(--dark-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--text-gray);
    font-size: clamp(1rem, 2vw, 1.1rem);
}

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

.tournament-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.tournament-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.tournament-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 255, 136, 0.3);
}

.tournament-image {
    height: 180px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(255, 0, 255, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.tournament-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tournament-info h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.tournament-date {
    color: var(--text-gray);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.tournament-info > p {
    color: var(--text-gray);
    flex-grow: 1;
    font-size: 0.9rem;
    line-height: 1.6;
}

.tournament-details {
    display: flex;
    justify-content: space-around;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-item {
    text-align: center;
}

.detail-value {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-color);
}

.detail-label {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-top: 0.3rem;
}

/* Upcoming Tournament */
.upcoming {
    background: linear-gradient(180deg, transparent, rgba(26, 26, 46, 0.5), transparent);
}

.upcoming-container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: 30px;
    padding: 2rem;
    border: 2px solid rgba(0, 255, 136, 0.3);
    position: relative;
    overflow: hidden;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.countdown-item {
    text-align: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    min-width: 80px;
}

.countdown-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.countdown-label {
    color: var(--text-gray);
    margin-top: 0.5rem;
    font-size: 0.8rem;
}

/* Features */
.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    padding: 1.5rem;
    background: rgba(26, 26, 46, 0.3);
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    background: rgba(26, 26, 46, 0.5);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Sponsors */
.sponsors-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    align-items: center;
}

.sponsor-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    gap: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.sponsor-item img {
    height: 40px;
    filter: grayscale(100%) brightness(0.8);
    transition: all 0.3s ease;
}

.sponsor-item span {
    color: var(--text-gray);
    font-size: 1rem;
    text-align: center;
}

.sponsor-item:hover {
    background: rgba(0, 255, 136, 0.1);
    transform: scale(1.05);
}

.sponsor-item:hover img {
    filter: none;
}

/* Footer */
footer {
    padding: 3rem 5%;
    background: #000;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-links a {
    font-size: 1.3rem;
    color: var(--text-gray);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    color: var(--text-gray);
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.footer-legal a {
    color: var(--text-gray);
    text-decoration: none;
}

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

/* Stil Sorununu Gideren ve Yeni Sayfaları Düzenleyen Kodlar */
.page-container {
    padding: 100px 5% 4rem 5%;
    min-height: 80vh;
}

.page-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 2rem 3rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.page-content h1 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 1rem;
}

.page-content h2 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.page-content p, .page-content li {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1rem;
}

.page-content ul {
    list-style-position: inside;
    padding-left: 0;
}

.page-content li {
    margin-bottom: 0.5rem;
}

.page-content a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: bold;
}

.page-content a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-content strong {
    color: var(--text-light);
    font-weight: 600;
}

/* Program Sayfası Stilleri */
.schedule-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.schedule-day h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--secondary-color);
}

.schedule-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.schedule-item:last-child {
    border-bottom: none;
}

.schedule-time {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-bottom: 0.5rem;
}

.schedule-description h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}
.schedule-description p {
    font-size: 0.9rem;
    line-height: 1.5;
}


/* Responsive */
@media (min-width: 768px) {
    .schedule-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .schedule-item {
        flex-direction: row;
        gap: 1.5rem;
    }
    .schedule-time {
        width: 120px;
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: var(--card-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transform: translateX(100%);
        display: flex;
    }

    .nav-links.nav-active {
        transform: translateX(0%);
    }

    .mobile-menu {
        display: flex;
    }
    
    section {
        padding: 3rem 5%;
    }

    .page-container {
        padding: 80px 5% 3rem 5%;
    }

    .page-content {
        padding: 1.5rem;
    }

    .page-content h1 {
        font-size: 1.8rem;
    }

    .page-content h2 {
        font-size: 1.5rem;
    }

     .page-content p, .page-content li {
        font-size: 0.9rem;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

