/* VDSGame - VDS Game teması (Türkçe) */
:root {
    --font-display: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: white;
    overflow-x: hidden;
}

h1, h2, h3, h4, .brand-font {
    font-family: var(--font-display);
}

.cyber-grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background:
        linear-gradient(transparent 0%, var(--bg-color) 80%),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    transform: perspective(500px) rotateX(20deg) scale(1.5);
    transform-origin: top center;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { background-position: 0 0, 0 0, 0 0; }
    100% { background-position: 0 0, 0 40px, 0 40px; }
}

.glass-panel {
    background: rgba(18, 18, 28, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.glass-strong {
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.marquee-container {
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    pointer-events: auto;
}

.marquee-content {
    display: flex;
    gap: 4rem;
    animation: scroll 25s linear infinite;
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

.marquee-content span {
    transition: all 0.3s ease;
    cursor: default;
}

.marquee-content span:hover {
    color: var(--secondary-color);
    transform: scale(1.05);
    opacity: 1 !important;
}

.marquee-container:hover .marquee-content span:not(:hover) {
    opacity: 0.3;
    filter: blur(1px);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.game-card {
    flex: 1;
    transition: flex 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    cursor: pointer;
}

.game-card:hover {
    flex: 4;
}

.game-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg-color), transparent);
    z-index: 10;
}

.game-content-hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.1s;
}

.game-card:hover .game-content-hidden {
    opacity: 1;
    transform: translateY(0);
}

.game-card:hover .game-icon-large {
    opacity: 0.1;
    transform: scale(1.5);
}

.text-glow { text-shadow: 0 0 20px var(--primary-glow); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-color); }
::-webkit-scrollbar-thumb { background: var(--primary-color); border-radius: 4px; }

@keyframes consolePulse {
    0%, 100% { box-shadow: 0 0 0px rgba(0,0,0,0); border-color: rgba(255,255,255,0.1); }
    50% { box-shadow: 0 0 30px var(--primary-glow, rgba(255, 213, 27, 0.2)); border-color: var(--primary-color); }
}

.console-breathing {
    animation: consolePulse 4s ease-in-out infinite;
    border: 1px solid transparent;
}

@media (hover: none) {
    .game-content-hidden { max-height: 300px !important; opacity: 1 !important; }
    .marquee-container:active .marquee-content { animation-play-state: paused; }
    .marquee-container:hover .marquee-content { animation-play-state: running; }
}

@media (max-width: 768px) {
    .location-card {
        width: 200px !important;
        left: 50% !important;
        transform: translateX(-50%) translateY(10px) !important;
        margin-bottom: 0 !important;
        bottom: auto !important;
        top: 100% !important;
    }
    .location-card > div > div.absolute {
        top: -0.5rem !important;
        bottom: auto !important;
        border-width: 1px 0 0 1px !important;
        background-color: #0f0f1a;
    }
    #locationsMap { min-height: 300px; }
}

#mobile-menu { transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s; }
#mobile-menu.open { opacity: 1; pointer-events: auto; transform: translateY(0); visibility: visible; }
#mobile-menu.closed { opacity: 0; pointer-events: none; transform: translateY(-20px); visibility: hidden; }
.mobile-accordion-btn .fa-chevron-down { transition: transform 0.2s ease; }
.mobile-accordion-btn .fa-chevron-down.rotate-180 { transform: rotate(180deg); }
.mobile-accordion-content { transition: max-height 0.25s ease; }

.feature-item {
    border-left: 2px solid transparent;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.feature-item.active {
    border-left: 2px solid var(--primary-color);
    background: linear-gradient(90deg, rgba(var(--primary-rgb), 0.1) 0%, transparent 100%);
    padding-left: 1.5rem;
}

.feature-item.active h3 {
    color: var(--primary-color);
}

.highlight-accent {
    background-color: var(--primary-color);
    color: black;
    padding: 0 4px;
    font-weight: 600;
}

.console-line {
    font-family: 'Courier New', Courier, monospace;
    padding: 2px 0;
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.3s ease-out;
}

.hero-mask {
    mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
}

/* Oyun sunucuları slider */
.game-slider-wrapper { padding-bottom: 0.5rem; }
.game-slider-dot.active,
.game-slider-dot[aria-current="true"] { background-color: var(--primary-color) !important; }
.game-slider-dot { transition: background-color 0.2s ease, transform 0.2s ease; }
.game-slider-dot:hover { transform: scale(1.15); }

/* Küresel Altyapı - 3 bölge harita */
.global-map-wrap { position: relative; }
.global-map-node {
    transition: transform 0.25s ease;
}
.global-map-node:hover {
    transform: scale(1.05);
}
.global-map-node .rounded-full {
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.global-map-node:hover .rounded-full {
    box-shadow: 0 0 24px rgba(249, 115, 22, 0.25);
    border-color: rgba(249, 115, 22, 0.5);
}

/* En üst hero banner slider */
.hero-banner-slider { position: relative; }
.hero-banner-slide { width: 100%; box-sizing: border-box; }
.hero-banner-track { width: 100%; }
.hero-banner-dot.bg-white\/60 { background-color: var(--primary-color) !important; }
@media (max-width: 640px) {
    .hero-banner-slider { min-height: 320px; }
    .hero-banner-prev, .hero-banner-next { touch-action: manipulation; }
    .hero-banner-dot { min-width: 44px; min-height: 44px; }
}

/* Ağ & Güvenlik – DDoS akış */
.ddos-flow__item { position: relative; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.ddos-flow__tag {
    position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
    font-size: 0.65rem; font-weight: 700; padding: 0.2rem 0.5rem; border-radius: 999px;
    white-space: nowrap; background: rgba(56, 189, 248, 0.3); color: #7dd3fc;
}
.ddos-flow__tag--tr { background: rgba(248, 113, 113, 0.4); color: #fca5a5; }
.ddos-flow__icon {
    width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
    border-radius: 12px; border: 1px solid; flex-shrink: 0; font-size: 1.25rem;
}
.ddos-flow__arrow {
    width: 24px; height: 2px; background: linear-gradient(90deg, rgba(255, 213, 27, 0.5), rgba(255, 213, 27, 0.2));
    flex-shrink: 0;
}
.ddos-flow__node-icon { display: block; }
@media (max-width: 768px) {
    .ddos-flow { flex-direction: column; align-items: center; }
    .ddos-flow__arrow { width: 2px; height: 16px; background: linear-gradient(180deg, rgba(255, 213, 27, 0.4), transparent); }
    .ddos-flow__node { min-width: 0 !important; }
}
