/* Genel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0f0d24;
    color: #fff;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
}

/* Animasyonlu Gradient Efekti (Başlıklar için) */
.animated-gradient-text {
    background: linear-gradient(45deg, #d834b0, #7b41d6, #d834b0);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 3s ease infinite;
}

/* Animasyonlu Buton (Parlama ve Gradient) */
.animated-glow-button {
    background: linear-gradient(45deg, #d834b0, #7b41d6, #d834b0);
    background-size: 200% 200%;
    box-shadow: 0 0 15px rgba(216, 52, 176, 0.7), 0 0 25px rgba(123, 65, 214, 0.5);
    animation: gradientFlow 3s ease infinite, glowPulse 1.5s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.animated-glow-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(216, 52, 176, 1), 0 0 30px rgba(123, 65, 214, 0.8);
}

/* Gradient Akışı Animasyonu */
@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Parlama (Glow) Animasyonu */
@keyframes glowPulse {
    0% { box-shadow: 0 0 15px rgba(216, 52, 176, 0.7), 0 0 25px rgba(123, 65, 214, 0.5); }
    50% { box-shadow: 0 0 25px rgba(216, 52, 176, 1), 0 0 35px rgba(123, 65, 214, 0.8); }
    100% { box-shadow: 0 0 15px rgba(216, 52, 176, 0.7), 0 0 25px rgba(123, 65, 214, 0.5); }
}

/* Popup */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.popup-content {
    background: linear-gradient(145deg, #2a245c, #17152e);
    padding: 30px;
    border-radius: 24px;
    text-align: center;
    width: 90%;
    max-width: 480px;
    box-shadow: 0 0 50px rgba(216, 52, 176, 0.7), 0 0 25px rgba(123, 65, 214, 0.5);
    animation: popupIn 0.7s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    position: relative;
    overflow: hidden;
    border: 3px solid transparent;
    border-image: linear-gradient(45deg, #d834b0, #7b41d6) 1;
}

.popup-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(216, 52, 176, 0.3) 10%, transparent 40%);
    animation: rotateGlow 10s linear infinite;
    z-index: -1;
    opacity: 0.4;
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #fff;
    transition: color 0.3s, transform 0.3s;
}

.popup-close:hover {
    color: #ff7bdf;
    transform: scale(1.2) rotate(90deg);
}

.popup-header h2 {
    font-size: 2.4rem;
    margin-bottom: 12px;
    color: #fff;
    font-weight: 800;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
    animation: textGlow 2s ease-in-out infinite alternate;
}

.popup-header .emoji {
    display: inline-block;
    animation: emojiBounce 1.5s ease-in-out infinite;
}

.popup-header p {
    font-size: 1.2rem;
    color: #d0d0e6;
    margin-bottom: 20px;
    line-height: 1.6;
}

.popup-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(45deg, #d834b0, #7b41d6);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(216, 52, 176, 0.9);
}

.btn-secondary {
    background: linear-gradient(45deg, #6f0e9c, #4b0773);
    color: #fff;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(123, 65, 214, 0.9);
}

@keyframes popupIn {
    0% { transform: scale(0.5) rotate(-10deg); opacity: 0; }
    80% { transform: scale(1.1) rotate(3deg); opacity: 1; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes textGlow {
    0% { text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4); }
    100% { text-shadow: 0 3px 12px rgba(216, 52, 176, 0.7); }
}

@keyframes emojiBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Hero Section */
.hero-section {
    background: 
        linear-gradient(135deg, #17152e, #0f0d24),
        radial-gradient(circle at 10% 20%, rgba(216, 52, 176, 0.2) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(123, 65, 214, 0.2) 0%, transparent 20%);
    background-size: 100% 100%, 200% 200%, 200% 200%;
    animation: moveBg 15s linear infinite;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@keyframes moveBg {
    0% {
        background-position: 0% 0%, 0% 0%, 100% 100%;
    }
    50% {
        background-position: 100% 100%, 50% 50%, 0% 0%;
    }
    100% {
        background-position: 0% 0%, 0% 0%, 100% 100%;
    }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto 30px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.text-gradient {
    background: linear-gradient(45deg, #d834b0, #7b41d6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.1rem;
    color: #a5a5c9;
    margin-bottom: 20px;
}

.btn-animated {
    background: linear-gradient(45deg, #d834b0, #7b41d6);
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(216, 52, 176, 0.4);
}

.btn-animated:focus {
    outline: 2px solid #d834b0;
    outline-offset: 2px;
}

.btn-animated:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(216, 52, 176, 0.6);
}

.hero-games {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.hero-game-card {
    width: 200px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
}

.hero-game-card:hover {
    transform: scale(1.05);
}

.hero-game-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.hero-game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.hero-game-card:hover .hero-game-overlay {
    opacity: 1;
}

.hero-game-overlay h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #fff;
}

.hero-game-overlay .play-now {
    background: #d834b0;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #fff;
}

/* News Ticker */
.news-ticker {
    background: #6f0e9c;
    padding: 10px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.ticker-items {
    display: flex;
    animation: tickerMove var(--ticker-speed, 15s) linear infinite;
}

.ticker-item {
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-size: 0.95rem;
    color: #fff;
    white-space: nowrap;
}

.ticker-item i {
    margin-right: 8px;
    color: #ff7bdf;
}

@keyframes tickerMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Oyun Kartları */
.games-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(50px, 1fr));
    gap: 15px;
}

@media (min-width: 640px) {
    .games-grid {
        grid-template-columns: repeat(3, minmax(150px, 1fr));
    }
}

@media (min-width: 768px) {
    .games-grid {
        grid-template-columns: repeat(4, minmax(160px, 1fr));
        gap: 10px;
    }
}

@media (min-width: 1024px) {
    .games-grid {
        grid-template-columns: repeat(5, minmax(170px, 1fr));
    }
}

@media (min-width: 1280px) {
    .games-grid {
        grid-template-columns: repeat(6, minmax(170px, 1fr));
    }
}

@media (max-width: 767px) {
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
        gap: 10px;
    }
}

/* Modern Game Card Styles */
.modern-game-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.modern-game-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 10px 20px rgba(139, 92, 246, 0.15),
        0 0 30px rgba(236, 72, 153, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
}

.modern-game-image-container {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.modern-game-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.modern-game-card:hover .modern-game-image {
    transform: scale(1.1);
}

.modern-game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(139, 92, 246, 0.85), rgba(236, 72, 153, 0.85));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-game-card:hover .modern-game-overlay {
    opacity: 1;
}

.modern-play-button {
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a2e;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.modern-play-button:hover {
    transform: scale(1.1);
    background: white;
}

.modern-game-content {
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

.modern-game-title {
    font-size: 14px;
    font-weight: 600;
    color: white;
    line-height: 1.3;
    margin-bottom: 10px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.modern-game-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.modern-stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.modern-stat-item i {
    color: #f59e0b;
}

.modern-game-category {
    display: inline-block;
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 500;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.modern-game-badges {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
}

.modern-badge {
    padding: 3px 6px;
    border-radius: 8px;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.modern-badge-trending {
    background: linear-gradient(45deg, #ef4444, #dc2626);
    color: white;
}

.modern-badge-popular {
    background: linear-gradient(45deg, #8b5cf6, #7c3aed);
    color: white;
}

.modern-badge-new {
    background: linear-gradient(45deg, #10b981, #059669);
    color: white;
}

/* Haber Kartları */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
}

.news-card {
    background: #17152e;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image {
    position: relative;
    padding-top: 56.25%; /* 16:9 */
}

.news-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 12px;
}

.news-content .badge {
    margin-bottom: 8px;
    background: #d834b0;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.news-date {
    font-size: 0.85rem;
    color: #a5a5c9;
    margin-bottom: 8px;
}

.news-date i {
    margin-right: 4px;
}

.news-summary {
    font-size: 0.9rem;
    color: #a5a5c9;
    line-height: 1.4;
}

/* Sidebar */
.sticky-sidebar {
    position: sticky;
    top: 20px;
    will-change: transform;
}
.sidebar-card {
    background: #17152e;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.sidebar-header {
    background: #2a245c;
    padding: 12px;
    font-size: 1.1rem;
    font-weight: 600;
}

.category-list {
    list-style: none;
    padding: 8px 0;
}

.category-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    color: #a5a5c9;
    transition: background 0.2s;
}

.category-item:hover {
    background: #2a245c;
    color: #fff;
}

.category-item i {
    margin-right: 8px;
    color: #d834b0;
}

.category-count {
    margin-left: auto;
    background: #2a245c;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.85rem;
}

.tags-container {
    padding: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: #2a245c;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    color: #a5a5c9;
    transition: all 0.2s;
}

.tag:hover {
    background: #d834b0;
    color: #fff;
}

.all-tags-link {
    display: block;
    padding: 8px 12px;
    text-align: right;
    color: #d834b0;
    font-size: 0.85rem;
}

.all-tags-link:hover {
    color: #ff7bdf;
}

.premium-box {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.premium-box p {
    padding: 12px;
    color: #a5a5c9;
}

.premium-box .btn {
    margin: 0 12px 12px;
    border-radius: 25px;
    background: #d834b0;
}

.premium-box .btn:hover {
    background: #7b41d6;
}

/* Liderlik Tablosu için Özel Stiller (PC) */
.leaderboard-outer-container {
    background-color: #17152e;
}

.animated-gradient-text-leaderboard {
    background: linear-gradient(45deg, #f87171, #fb923c, #fbbf24, #a3e635, #4ade80, #38bdf8, #818cf8, #c084fc, #f472b6, #f87171);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlowLeaderboard 10s ease infinite;
}

@keyframes gradientFlowLeaderboard {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.lb-player-card {
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

.lb-player-card:hover {
    transform: translateY(-6px) scale(1.02);
}

.lb-first-player-card {
    border: 2px solid #facc15;
    box-shadow: 0 0 15px rgba(250, 204, 21, 0.3), 0 0 25px rgba(250, 204, 21, 0.15);
}

.lb-first-player-card:hover {
    box-shadow: 0 0 25px rgba(250, 204, 21, 0.5), 0 0 40px rgba(250, 204, 21, 0.3);
}

.lb-crown-icon {
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
    animation: lbSubtleBob 3s ease-in-out infinite;
}

@keyframes lbSubtleBob {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-3px) rotate(2deg); }
}

.lb-second-player-card:hover {
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.3), 0 0 25px rgba(192, 192, 192, 0.15);
}

.lb-third-player-card:hover {
    box-shadow: 0 0 15px rgba(205, 127, 50, 0.3), 0 0 25px rgba(205, 127, 50, 0.15);
}

.lb-custom-scrollbar::-webkit-scrollbar { width: 4px; }
.lb-custom-scrollbar::-webkit-scrollbar-track { background: #1e1b34; border-radius: 6px; }
.lb-custom-scrollbar::-webkit-scrollbar-thumb { background: #4a4176; border-radius: 6px; }
.lb-custom-scrollbar::-webkit-scrollbar-thumb:hover { background: #60559c; }

.lb-particle-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    border-radius: 0.75rem;
}

.lb-particle {
    position: absolute;
    background-color: rgba(124, 58, 237, 0.15);
    border-radius: 50%;
    animation: lbFloat 30s infinite ease-in-out;
    opacity: 0;
}

@keyframes lbFloat {
    0% { transform: translateY(100vh) scale(0.3); opacity: 0; }
    20% { opacity: 0.4; }
    50% { transform: translateY(50vh) scale(0.7); }
    80% { opacity: 0.4; }
    100% { transform: translateY(0vh) scale(0.3); opacity: 0; }
}

/* Liderlik Tablosu */
.leaderboard-section {
    background: #17152e;
    border-radius: 10px;
    padding: 20px;
}

.top-players-container {
    text-align: center;
}

.top-three-players {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
}

.top-player {
    background: #2a245c;
    border-radius: 10px;
    padding: 15px;
    width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.top-player:hover {
    transform: scale(1.05);
}

.first-player {
    border: 3px solid #d834b0;
    width: 250px;
    margin: 0 -10px;
}

.avatar-frame {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 10px auto;
    border: 3px solid;
}

.first-player .avatar-frame {
    width: 100px;
    height: 100px;
}

.avatar-frame.gold { border-color: gold; }
.avatar-frame.silver { border-color: silver; }
.avatar-frame.bronze { border-color: #cd7f32; }

.rank-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #d834b0;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.crown-icon {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    color: gold;
    font-size: 24px;
}

.player-username {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.player-stat {
    font-size: 0.9rem;
    color: #a5a5c9;
    margin-bottom: 8px;
}

.player-trophy {
    font-size: 1.2rem;
}

.player-trophy.gold { color: gold; }
.player-trophy.silver { color: silver; }
.player-trophy.bronze { color: #cd7f32; }

.other-players-list {
    margin-top: 20px;
    display: grid;
    gap: 10px;
}

.player-item {
    background: #2a245c;
    padding: 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.player-rank {
    width: 32px;
    height: 32px;
    background: #d834b0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: #fff;
    font-weight: bold;
}

.player-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 12px;
}

.player-info {
    flex-grow: 1;
}

.player-name {
    font-size: 1rem;
    font-weight: bold;
}

.player-game-count {
    font-size: 0.8rem;
    color: #a5a5c9;
}

.player-level {
    display: flex;
    align-items: center;
    gap: 5px;
}

.xp-badge {
    background: #d834b0;
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 0.8rem;
    color: #fff;
}

.xp-value {
    font-size: 0.9rem;
    color: #a5a5c9;
}

/* Mobil Uygulama */
.mobile-app-section {
    background: linear-gradient(135deg, #6f0e9c, #4b0773);
    padding: 40px 0;
}

.mobile-app-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.mobile-app-section p {
    font-size: 1rem;
    color: #a5a5c9;
    margin-bottom: 15px;
}

.app-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.app-features span {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.app-features i {
    margin-right: 8px;
    color: #ff7bdf;
}

.app-buttons {
    display: flex;
    gap: 15px;
}

.app-btn {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 25px;
    background: #17152e;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.app-btn:hover {
    background: #d834b0;
    transform: scale(1.05);
}

.app-btn i {
    font-size: 1.2rem;
    margin-right: 8px;
}

.app-mockup {
    max-width: 100%;
    height: auto;
}

/* Mobil Navigasyon */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #17152e;
    border-top: 1px solid #2a245c;
    justify-content: space-around;
    padding: 12px 0;
    z-index: 1000;
}

.mobile-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #a5a5c9;
    text-decoration: none;
    font-size: 0.85rem;
}

.mobile-nav i {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.mobile-nav a:hover, .mobile-nav a.active {
    color: #d834b0;
}

/* Responsive */
@media (min-width: 768px) {
    .hero-section {
        padding: 60px 40px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-description {
        font-size: 1.2rem;
    }

    .hero-game-card {
        width: 250px;
    }

    .hero-game-card img {
        height: 180px;
    }

    .hero-game-overlay h3 {
        font-size: 1.2rem;
    }

    .news-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }

    .top-three-players {
        flex-direction: row;
        gap: 20px;
    }

    .top-player {
        width: 200px;
    }

    .first-player {
        width: 250px;
    }

    .app-buttons {
        flex-direction: row;
    }

    .mobile-app-section h2 {
        font-size: 2.5rem;
    }

    .sticky-sidebar-container {
        display: block;
    }
}

@media (max-width: 767px) {
    .popup-content {
        padding: 20px;
        max-width: 340px;
    }

    .popup-header h2 {
        font-size: 1.8rem;
    }

    .popup-header p {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .popup-close {
        top: 15px;
        right: 15px;
        font-size: 24px;
    }

    .popup-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .hero-section {
        padding: 20px 10px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .hero-content {
        margin-bottom: 20px;
    }

    .btn-animated {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .hero-games {
        gap: 10px;
    }

    .hero-game-card {
        width: 100px;
    }

    .hero-game-card img {
        height: 75px;
    }

    .hero-game-overlay h3 {
        font-size: 0.7rem;
        margin-bottom: 5px;
    }

    .hero-game-overlay .play-now {
        padding: 2px 8px;
        font-size: 0.6rem;
    }

    .news-ticker {
        padding: 6px 0;
    }

    .ticker-item {
        font-size: 0.8rem;
        padding: 0 15px;
    }

    .ticker-item i {
        margin-right: 5px;
        font-size: 0.9rem;
    }

    .news-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 6px;
    }

    .news-card {
        border-radius: 6px;
    }

    .news-image {
        padding-top: 56.25%;
    }

    .news-content {
        padding: 5px;
    }

    .news-title {
        font-size: 0.7rem;
        margin-bottom: 3px;
    }

    .news-date {
        font-size: 0.5rem;
        margin-bottom: 3px;
    }

    .news-summary {
        font-size: 0.6rem;
        line-height: 1.2;
    }

    .news-content .badge {
        font-size: 0.5rem;
        padding: 2px 4px;
    }

    .sticky-sidebar-container {
        display: none;
    }

    .leaderboard-section {
        padding: 12px;
    }

    .section-title h2 {
        font-size: 1rem;
    }

    .view-all {
        font-size: 0.7rem;
    }

    .top-three-players {
        flex-direction: row;
        gap: 10px;
        align-items: center;
        justify-content: center;
    }

    .top-player {
        width: 100px;
        padding: 8px;
        border-radius: 6px;
    }

    .first-player {
        width: 120px;
        margin: 0;
    }

    .avatar-frame {
        width: 40px;
        height: 40px;
    }

    .first-player .avatar-frame {
        width: 50px;
        height: 50px;
    }

    .rank-badge {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
        top: -10px;
    }

    .crown-icon {
        font-size: 14px;
        top: -16px;
    }

    .player-username {
        font-size: 0.7rem;
        margin-bottom: 3px;
    }

    .player-stat {
        font-size: 0.6rem;
        margin-bottom: 3px;
    }

    .player-trophy {
        font-size: 0.8rem;
    }

    .other-players-list {
        margin-top: 10px;
        gap: 6px;
    }

    .player-item {
        padding: 6px;
        border-radius: 5px;
    }

    .player-rank {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
        margin-right: 6px;
    }

    .player-avatar {
        width: 25px;
        height: 25px;
        margin-right: 6px;
    }

    .player-name {
        font-size: 0.7rem;
    }

    .player-game-count {
        font-size: 0.6rem;
    }

    .xp-badge {
        padding: 2px 5px;
        font-size: 0.6rem;
    }

    .xp-value {
        font-size: 0.7rem;
    }

    .mobile-app-section {
        padding: 15px 0;
    }

    .mobile-app-section h2 {
        font-size: 1.3rem;
    }

    .mobile-app-section p {
        font-size: 0.8rem;
    }

    .app-features {
        gap: 6px;
    }

    .app-features span {
        padding: 5px 10px;
        font-size: 0.7rem;
    }

    .app-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .app-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .app-btn i {
        font-size: 0.9rem;
    }

    .app-mockup {
        max-height: 180px;
        margin-top: 8px;
    }

    .mobile-nav {
        display: flex;
        padding: 8px 0;
    }

    .mobile-nav a {
        font-size: 0.6rem;
    }

    .mobile-nav i {
        font-size: 0.9rem;
    }

    /* Mobil için farklı ve minimal tasarım */
    .leaderboard-outer-container {
        background-color: #17152e;
        padding: 8px;
        border-radius: 8px;
    }

    .section-title-leaderboard {
        padding: 0 4px;
        margin-bottom: 8px;
    }

    .section-title-leaderboard h2 {
        font-size: 14px;
    }

    .section-title-leaderboard p {
        font-size: 10px;
    }

    .top-players-container {
        padding: 0 4px;
    }

    #lb-podium-container {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }

    .lb-player-card {
        padding: 8px;
        border-radius: 6px;
        width: 100%;
        margin-top: 0 !important;
        background: #221e3e;
        border: none;
        box-shadow: none;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .lb-first-player-card, .lb-second-player-card, .lb-third-player-card {
        box-shadow: none;
        border: none;
    }

    .lb-crown-icon {
        width: 24px;
        height: 24px;
        top: -2px;
        position: static;
        margin-right: 8px;
    }

    .rank-icon {
        width: 20px !important;
        height: 20px !important;
        font-size: 10px !important;
        position: static !important;
        margin-right: 8px;
    }

    .player-name {
        font-size: 12px;
        flex-grow: 1;
        text-align: left;
    }

    .player-game-count, .player-xp {
        font-size: 10px;
        margin-left: 8px;
    }

    .other-players-list {
        space-y: 2px;
    }

    .other-players-list h3 {
        font-size: 12px;
    }

    .other-players-list .lb-player-card {
        padding: 6px;
        backdrop-blur: none;
        background: #221e3e;
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
    }

    .other-players-list .player-rank {
        width: 16px;
        height: 16px;
        font-size: 8px;
    }

    .other-players-list .player-info {
        flex-grow: 1;
        text-align: left;
    }

    .other-players-list .player-name {
        font-size: 11px;
    }

    .other-players-list .player-game-count, .other-players-list .player-xp {
        font-size: 9px;
    }

    .lb-particle-background {
        display: none;
    }
}
        /* Modern Game Card Styles from games.php */
        .modern-game-card {
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 16px;
            overflow: hidden;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            cursor: pointer;
            backdrop-filter: blur(10px);
        }

        .modern-game-card:hover {
            transform: translateY(-8px);
            box-shadow: 
                0 20px 40px rgba(0, 0, 0, 0.3),
                0 10px 20px rgba(139, 92, 246, 0.15),
                0 0 30px rgba(236, 72, 153, 0.1);
            border-color: rgba(139, 92, 246, 0.3);
        }

        .modern-game-image-container {
            position: relative;
            width: 100%;
            height: 160px;
            overflow: hidden;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }

        .modern-game-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            transition: transform 0.4s ease;
        }

        .modern-game-card:hover .modern-game-image {
            transform: scale(1.1);
        }

        .modern-game-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, rgba(139, 92, 246, 0.85), rgba(236, 72, 153, 0.85));
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .modern-game-card:hover .modern-game-overlay {
            opacity: 1;
        }

        .modern-play-button {
            background: rgba(255, 255, 255, 0.95);
            color: #1a1a2e;
            border: none;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
        }

        .modern-play-button:hover {
            transform: scale(1.1);
            background: white;
        }

        .modern-game-content {
            padding: 16px;
            background: rgba(0, 0, 0, 0.2);
            backdrop-filter: blur(5px);
        }

        .modern-game-title {
            font-size: 14px;
            font-weight: 600;
            color: white;
            line-height: 1.3;
            margin-bottom: 10px;
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }

        .modern-game-stats {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 12px;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 10px;
        }

        .modern-stat-item {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .modern-stat-item i {
            color: #f59e0b;
        }

        .modern-game-category {
            display: inline-block;
            background: rgba(139, 92, 246, 0.2);
            color: #a78bfa;
            padding: 3px 8px;
            border-radius: 8px;
            font-size: 10px;
            font-weight: 500;
            border: 1px solid rgba(139, 92, 246, 0.3);
        }

        .modern-game-badges {
            position: absolute;
            top: 8px;
            right: 8px;
            z-index: 10;
        }

        .modern-badge {
            padding: 3px 6px;
            border-radius: 8px;
            font-size: 9px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.3px;
        }

        .modern-badge-trending {
            background: linear-gradient(45deg, #ef4444, #dc2626);
            color: white;
        }

        .modern-badge-popular {
            background: linear-gradient(45deg, #8b5cf6, #7c3aed);
            color: white;
        }

        .modern-badge-new {
            background: linear-gradient(45deg, #10b981, #059669);
            color: white;
        }

        /* Responsive adjustments for mobile */
        @media (max-width: 767px) {
            .modern-game-image-container {
                height: 120px;
            }
            
            .modern-game-content {
                padding: 12px;
            }
            
            .modern-game-title {
                font-size: 13px;
            }
            
            .modern-game-stats {
                font-size: 11px;
                gap: 8px;
            }
            
            .modern-play-button {
                width: 40px;
                height: 40px;
                font-size: 14px;
            }
            
            .modern-game-category {
                display: none;
            }
        }
