html {
    scroll-behavior: smooth;
}

/* Genel Stiller */
:root {
    --primary-color: #388E3C; /* Daha sofistike bir yeşil tonu */
    --secondary-color: #66BB6A; /* Daha açık ve canlı bir yeşil */
    --light-bg: #E0E0E0; /* Daha soğuk, hafif bir gri */
    --dark-bg: #234C6A; /* Ana koyu arka plan */
    --border-color: rgba(255, 255, 255, 0.08); /* Daha az opak, daha ince bir kenarlık */
    --text-color: #E0E0E0; /* Genel metin rengini beyaza yakın yap */
    --text-light: #B0BEC5; /* Açık gri metin tonu */
    --hover-color: #7CB342; /* Vurgulu hover rengini daha canlı yap */
    --shadow-light: rgba(0, 0, 0, 0.05); /* Daha hafif gölge */
    --shadow-medium: rgba(0, 0, 0, 0.15); /* Orta gölge */
    --shadow-heavy: rgba(0, 0, 0, 0.25); /* Belirgin gölgeyi hafiflet */
    --spacing-unit: 10px; /* Temel boşluk birimi */
}

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

html, body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-image: url('assets/pageskin/pageskin.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: var(--dark-bg); /* Resim yüklenene kadar veya resim yoksa alternatif arka plan */
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px; /* Temel font boyutunu ayarla */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: calc(var(--spacing-unit) * 2) 0; /* Dinamik padding */
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--hover-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

header {
    background-color: transparent; /* Pageskin ile uyumlu hale getirildi */
    padding: calc(var(--spacing-unit) * 1.8) 0; /* Header padding'ini biraz daha azalt */
    text-align: center;
    box-shadow: 0 1px 8px var(--shadow-light); /* Daha da hafif bir header gölgesi */
    position: relative;
    z-index: 20;
}

.logo img {
    height: 80px; /* Logo boyutunu ayarla */
    margin: 0 auto;
}

.header-content {
    background-color: transparent; /* Arka plan rengini kaldır */
    padding: calc(var(--spacing-unit) * 0.5) 0; /* Boşlukları ayarla */
    border-radius: 0; /* Köşeleri yuvarlaklaştırmayı kaldır */
}

.header-content h1 {
    font-size: 2.8em; /* Daha az yer kaplayan, minimalist boyut */
    color: #fff; /* Metin rengi */
    margin-bottom: calc(var(--spacing-unit) * 0.5); /* Dinamik boşluk */
    font-weight: 700;
    letter-spacing: 0.8px; /* Harf aralığını biraz artır */
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4); /* Daha belirgin ama yumuşak gölge */
}

.header-content .tagline {
    font-size: 1em;
    color: var(--text-light); /* Açık metin rengi */
    font-weight: 400;
    opacity: 0.9; /* Hafif transparanlık */
}

.hero-section {
    background-color: transparent; /* Pageskin ile uyumlu hale getirildi */
    color: var(--text-color);
    text-align: center;
    padding: calc(var(--spacing-unit) * 6) 0; /* Dikey boşluğu artır */
    position: relative;
    overflow: hidden;
    margin-top: -1px; /* Header ile birleşme için */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent; /* Pageskin ile uyumlu hale getirildi */
    z-index: 0;
}

.hero-section h2 {
    font-size: 4.8em; /* Daha büyük ve etkileyici */
    margin-bottom: calc(var(--spacing-unit) * 1.5); /* Boşluk azaltıldı */
    font-weight: 800; /* Daha kalın font */
    letter-spacing: 1px; /* Harf aralığını artır */
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.6); /* Daha belirgin gölge */
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
    animation: fadeIn 1.2s ease-out forwards; /* Animasyon süresini ayarla */
    line-height: 1.1; /* Satır aralığını daralt */
}

.hero-section p {
    font-size: 1.25em; /* Metin boyutunu artır */
    max-width: 750px;
    margin: 0 auto calc(var(--spacing-unit) * 4) auto; /* Boşluğu artır */
    line-height: 1.7;
    opacity: 0.98;
    position: relative; /* Overlay'in üstünde kalması için */
    z-index: 1; /* Overlay'in üstünde kalması için */
}

.hero-icon {
    font-size: 7.5em; /* Kupa ikonunu biraz daha büyüt */
    color: #8BC34A; /* Daha parlak bir açık yeşil tonu */
    margin-bottom: calc(var(--spacing-unit) * 3);
    animation: bounceIn 1.2s ease-out; /* Animasyon süresini ayarla */
}

.hero-section .btn {
    padding: 16px 40px; /* Padding ayarı */
    font-size: 1.15em; /* Font boyutu ayarı */
    border-radius: 45px; /* Daha yuvarlak buton */
    box-shadow: 0 5px 18px rgba(56, 142, 60, 0.3); /* Daha yumuşak gölge */
    transition: all 0.3s ease-in-out; /* Daha yumuşak geçiş */
    position: relative;
    z-index: 1;
}

.hero-section .btn:hover {
    transform: translateY(-3px) scale(1.01); /* Daha hafif hover etkisi */
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.5); /* Daha yumuşak hover gölgesi */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); } /* Daha küçük translateY */
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounceIn {
    0%, 20%, 40%, 60%, 80%, 100% { -webkit-transition-timing-function: cubic-bezier(0.215, .61, .355, 1); transition-timing-function: cubic-bezier(0.215, .61, .355, 1); }
    0% { opacity: 0; -webkit-transform: scale3d(.3, .3, .3); transform: scale3d(.3, .3, .3); }
    20% { -webkit-transform: scale3d(1.1, 1.1, 1.1); transform: scale3d(1.1, 1.1, 1.1); }
    40% { -webkit-transform: scale3d(.9, .9, .9); transform: scale3d(.9, .9, .9); }
    60% { opacity: 1; -webkit-transform: scale3d(1.03, 1.03, 1.03); transform: scale3d(1.03, 1.03, 1.03); }
    80% { -webkit-transform: scale3d(.97, .97, .97); transform: scale3d(.97, .97, .97); }
    100% { opacity: 1; -webkit-transform: scale3d(1, 1, 1); transform: scale3d(1, 1, 1); color: #8BC34A; } /* Animasyon sonunda rengin sabit kalmasını sağla */
}

@keyframes gameCardGlow {
    0% {
        transform: translateY(0) scale(1);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: translateY(-2px) scale(1.01);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 10px var(--primary-color);
    }
    100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
}

@keyframes textClipReveal {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

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

main {
    padding-top: 0; /* Hero section eklendiği için main padding'i kaldır */
}

.links-section {
    padding: calc(var(--spacing-unit) * 6) 0; /* Dinamik padding azaltıldı */
    background-color: transparent; /* Pageskin ile uyumlu hale getirildi */
}

.links-section h2 {
    text-align: center;
    margin-bottom: calc(var(--spacing-unit) * 4); /* Başlık alt boşluğunu azalt */
    font-size: 2.5em; /* Başlık boyutunu ayarla */
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.7px; /* Harf aralığını ayarla */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Minimum genişliği azalt */
    gap: calc(var(--spacing-unit) * 2.5); /* Boşluğu azalt */
    margin-top: calc(var(--spacing-unit) * 2.5);
    padding: 0 calc(var(--spacing-unit) * 1.5); /* Kenarlardan boşluk bırak */
    max-width: 1000px; /* Maksimum genişliği ayarla */
    margin-left: auto;
    margin-right: auto;
}

.link-card {
    background-color: transparent; /* Pageskin ile uyumlu hale getirildi */
    border: 1px solid var(--border-color);
    border-radius: 8px; /* Daha az yuvarlak kenarlar */
    padding: calc(var(--spacing-unit) * 1.8);
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 1.2);
    text-decoration: none;
    color: var(--text-color);
    box-shadow: 0 3px 10px var(--shadow-medium); /* Daha hafif kart gölgesi */
    transition: all 0.25s ease-in-out;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    animation: slideIn 0.6s ease-out forwards;
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.03) 0%, transparent 70%); /* Daha hafif parlaklık */
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    z-index: 0;
}

.link-card:hover {
    transform: translateY(-4px) scale(1.005); /* Daha hafif hover efekti */
    box-shadow: 0 8px 18px var(--shadow-heavy); /* Daha yumuşak hover gölgesi */
    border-color: var(--hover-color); /* Hover'da ikincil renge geçiş */
}

.link-card.primary {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(56, 142, 60, 0.3); /* Primary kart için daha hafif gölge */
}

.link-card.primary:hover {
    background-color: var(--hover-color);
    border-color: var(--hover-color);
    box-shadow: 0 6px 15px rgba(76, 175, 80, 0.5); /* Primary hover için daha hafif gölge */
}

.link-icon {
    font-size: 2.2em; /* İkon boyutunu biraz küçült */
    color: #8BC34A; /* Daha parlak bir açık yeşil tonu */
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.06); /* Daha hafif arka plan */
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08); /* Daha hafif ikon gölgesi */
    flex-shrink: 0;
    z-index: 1;
}

.link-card.primary .link-icon {
    color: #fff;
    background-color: var(--hover-color);
    box-shadow: 0 1px 5px rgba(76, 175, 80, 0.2); /* Primary ikon için daha hafif gölge */
}

.link-content {
    flex-grow: 1;
    min-width: 0;
    margin-right: calc(var(--spacing-unit) * 1.5); /* Ok ile içerik arasına boşluk */
    z-index: 1;
}

.link-content h3 {
    font-size: 1.35em; /* Başlık boyutunu ayarla */
    margin-bottom: calc(var(--spacing-unit) * 0.5);
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.link-card.primary .link-content h3 {
    color: #fff;
}

.link-content p {
    font-size: 0.9em; /* Metin boyutunu ayarla */
    color: var(--text-light);
    line-height: 1.4;
}

.link-card.primary .link-content p {
    color: #E0E0E0;
}

.link-arrow {
    font-size: 1.4em;
    color: var(--secondary-color); /* Açık yeşil ok ikonu */
    transition: transform 0.25s ease;
    z-index: 1;
    font-family: 'Inter', sans-serif;
}

.link-card:hover .link-arrow {
    transform: translateX(4px);
}

.link-card.primary .link-arrow {
    color: #fff;
}

footer {
    background-color: transparent; /* Pageskin ile uyumlu hale getirildi */
    color: var(--text-color);
    text-align: center;
    padding: calc(var(--spacing-unit) * 3) 0;
    border-top: 1px solid var(--border-color); /* Daha ince üst kenarlık */
    font-size: 0.95em;
    box-shadow: 0 -2px 10px var(--shadow-light); /* Daha hafif bir footer gölgesi */
}

footer .container {
    padding: calc(var(--spacing-unit) * 1.5) 0; /* İç padding azaltıldı */
}

footer p {
    color: var(--text-light); /* Açık metin rengi */
    font-weight: 400;
    font-size: 0.95em; /* Font boyutunu ayarla */
    line-height: 1.5;
}

@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 0 calc(var(--spacing-unit)); /* Mobil container padding'ini ayarla */
    }

    header {
        padding: calc(var(--spacing-unit) * 1.5) 0;
    }

    .logo img {
        height: 50px; /* Mobil logo boyutunu küçült */
    }

    .header-content h1 {
        font-size: 1.6em;
        margin-bottom: calc(var(--spacing-unit) * 0.3);
        letter-spacing: 0.4px;
    }

    .header-content .tagline {
        font-size: 0.8em;
    }

    /* Hero Section Mobil Optimizasyonu */
    .hero-section {
        padding: calc(var(--spacing-unit) * 4) 0;
    }

    .hero-section h2 {
        font-size: 2.5em;
        margin-bottom: calc(var(--spacing-unit) * 0.8);
        letter-spacing: 0.6px;
    }

    .hero-section p {
        font-size: 0.9em;
        max-width: 95%;
        margin: 0 auto calc(var(--spacing-unit) * 2.5) auto;
    }

    .hero-icon {
        font-size: 4.5em;
        margin-bottom: calc(var(--spacing-unit) * 2);
    }

    .hero-section .btn {
        padding: 12px 25px;
        font-size: 0.95em;
    }

    main {
        padding-top: 0; /* Main padding'ini kaldır */
    }

    .links-section {
        padding: calc(var(--spacing-unit) * 4) 0;
    }

    .links-section h2 {
        font-size: 1.8em;
        margin-bottom: calc(var(--spacing-unit) * 3);
    }

    .links-grid {
        gap: calc(var(--spacing-unit) * 1.5);
        padding: 0 calc(var(--spacing-unit));
    }

    .link-card {
        padding: calc(var(--spacing-unit) * 1.5);
        gap: calc(var(--spacing-unit));
    }

    .link-icon {
        width: 38px;
        height: 38px;
        font-size: 1.8em;
    }

    .link-content h3 {
        font-size: 1.1em;
    }

    .link-content p {
        font-size: 0.8em;
    }

    footer {
        padding: calc(var(--spacing-unit) * 2) 0;
    }
    footer .container {
        padding: calc(var(--spacing-unit) * 0.8) 0;
    }
    footer p {
        font-size: 0.8em;
    }
}

.games-section {
    background-color: transparent; /* Pageskin ile uyumlu hale getirildi */
    padding: calc(var(--spacing-unit) * 5) 0; /* Padding azalt */
    text-align: center;
}

.games-section h2 {
    color: white;
    font-size: 2.5em;
    margin-bottom: calc(var(--spacing-unit) * 4); /* Başlık alt boşluğunu azalt */
    font-weight: 600;
    letter-spacing: 0.3px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* Daha küçük minimum genişlik */
    gap: calc(var(--spacing-unit) * 1.5); /* Boşluğu azalt */
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 calc(var(--spacing-unit) * 1.5); /* Kenarlardan boşluk bırak */
}

.game-card {
    background-color: transparent; /* Pageskin ile uyumlu hale getirildi */
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: calc(var(--spacing-unit) * 1.2); /* Padding azalt */
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 3px 10px var(--shadow-medium); /* Daha hafif gölge */
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: gameCardGlow 2s infinite alternate ease-in-out; /* Animasyon süresini kısalt */
    width: 100%;
    max-width: 220px; /* Maksimum kart genişliğini azalt */
    margin: 0 auto;
}

.game-card:hover {
    transform: translateY(-3px) scale(1.005); /* Daha hafif hover efekti */
    box-shadow: 0 6px 15px var(--shadow-heavy), 0 0 8px var(--secondary-color); /* Hover'da daha yumuşak gölge ve hafif glow */
}

.game-card img {
    max-width: 100%;
    height: auto;
    border-radius: 6px; /* Daha az yuvarlak resim kenarları */
    margin-bottom: calc(var(--spacing-unit)); /* Boşluğu azalt */
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); /* Daha hafif resim gölgesi */
}

.game-card h3 {
    color: #fff;
    font-size: 1.3em; /* Oyun başlığı boyutunu küçült */
    margin-bottom: calc(var(--spacing-unit) * 0.5);
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.3px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); /* Daha hafif gölge */
    display: none; /* Oyun başlığı gizlendi */
}

.game-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95em;
    margin-bottom: calc(var(--spacing-unit) * 2);
    line-height: 1.5;
}

.game-card .btn {
    width: 90%; /* Buton genişliğini ayarla */
    padding: 10px 0;
    font-size: 0.95em;
    display: none; /* Buton gizlendi */
}

.about-section {
    background-color: transparent; /* Pageskin ile uyumlu hale getirildi */
    padding: calc(var(--spacing-unit) * 6) 0;
    text-align: center;
}

.about-section h2 {
    color: white;
    font-size: 2.5em;
    margin-bottom: calc(var(--spacing-unit) * 3); /* Başlık alt boşluğunu azalt */
    font-weight: 600;
    letter-spacing: 0.3px;
}

.about-section p {
    color: rgba(255, 255, 255, 0.75);
    max-width: 700px;
    margin: 0 auto calc(var(--spacing-unit) * 4) auto; /* Boşluğu azalt */
    font-size: 1.05em;
    line-height: 1.6;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Minimum genişliği azalt */
    gap: calc(var(--spacing-unit) * 2.5); /* Boşluğu azalt */
    max-width: 900px;
    margin: 0 auto;
    padding: 0 calc(var(--spacing-unit) * 1.5);
}

.feature-item {
    background-color: transparent; /* Pageskin ile uyumlu hale getirildi */
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: calc(var(--spacing-unit) * 2);
    text-align: center;
    box-shadow: 0 3px 10px var(--shadow-medium); /* Daha hafif gölge */
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-item:hover {
    transform: translateY(-4px) scale(1.005); /* Daha hafif hover efekti */
    box-shadow: 0 8px 18px var(--shadow-heavy); /* Daha yumuşak hover gölgesi */
}

.feature-item i {
    font-size: 3em; /* İkon boyutunu küçült */
    color: #8BC34A; /* Daha parlak bir açık yeşil tonu */
    margin-bottom: calc(var(--spacing-unit));
}

.feature-item h3 {
    color: #fff;
    font-size: 1.2em; /* Başlık boyutunu küçült */
    margin-bottom: calc(var(--spacing-unit) * 0.6);
    font-weight: 600;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85em;
    line-height: 1.5;
}

.warning-section {
    background-color: transparent; /* Pageskin ile uyumlu hale getirildi */
    padding: calc(var(--spacing-unit) * 3) 0; /* Padding azalt */
    text-align: center;
    margin-top: calc(var(--spacing-unit) * 3); /* Üst boşluğu azalt */
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px var(--shadow-medium); /* Daha hafif gölge */
}

.warning-text {
    max-width: 600px; /* Maksimum genişliği azalt */
    margin: 0 auto;
    font-size: 1em;
    color: #fff;
    background-color: transparent; /* Pageskin ile uyumlu hale getirildi */
    padding: calc(var(--spacing-unit) * 1.8) calc(var(--spacing-unit) * 2.2);
    border-radius: 10px;
    box-shadow: 0 3px 10px var(--shadow-medium); /* Daha hafif gölge */
    line-height: 1.6;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.warning-text span {
    font-weight: 700;
    color: var(--secondary-color); /* Açık yeşil vurgu */
    margin-right: calc(var(--spacing-unit) * 0.6);
    text-transform: uppercase;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif; /* Font family ekle */
}

.primary-btn {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(56, 142, 60, 0.3); /* Daha yumuşak gölge */
}

.primary-btn:hover {
    background-color: var(--hover-color);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.5); /* Daha yumuşak hover gölgesi */
    transform: translateY(-2px); /* Hafif hover etkisi */
}

/* Eski Blackjack CSS'i kaldırıldı */
/*
.blackjack-section {
    background-color: var(--light-bg);
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.blackjack-section h2 {
    font-size: 3.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 2px;
}

.blackjack-section p {
    font-size: 1.5em;
    color: var(--text-color);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
}

.blackjack-game {
    background-color: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.dealer-hand, .player-hand {
    text-align: center;
}

.dealer-hand h3, .player-hand h3 {
    font-size: 1.8em;
    color: var(--text-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.dealer-hand h3 span, .player-hand h3 span {
    color: var(--primary-color);
    font-weight: 700;
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    min-height: 120px;
    flex-wrap: wrap;
}

.card {
    background-color: #fff;
    color: #000;
    width: 80px;
    height: 110px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #ddd;
    flex-shrink: 0;
}

.card.hidden-card {
    background-color: var(--border-color);
    color: transparent;
    font-size: 0;
    box-shadow: none;
}

.card.red {
    color: #EF5350;
}

.game-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.game-message {
    text-align: center;
    font-size: 1.4em;
    color: #FFEB3B;
    margin-top: 25px;
    font-weight: 600;
}
*/

@media (max-width: 768px) {
    .warning-section {
        padding: calc(var(--spacing-unit) * 2.5) 0;
        margin-top: calc(var(--spacing-unit) * 2.5);
    }

    .warning-text {
        font-size: 0.85em;
        padding: calc(var(--spacing-unit) * 1.2) calc(var(--spacing-unit) * 1.8);
        max-width: 95%;
    }

    .warning-text span {
        margin-right: calc(var(--spacing-unit) * 0.5);
    }

/* Eski Blackjack CSS'i kaldırıldı */
/*
    .blackjack-section {
        padding: 50px 0;
    }

    .blackjack-section h2 {
        font-size: 2.5em;
        margin-bottom: 10px;
    }

    .blackjack-section p {
        font-size: 1.1em;
        margin: 0 auto;
        padding: 0 15px;
    }

    .blackjack-game {
        padding: 20px;
        margin-top: 30px;
        gap: 20px;
    }

    .dealer-hand h3, .player-hand h3 {
        font-size: 1.5em;
        margin-bottom: 15px;
    }

    .cards-container {
        gap: 10px;
        min-height: 100px;
    }

    .card {
        width: 70px;
        height: 100px;
        font-size: 1.5em;
    }

    .game-actions {
        flex-wrap: wrap;
        gap: 15px;
        margin-top: 15px;
    }

    .game-message {
        font-size: 1.2em;
        margin-top: 20px;
    }

    .btn {
        padding: 12px 30px;
        font-size: 1em;
    }
*/
}

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

.link-card.animate-click {
    animation: clickPop 0.3s ease-out;
}

@keyframes livePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4);
        transform: translateY(0);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(76, 175, 80, 0);
        transform: translateY(-3px) scale(1.02); /* Hafif büyütme ekle */
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4);
        transform: translateY(0);
    }
}

@keyframes hueRotateAnimation {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.link-card.sport-link {
    animation: livePulse 1.5s infinite ease-in-out; /* Animasyon süresini kısalt */
    border-color: var(--primary-color);
}

.link-card.sport-link .link-icon {
    animation: hueRotateAnimation 3s linear infinite; /* Animasyon süresini daha da kısalt */
    background-color: var(--secondary-color); /* Açık yeşil arka plan */
    color: #fff;
    box-shadow: 0 0 15px var(--secondary-color); /* Açık yeşil gölge */
}

.link-card.sport-link.primary {
    background-color: var(--primary-color); /* Tema rengiyle çakışmayı engelle */
}

/* Custom Scrollbar Styles */
::-webkit-scrollbar {
    width: 10px; /* Daha ince scrollbar */
}

::-webkit-scrollbar-track {
    background: var(--dark-bg); /* Hafif gri track */
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
    border: 2px solid var(--dark-bg); /* Hafif gri border */
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Game Modal Styles */
.game-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px); /* Add a subtle blur */
}

.game-modal-content {
    position: relative;
    background-color: transparent; /* Pageskin ile uyumlu hale getirildi */
    margin: 5% auto; /* 5% from the top and centered */
    padding: 10px;
    border-radius: 10px;
    width: 90%; /* Could be more responsive */
    max-width: 1200px; /* Max width for larger screens */
    height: 85%; /* Adjust height as needed */
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
}

.game-modal-content iframe {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background-color: black; /* Ensure iframe background is dark */
}

.close-button {
    color: #fff; /* White close button */
    font-size: 40px; /* Larger close button */
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 25px;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1001; /* Ensure it's above the iframe */
}

.close-button:hover,
.close-button:focus {
    color: var(--primary-color); /* Highlight on hover */
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .game-modal-content {
        width: 95%;
        height: 90%;
        margin: 2.5% auto; /* Adjust margin for mobile */
    }
    .close-button {
        font-size: 32px;
        top: 8px;
        right: 20px;
    }
}

