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

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    max-width: 100vw;
}

:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #0f3460;
    --text-color: #ffffff;
    --text-secondary: #b8b8b8;
    --hover-color: #e94560;
    --card-bg: #1f1f3a;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    color: var(--text-color);
    min-height: 100vh;
    line-height: 1.6;
}

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

/* Navigation */
.navbar {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* New Year Lights Wrapped Around Navbar */
.navbar {
    position: relative !important;
    overflow: visible !important;
}

.navbar-lights {
    position: absolute !important;
    top: -12px !important;
    left: 0 !important;
    right: 0 !important;
    height: 20px !important;
    overflow: visible !important;
    pointer-events: none !important;
    z-index: 1001 !important;
    width: 100% !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.light-string {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    visibility: visible !important;
}

.light-bulb {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    position: relative !important;
    animation: lightFlicker 1.2s infinite ease-in-out !important;
    display: block !important;
    flex-shrink: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.light-bulb::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 10px currentColor, 0 0 20px currentColor, 0 0 30px currentColor;
    animation: lightPulse 1.2s infinite ease-in-out;
}

.light-bulb::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.9);
}

/* Renkler - yeni yıl temalı */
.light-bulb:nth-child(8n+1) { color: #ff0000; animation-delay: 0s; }
.light-bulb:nth-child(8n+2) { color: #00ff00; animation-delay: 0.15s; }
.light-bulb:nth-child(8n+3) { color: #0000ff; animation-delay: 0.3s; }
.light-bulb:nth-child(8n+4) { color: #ffff00; animation-delay: 0.45s; }
.light-bulb:nth-child(8n+5) { color: #ff00ff; animation-delay: 0.6s; }
.light-bulb:nth-child(8n+6) { color: #00ffff; animation-delay: 0.75s; }
.light-bulb:nth-child(8n+7) { color: #ff8000; animation-delay: 0.9s; }
.light-bulb:nth-child(8n+8) { color: #ff0080; animation-delay: 1.05s; }

@keyframes lightFlicker {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
    }
    25% { 
        opacity: 0.3; 
        transform: scale(0.7);
    }
    50% { 
        opacity: 0.6; 
        transform: scale(0.9);
    }
    75% { 
        opacity: 0.4; 
        transform: scale(0.8);
    }
}

@keyframes lightPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1); 
        opacity: 1;
        box-shadow: 0 0 10px currentColor, 0 0 20px currentColor, 0 0 30px currentColor;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.3); 
        opacity: 0.8;
        box-shadow: 0 0 15px currentColor, 0 0 30px currentColor, 0 0 45px currentColor;
    }
}

/* Snow Effect */
.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -50px;
    color: #ffffff;
    font-size: 1em;
    font-family: Arial, sans-serif;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
    animation: snowfall linear forwards;
    user-select: none;
    display: block;
    white-space: nowrap;
    line-height: 1;
    will-change: transform;
    margin: 0;
    padding: 0;
}

@keyframes snowfall {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(calc(100vh + 100px)) translateX(var(--drift)) rotate(360deg);
        opacity: 0;
    }
}

.nav-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    gap: 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    color: var(--text-color);
    margin-right: 40px;
    position: relative;
}

.logo img {
    height: 40px;
    width: auto;
    position: relative;
}

/* Noel Baba Şapkası - R harfinin üzerine (Sadece Şapka) */
.santa-hat-on-r {
    position: absolute;
    pointer-events: none;
    z-index: 10;
    top: -10px;
    left: 28px; /* R harfinin yaklaşık pozisyonu - JavaScript ile ayarlanır */
    display: block;
    width: 0;
    height: 0;
}

/* Şapka - CSS ile çizilmiş */
.santa-hat-on-r::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 12px solid #dc2626; /* Kırmızı şapka */
    top: 0;
    left: -8px;
}

/* Şapka kenarı - beyaz */
.santa-hat-on-r::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 4px;
    background: #ffffff;
    top: 12px;
    left: -8px;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Logo text gösterildiğinde şapkayı R harfinin üzerine yerleştir */
.logo-text {
    position: relative;
    display: inline-block;
}

.logo-text::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 10px solid #dc2626;
    top: -0.4em;
    left: calc(2 * 1ch + 0.5ch); /* N ve E'den sonra R'nin başlangıcı */
    pointer-events: none;
    z-index: 10;
}

.logo-text::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 3px;
    background: #ffffff;
    top: calc(-0.4em + 10px);
    left: calc(2 * 1ch + 0.5ch - 6px);
    border-radius: 2px;
    pointer-events: none;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* R harfinin pozisyonunu bulmak için - NEROXGAMES'te R 3. harf */
.logo-text {
    letter-spacing: 0.05em;
}

/* Logo img için de şapka ekle - JavaScript ile pozisyon ayarlanacak */
.logo::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 12px solid #dc2626;
    top: -10px;
    left: 28px; /* R harfinin yaklaşık pozisyonu - JavaScript ile ayarlanır */
    pointer-events: none;
    z-index: 10;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.logo::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 4px;
    background: #ffffff;
    top: 2px;
    left: 20px;
    border-radius: 2px;
    pointer-events: none;
    z-index: 11;
    display: block;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    margin-left: 0;
    flex: 1;
}

/* Push login/signup buttons to the right */
.nav-menu .nav-item.dropdown {
    flex-shrink: 0;
}

/* Push all non-dropdown items (LOGIN, SIGN UP, etc.) to the right */
.nav-menu .nav-item:not(.dropdown) {
    margin-left: auto;
}

/* Keep login and signup together - remove margin from second button */
.nav-menu .nav-item:not(.dropdown) + .nav-item:not(.dropdown) {
    margin-left: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover {
    color: var(--hover-color);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--card-bg);
    min-width: 200px;
    list-style: none;
    padding: 15px;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    gap: 10px;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 15px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s;
    border-radius: 12px;
    min-height: 100px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.dropdown-menu a:hover {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
    color: var(--hover-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.game-dropdown-link {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    position: relative;
}

.game-dropdown-link:hover {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.game-dropdown-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: transform 0.3s;
    display: block;
    margin-bottom: 5px;
}

.game-dropdown-link:hover .game-dropdown-logo {
    transform: scale(1.1);
}

.game-dropdown-link span {
    margin-top: 5px;
    font-size: 12px;
    text-align: center;
}

.game-icon-placeholder {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 5px;
}

.game-icon-placeholder span {
    font-size: 11px;
    text-align: center;
    padding: 5px;
    word-break: break-word;
    line-height: 1.2;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .hero-slider {
        height: 300px;
        margin-bottom: 30px;
    }
    
    .slide-content {
        padding: 20px !important;
    }
    
    .slide-content h2 {
        font-size: 24px !important;
        margin-bottom: 10px;
    }
    
    .slide-content p {
        font-size: 14px !important;
        margin-bottom: 15px;
    }
    
    .btn-primary {
        padding: 10px 20px !important;
        font-size: 14px !important;
    }
    
    .slider-controls {
        display: none;
    }
    
    .slider-dots {
        bottom: 10px !important;
    }
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide-image {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.4);
    z-index: -1;
}

.slide-content {
    text-align: center;
    z-index: 1;
    max-width: 800px;
    padding: 40px;
}

@media (max-width: 768px) {
    .slide-content {
        padding: 20px;
        max-width: 90%;
    }
    
    .slide-content h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .slide-content p {
        font-size: 13px;
        margin-bottom: 15px;
    }
}

.slide-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.slide-content p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: var(--hover-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background: #c73852;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(233, 69, 96, 0.4);
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 2;
}

.slider-btn {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: var(--text-color);
    font-size: 24px;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s;
}

.slider-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--hover-color);
    width: 30px;
    border-radius: 6px;
}

/* Games Section */
.games-section {
    padding: 60px 0;
}

@media (max-width: 768px) {
    .games-section {
        padding: 30px 0;
    }
    
    .games-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .game-card {
        margin-bottom: 0;
    }
    
    .game-image {
        height: 200px !important;
    }
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.game-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(233, 69, 96, 0.3);
}

.game-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.btn-game {
    padding: 12px 30px;
    background: var(--hover-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-game:hover {
    background: #c73852;
    transform: scale(1.05);
}

.game-info {
    padding: 20px;
}

.game-info h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.game-info p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.game-online-count {
    margin-top: 10px;
    padding: 8px 15px;
    background: rgba(0, 255, 0, 0.2);
    border: 1px solid rgba(0, 255, 0, 0.4);
    border-radius: 20px;
    display: inline-block;
    font-size: 14px;
    color: #00ff00;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    animation: pulse-green 2s infinite;
}

.game-online-count:hover {
    background: rgba(0, 255, 0, 0.3);
    border-color: #00ff00;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
}

.game-online-count i {
    margin-right: 5px;
    color: #00ff00;
}

@keyframes pulse-green {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 255, 0, 0.6);
    }
}

/* Game Status Styles */
.game-online {
    border: 3px solid #00ff00 !important;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3) !important;
}

.game-offline {
    border: 3px solid #ff4444 !important;
    box-shadow: 0 0 15px rgba(255, 68, 68, 0.3) !important;
    opacity: 0.7;
}

.game-online-border {
    border: 3px solid #00ff00 !important;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.4) !important;
}

.game-offline-border {
    border: 3px solid #ff4444 !important;
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.4) !important;
    opacity: 0.8;
}

.game-status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
}

.game-status-badge i {
    font-size: 8px;
    animation: pulse-status 2s infinite;
}

.online-badge {
    background: rgba(0, 255, 0, 0.2);
    border: 2px solid #00ff00;
    color: #00ff00;
}

.offline-badge {
    background: rgba(255, 68, 68, 0.2);
    border: 2px solid #ff4444;
    color: #ff4444;
}

.game-status-indicator {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    z-index: 10;
}

.game-status-indicator i {
    font-size: 12px;
    animation: pulse-status 2s infinite;
}

.online-indicator {
    color: #00ff00;
}

.offline-indicator {
    color: #ff4444;
}

@keyframes pulse-status {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.game-offline-badge {
    margin-top: 10px;
    padding: 8px 15px;
    background: rgba(255, 68, 68, 0.2);
    border: 1px solid rgba(255, 68, 68, 0.4);
    border-radius: 20px;
    display: inline-block;
    font-size: 14px;
    color: #ff4444;
    font-weight: 500;
}

.game-offline-badge i {
    margin-right: 5px;
}

/* Footer */
.footer {
    background: var(--primary-color);
    padding: 60px 0 20px;
    margin-top: 80px;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 18px;
    color: var(--hover-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-company {
    background: rgba(0, 0, 0, 0.3);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.footer-company h4 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--hover-color);
}

.footer-company p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.footer-company a {
    color: var(--hover-color);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.footer-security {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    margin-top: 20px;
    text-align: center;
}

.security-badges {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ssl-cert-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.ssl-cert-link:hover {
    opacity: 1;
}

.ssl-badge-icon {
    height: 40px;
    width: auto;
    max-width: 120px;
}

.ssl-badge-fallback {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 12px;
}

.ssl-badge-fallback i {
    color: var(--hover-color);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.footer-links a {
    white-space: nowrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

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

/* Dashboard Styles */
.dashboard-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.dashboard-header {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.dashboard-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--accent-color);
}

.tab-btn {
    padding: 15px 30px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.tab-btn.active {
    color: var(--hover-color);
    border-bottom-color: var(--hover-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.dashboard-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(233, 69, 96, 0.2);
}

.character-card {
    background: linear-gradient(135deg, rgba(31, 31, 58, 0.8) 0%, rgba(15, 52, 96, 0.4) 100%);
    transition: all 0.3s ease;
}

.character-card:hover {
    transform: translateY(-5px);
    border-color: var(--hover-color) !important;
    box-shadow: 0 10px 30px rgba(233, 69, 96, 0.3);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    border: 1px solid var(--accent-color);
    border-radius: 5px;
    color: var(--text-color);
    font-size: 14px;
    transition: all 0.3s;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 35px;
}

.form-group select:hover {
    border-color: var(--hover-color);
}

.form-group select:focus {
    outline: none;
    border-color: var(--hover-color);
    box-shadow: 0 0 0 2px rgba(233, 69, 96, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.btn {
    padding: 12px 30px;
    background: var(--hover-color);
    color: var(--text-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn:hover {
    background: #c73852;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--accent-color);
}

.btn-secondary:hover {
    background: #1a3d6b;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.table th,
.table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--accent-color);
}

.table th {
    background: var(--accent-color);
    color: var(--text-color);
    font-weight: 600;
}

.table tr:hover {
    background: rgba(233, 69, 96, 0.1);
}

.status-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.status-open {
    background: #ff6b6b;
    color: white;
}

.status-in_progress {
    background: #ffa500;
    color: white;
}

.status-resolved {
    background: #51cf66;
    color: white;
}

.status-closed {
    background: #868e96;
    color: white;
}

.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-success {
    background: rgba(81, 207, 102, 0.2);
    border: 1px solid #51cf66;
    color: #51cf66;
}

.alert-error {
    background: rgba(255, 107, 107, 0.2);
    border: 1px solid #ff6b6b;
    color: #ff6b6b;
}

/* Login/Register Forms */
.auth-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 10px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    color: var(--hover-color);
}

.social-login {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.social-btn {
    flex: 1;
    padding: 12px;
    background: var(--primary-color);
    border: 1px solid var(--accent-color);
    border-radius: 5px;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s;
}

.social-btn:hover {
    background: var(--accent-color);
}

.divider {
    text-align: center;
    margin: 20px 0;
    color: var(--text-secondary);
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--accent-color);
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.auth-links {
    text-align: center;
    margin-top: 20px;
}

.auth-links a {
    color: var(--hover-color);
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none !important;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    margin-left: auto;
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    /* Navbar lights mobilde görünsün */
    .navbar {
        overflow: visible !important;
    }
    
    .navbar-lights {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: 18px !important;
        top: -10px !important;
        position: absolute !important;
        z-index: 1001 !important;
    }
    
    .light-string {
        display: flex !important;
        visibility: visible !important;
    }
    
    .light-bulb {
        width: 10px !important;
        height: 10px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .light-bulb::before {
        width: 10px !important;
        height: 10px !important;
        box-shadow: 0 0 8px currentColor, 0 0 15px currentColor, 0 0 22px currentColor !important;
        display: block !important;
    }
    
    .light-bulb::after {
        width: 6px !important;
        height: 6px !important;
        display: block !important;
    }
    
    .mobile-menu-toggle {
        display: block !important;
    }
    
    .nav-content {
        position: relative;
        justify-content: space-between;
    }
    
    .logo {
        margin-right: 0;
    }
    
    /* Mobilde Noel Baba şapkası */
    .santa-hat-on-r {
        top: -8px !important;
    }
    
    .santa-hat-on-r::before {
        border-left-width: 6px !important;
        border-right-width: 6px !important;
        border-bottom-width: 10px !important;
        left: -6px !important;
    }
    
    .santa-hat-on-r::after {
        width: 12px !important;
        height: 3px !important;
        left: -6px !important;
        top: 10px !important;
    }
    
    .logo::after {
        border-left-width: 6px !important;
        border-right-width: 6px !important;
        border-bottom-width: 10px !important;
        top: -8px !important;
        left: 20px !important;
    }
    
    .logo::before {
        width: 12px !important;
        height: 3px !important;
        left: 14px !important;
        top: 2px !important;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 26, 46, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        gap: 0;
        margin: 0;
        padding: 20px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
        width: 100%;
        z-index: 999;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-item:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        padding: 15px 0;
        font-size: 14px;
        width: 100%;
        justify-content: space-between;
    }
    
    .dropdown {
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 0;
        margin-left: 0;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.3);
        width: 100%;
        min-width: auto;
        display: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 15px;
    }
    
    .dropdown-menu.active {
        display: grid;
        max-height: 500px;
    }
    
    .dropdown-menu li {
        width: 100%;
    }
    
    .dropdown-menu a {
        padding: 10px;
        min-height: 80px;
        border: 2px solid rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
    }
    
    .game-dropdown-logo {
        width: 40px;
        height: 40px;
    }
    
    .game-icon-placeholder {
        width: 40px;
        height: 40px;
    }
    
    .game-icon-placeholder span {
        font-size: 9px;
    }
    
    .dropdown-menu {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 10px;
    }
    
    .slide-content h2 {
        font-size: 28px;
    }
    
    .slide-content p {
        font-size: 16px;
    }
    
    .btn-primary {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .game-online-count {
        font-size: 12px;
        padding: 6px 12px;
        color: #00ff00 !important;
        box-shadow: 0 0 15px rgba(0, 255, 0, 0.5) !important;
        animation: pulse-green 2s infinite !important;
    }
    
    .game-online-count i {
        color: #00ff00 !important;
    }
    
    .game-online-count span {
        color: #00ff00 !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 10px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 0 10px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 8px;
        width: 100%;
        max-width: 100%;
        align-items: center;
        justify-content: center;
        padding: 0 15px;
        box-sizing: border-box;
    }
    
    .footer-links a {
        display: block;
        padding: 8px 12px;
        text-align: center;
        width: 100%;
        max-width: 100%;
        font-size: 12px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
        line-height: 1.4;
        box-sizing: border-box;
    }
    
    .footer-bottom {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .footer-bottom p {
        font-size: 12px;
        text-align: center;
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding: 0 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .footer {
        padding: 40px 0 20px;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .footer-section {
        text-align: center;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 10px;
    }
    
    .footer-section h3 {
        font-size: 16px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .footer-section ul {
        padding: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .footer-section a {
        font-size: 13px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        display: block;
        padding: 5px 0;
    }
    
    .footer-company {
        padding: 20px 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .footer-company p {
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding: 0 5px;
    }
    
    .footer-security {
        padding-top: 15px;
    }
    
    .security-badges {
        flex-direction: column;
        gap: 10px;
    }
    
    .ssl-badge-icon {
        height: 35px;
    }
    
    .hero-slider {
        height: 400px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .dashboard-tabs {
        flex-wrap: wrap;
        gap: 5px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .tab-btn {
        padding: 10px 15px;
        font-size: 12px;
        white-space: nowrap;
        font-size: 14px;
    }
    
    .dashboard-card {
        padding: 20px;
    }
    
    /* Character cards mobile */
    .character-card {
        padding: 20px !important;
    }
    
    .character-card h3 {
        font-size: 18px !important;
    }
    
    .character-card > div:first-child {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 10px !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .logo img {
        height: 35px;
    }
    
    .slide-content {
        padding: 20px;
    }
    
    .slide-content h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .slide-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .game-card {
        margin-bottom: 20px;
    }
    
    .dashboard-container {
        padding: 0 15px;
    }
    
    .dashboard-card {
        padding: 20px;
    }
    
    .table {
        font-size: 12px;
    }
    
    .table th,
    .table td {
        padding: 8px;
    }
    
    .game-online-count {
        font-size: 11px;
        padding: 5px 10px;
        color: #00ff00 !important;
        box-shadow: 0 0 15px rgba(0, 255, 0, 0.5) !important;
        animation: pulse-green 2s infinite !important;
    }
    
    .game-online-count i {
        color: #00ff00 !important;
    }
    
    .game-online-count span {
        color: #00ff00 !important;
    }
    
    .footer {
        padding: 30px 0 15px;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .footer-content {
        padding: 0 10px;
        gap: 20px;
    }
    
    .footer-bottom {
        padding: 0 10px;
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-links {
        padding: 0 10px;
        width: 100%;
        max-width: 100%;
    }
    
    .footer-links a {
        font-size: 11px;
        padding: 6px 8px;
    }
    
    .footer-bottom p {
        font-size: 11px;
        padding: 0 5px;
    }
    
    .footer-section {
        padding: 0 5px;
    }
    
    .footer-section h3 {
        font-size: 14px;
    }
    
    .footer-section a {
        font-size: 12px;
    }
    
    .footer-company {
        padding: 15px 10px;
    }
    
    .footer-company p {
        font-size: 12px;
    }
}

