/* =============================
    Global Ayarlar ve Arka Plan
============================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  overflow-x: hidden;
  font-family: Arial, sans-serif;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../app/models/background/background.jpg');
  background-size: cover;
  background-position: center 35px;
  background-attachment: fixed;
  padding-bottom: 75px;
  color: white;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.top-bar {
    background: #1e1e1e;
    padding: 0.4rem 1rem;
    display: flex;
    justify-content: flex-start; /* sol hizalama */
    align-items: center;
    flex-wrap: wrap;
    min-height: 60px;
    position: relative;
    z-index: 9999;
    gap: 2rem; /* logo ve menü arası boşluk */
}

.logo {
    width: 140px;
    height: 50px;
    background: url('/app/models/logo/logo.png') no-repeat center;
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0; /* Logonun boyutu küçülmesin */
    margin-right: 2rem; /* Menüyle arasında boşluk */
}

.menu {
    padding: 0;
    text-align: center;
}

.menu ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    gap: 1rem;
}

.menu ul li {
    position: relative;
}

.menu ul li a {
    display: block;
    padding: 0.8rem 1.2rem;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.8rem; /* Burada yazı boyutunu küçülttüm */
}

.menu ul li a:hover {
    background-color: #facc15;
    color: #000;
    border-radius: 6px;
}

.menu .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #2a2a2a;
    min-width: 200px;
    z-index: 1000;
    border-radius: 6px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.5);
}

.menu .dropdown:hover .dropdown-content {
    display: block;
}

.menu .dropdown-content li a {
    padding: 0.7rem 1rem;
    color: #fff;
    white-space: nowrap;
}

.menu .dropdown-content li a:hover {
    background-color: #facc15;
    color: #000;
}

.menu ul li a.active {
    background-color: #facc15;
    color: #000;
    border-radius: 6px;
}

.main-nav {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.main-nav.active {
    display: block;
}

.hamburger-button {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    display: none;
}

.hamburger-icon {
    width: 30px;
    height: 3px;
    background: #fff;
    display: block;
    position: relative;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    width: 30px;
    height: 3px;
    background: #fff;
    position: absolute;
    left: 0;
    transition: 0.3s;
}

.hamburger-icon::before {
    top: -10px;
}

.hamburger-icon::after {
    top: 10px;
}

.hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    max-width: 1500px;
    margin: 0 auto -40px auto;
    color: white;
}

.hero-image {
    flex: 1 1 400px;
    max-width: 500px;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    animation: pulseShadow 3s ease-in-out infinite;
}

@keyframes pulseShadow {
    0%, 100% {
        filter: drop-shadow(0 0 10px #facc15aa);
    }
    50% {
        filter: drop-shadow(0 0 10px #facc15ff);
    }
}

.hero-text {
    flex: 1 1 400px;
    max-width: 600px;
    padding: 30px 40px 30px 30px;
    border-radius: 10px;

    /* Fade-in + yukarı kayma başlangıç durumları */
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeInUp 1.5s ease forwards;
    animation-delay: 0.3s;
}

.hero-text h1,
.hero-text p {
    position: relative;
    color: white;
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeInUp 1.5s ease forwards;
}

/* Animasyon gecikmeleri */
.hero-text h1 {
    animation-delay: 0.5s;
    font-size: 2rem;      /* küçültüldü: 3rem -> 2rem */
    line-height: 1.2;
    margin-bottom: 20px;

    /* Yanıp sönen ışık efekti */
    animation-name: fadeInUp, pulseLight;
    animation-duration: 1.5s, 3s;
    animation-fill-mode: forwards, forwards;
    animation-timing-function: ease, ease-in-out;
    animation-delay: 0.5s, 2s;
    animation-iteration-count: 1, infinite;
}

.hero-text p {
    animation-delay: 0.8s;
    font-size: 1rem;     /* küçültüldü: 1.25rem -> 1rem */
    margin-bottom: 30px;

    animation-name: fadeInUp, pulseLight;
    animation-duration: 1.5s, 3s;
    animation-fill-mode: forwards, forwards;
    animation-timing-function: ease, ease-in-out;
    animation-delay: 0.8s, 2.5s;
    animation-iteration-count: 1, infinite;
}

/* Renkli sınıflar */
.hero-text h1 .pc { color: #4fc3f7; }
.hero-text h1 .mobile { color: #ff7043; }
.hero-text h1 .pink { color: #BB86FC; }

.hero-text p .pc,
.hero-text p .mobile,
.hero-text p .highlight,
.hero-text p .pink {
    font-weight: bold;
}

.hero-text p .pc { color: #4fc3f7; }
.hero-text p .mobile { color: #ff7043; }
.hero-text p .highlight,
.hero-text p .pink { color: #BB86FC; }

/* Fade-in yukarı kayma animasyonu */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Yanıp sönen ışık animasyonu */
@keyframes pulseLight {
    0%, 100% {
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.3),
                     0 0 10px rgba(255, 255, 255, 0.2);
        color: white;
    }
    50% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.8),
                     0 0 30px rgba(255, 255, 255, 0.6);
        color: #fff;
    }
}

.buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: inline-block;
    text-align: center;
    user-select: none;
}

.btn-primary {
    background-color: #BB86FC;
    color: #1b1b27;
    border: none;
}

.btn-primary:hover {
    background-color: #9a6edc;
    color: white;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #BB86FC;
    color: #BB86FC;
}

.btn-secondary:hover {
    background-color: #BB86FC;
    color: #1b1b27;
}

.hero-image {
    flex: 1 1 400px;
    max-width: 500px;
    text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  filter: drop-shadow(0 0 10px #facc15aa);
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-primary {
    background: #facc15;
    color: #000;
}

.btn-primary:hover {
    background: #eab308;
}

.btn-secondary {
    background: transparent;
    border: 2px solid #facc15;
    color: #facc15;
}

.btn-secondary:hover {
    background: #facc15;
    color: #000;
}

.game-types {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 3rem 1rem;
    gap: 2rem;
}

.game-box {
    flex: 1 1 300px;
    background: #1e1e1e;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255,255,255,0.1);
}

.game-box h2 {
    margin-bottom: 1rem;
    color: #facc15;
}

.game-box ul li {
    margin: 0.5rem 0;
}

.sponsors {
    padding: 3rem 2rem;
    text-align: center;
}

.sponsor-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.sponsor-list a {
    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 1rem;
    border-radius: 8px;
    max-width: 150px;
}

.sponsor-list img {
    max-height: 60px;
    margin-bottom: 0.5rem;
}

.customer-comments {
    padding: 3rem 2rem;
}

.section-heading {
    text-align: center;
    margin-bottom: 2rem;
}

.comments-wrapper {
    overflow: hidden;
    position: relative;
}

.comments-scroll {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.5rem;
    padding: 1rem 0;
    animation: auto-scroll 60s linear infinite;
    width: max-content;
}

.comment-card {
    flex: 0 0 auto;
    min-width: 250px;
    max-width: 300px;
    background: #1f1f1f;
    padding: 1rem;
    border-radius: 8px;
    color: #fff;
}

.comment-text {
    font-style: italic;
    margin-bottom: 1rem;
}

.read-more {
    display: inline-block;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    cursor: pointer;
    color: #ff0;
    text-decoration: underline;
}

.comment-meta {
    font-size: 0.85rem;
    color: #ccc;
    display: flex;
    justify-content: space-between;
}

@keyframes auto-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Scrollbar'ı gizle (isteğe bağlı) */
.comments-scroll::-webkit-scrollbar {
    display: none;
}
.comments-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}


.popular-tournaments {
    padding: 3rem 2rem;
    text-align: center;
}

.tournaments-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.tournament-card {
    background: #1c1c1c;
    padding: 1.5rem;
    border-radius: 10px;
    flex: 1 1 280px;
    max-width: 320px;
    text-align: left;
    box-shadow: 0 0 10px rgba(255,255,255,0.05);
}
.popular-tournaments h2 {
    text-align: center;
    font-size: 2.5rem; /* Büyütüldü */
    font-weight: 800; /* Kalınlaştırıldı */
    color: #facc15; /* Sarı renk */
    margin-bottom: 2rem;
}
.tournament-card h3 {
    color: #facc15;
    margin-bottom: 0.5rem;
}

.tournament-card button {
    margin-top: 1rem;
    width: 100%;
    background: #facc15;
    border: none;
    padding: 0.75rem;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
}

.tournament-card button:hover {
    background: #eab308;
}

/* ==================================
    Mobil Global Ayarlar ve Arka Plan
================================== */
@media (max-width: 800px) {
    .hamburger-button {
        display: block;
        z-index: 10000;
    }

    .main-nav {
        display: none;
        flex-direction: column;
        background: #1e1e1e;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        padding: 1rem;
        z-index: 9999;
    }

    .main-nav.active {
        display: flex;
    }

    .menu ul {
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        margin: 0;
        gap: 0;
        display: none;
    }

    .main-nav.active .menu ul {
        display: flex;
    }

    .menu ul li {
        width: 100%;
    }

    .top-bar {
        justify-content: space-between;
        padding: 0 1rem;
    }

    .menu .dropdown-content {
        position: relative;
        background-color: #333;
        box-shadow: none;
        border-radius: 0;
        display: none;
        padding-left: 1rem;
    }

    .menu .dropdown.active .dropdown-content {
        display: block;
    }

    .menu .dropdown > a::after {
        content: ' ▼';
        float: right;
        font-size: 0.8rem;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

.customer-comments {
    padding: 3rem 2rem;
}

.section-heading {
    text-align: center;
    margin-bottom: 2rem;
}

.comments-wrapper {
    overflow: hidden;
    position: relative;
}

.comments-scroll {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.5rem;
    padding: 1rem 0;
    animation: auto-scroll 60s linear infinite;
    width: max-content;
}

.comment-card {
    flex: 0 0 auto;
    min-width: 250px;
    max-width: 300px;
    background: #1f1f1f;
    padding: 1rem;
    border-radius: 8px;
    color: #fff;
}

.comment-text {
    font-style: italic;
    margin-bottom: 1rem;
}

.read-more {
    display: inline-block;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    cursor: pointer;
    color: #ff0;
    text-decoration: underline;
}

.comment-meta {
    font-size: 0.85rem;
    color: #ccc;
    display: flex;
    justify-content: space-between;
}

@keyframes auto-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Scrollbar'ı gizle (isteğe bağlı) */
.comments-scroll::-webkit-scrollbar {
    display: none;
}
.comments-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

}



