/* ============================================
   DeathKO Portal - style.css
   Version : 5.3.0
   Updated : 2026-05-08
   Author  : THANATOS
   ============================================ */

:root {
    --color-fire: #ff3300;
    --color-fire-glow: rgba(255, 51, 0, 0.5);
    
    --color-myko: #d4af37;
    --color-myko-glow: rgba(212, 175, 55, 0.5);
    
    --color-v2xx: #00e5ff;
    --color-v2xx-glow: rgba(0, 229, 255, 0.5);

    --bg-dark: #050505;
    --text-main: #e0e0e0;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'MedievalSharp', cursive;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-image: url("bgnew4.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    scrollbar-width: thin;
    scrollbar-color: #ff7a00 #1a0a00;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #1a0a00; }
::-webkit-scrollbar-thumb { background: #ff7a00; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #ff9a30; }

/* Logo Section */
.logo-container {
    text-align: center;
    padding: 2rem 0 1rem 0;
    z-index: 10;
    position: relative;
    animation: fadeInDown 1s ease forwards;
}

.main-logo {
    max-width: 500px;
    height: auto;
    transition: transform 0.5s ease;
    filter: sepia(0.45) saturate(1.4) hue-rotate(350deg) brightness(1.05)
            drop-shadow(0 0 3px rgba(255, 120, 20, 0.4));
}

.main-logo:hover {
    transform: scale(1.02);
}

/* Info Banner */
.info-banner {
    margin: 20px auto 0;
    width: calc(100% - 4rem);
    max-width: 1186px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid #b85c18;
    box-shadow: 0 0 15px rgba(184, 92, 24, 0.3);
    padding: 15px 30px;
    position: relative;
    overflow: hidden;
}
.info-banner::before {
    content: '';
    position: absolute;
    top: 4px; left: 4px; right: 4px; bottom: 4px;
    border: 1px solid rgba(255, 122, 0, 0.4);
    pointer-events: none;
}
.banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 0 42px;
}
.banner-inner .line {
    height: 1px;
    flex: 1;
    background: linear-gradient(to right, transparent, #b85c18, transparent);
    opacity: 0.8;
}
.banner-text {
    font-family: 'Cinzel', serif;
    color: #e2c09f;
    font-size: 0.92rem;
    letter-spacing: 1.5px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.9);
    white-space: nowrap;
    text-align: center;
}

.banner-arrow-single {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: #ff8c00;
    filter: drop-shadow(0 0 5px rgba(255, 140, 0, 0.7));
    animation: arrowBounce 1.4s ease-in-out infinite;
    z-index: 2;
    line-height: 1;
}

.arrow-left  { left: 18px; }
.arrow-right { right: 18px; }

@keyframes arrowBounce {
    0%, 100% { transform: translateY(-50%); }
    50%       { transform: translateY(calc(-50% + 4px)); opacity: 0.75; }
}

/* Notice Banner (Marquee) */
.notice-banner {
    margin: 15px auto 0 auto;
    padding: 8px 20px;
    max-width: 800px;
}

.notice-bottom {
    margin: 20px auto 0 auto;
    max-width: 1136px;
    width: calc(100% - 4rem);
    display: none; /* Geçici kapalı - açmak için bu satırı silin */
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    display: block;
}

.marquee-text {
    display: inline-block;
    color: #ffd700;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding-left: 100%;
    animation: marqueeScroll 20s linear infinite;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.notice-label {
    color: #ffd700;
    font-family: 'Cinzel', serif;
    font-weight: 800;
    margin-right: 8px;
    font-size: 1rem;
    text-transform: uppercase;
}

@keyframes marqueeScroll {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

/* Background Effects */
.bg-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(0px);
    z-index: -2;
    pointer-events: none;
}

.fire-glow {
    display: none;
}

@keyframes flicker {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

.fire-particles {
    position: fixed;
    bottom: -100px; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    bottom: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,100,0,0.8) 0%, rgba(255,0,0,0.4) 40%, transparent 70%);
    filter: blur(8px);
    animation: rise infinite linear;
    opacity: 0;
}

.particle:nth-child(1) { left: 5%; animation-duration: 4s; animation-delay: 0s; width: 30px; height: 30px; }
.particle:nth-child(2) { left: 15%; animation-duration: 5s; animation-delay: 1s; width: 20px; height: 20px; }
.particle:nth-child(3) { left: 25%; animation-duration: 3.5s; animation-delay: 2s; width: 40px; height: 40px; }
.particle:nth-child(4) { left: 35%; animation-duration: 4.5s; animation-delay: 0.5s; width: 25px; height: 25px; }
.particle:nth-child(5) { left: 45%; animation-duration: 6s; animation-delay: 1.5s; width: 45px; height: 45px; }
.particle:nth-child(6) { left: 55%; animation-duration: 4.2s; animation-delay: 0.8s; width: 35px; height: 35px; }
.particle:nth-child(7) { left: 65%; animation-duration: 5.5s; animation-delay: 2.5s; width: 28px; height: 28px; }
.particle:nth-child(8) { left: 75%; animation-duration: 3.8s; animation-delay: 0.2s; width: 38px; height: 38px; }
.particle:nth-child(9) { left: 85%; animation-duration: 5.2s; animation-delay: 1.2s; width: 22px; height: 22px; }
.particle:nth-child(10) { left: 95%; animation-duration: 4.7s; animation-delay: 0.7s; width: 32px; height: 32px; }
.particle:nth-child(11) { left: 8%; animation-duration: 6.5s; animation-delay: 2.1s; width: 18px; height: 18px; }
.particle:nth-child(12) { left: 22%; animation-duration: 4.1s; animation-delay: 0.9s; width: 42px; height: 42px; }
.particle:nth-child(13) { left: 38%; animation-duration: 5.8s; animation-delay: 1.8s; width: 26px; height: 26px; }
.particle:nth-child(14) { left: 48%; animation-duration: 3.2s; animation-delay: 0.4s; width: 36px; height: 36px; }
.particle:nth-child(15) { left: 62%; animation-duration: 4.9s; animation-delay: 1.4s; width: 15px; height: 15px; }
.particle:nth-child(16) { left: 72%; animation-duration: 5.4s; animation-delay: 2.3s; width: 33px; height: 33px; }
.particle:nth-child(17) { left: 88%; animation-duration: 4.4s; animation-delay: 0.6s; width: 29px; height: 29px; }
.particle:nth-child(18) { left: 92%; animation-duration: 6.2s; animation-delay: 1.9s; width: 44px; height: 44px; }
.particle:nth-child(19) { left: 18%; animation-duration: 3.9s; animation-delay: 0.3s; width: 24px; height: 24px; }
.particle:nth-child(20) { left: 52%; animation-duration: 5.1s; animation-delay: 1.1s; width: 34px; height: 34px; }

@keyframes rise {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    20% { opacity: 0.5; }
    80% { opacity: 0.2; }
    100% { transform: translateY(-100vh) scale(0.5); opacity: 0; }
}

/* Portal Container - Dynamic Flexbox */
.portal-container {
    display: flex;
    flex: 1;
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    padding: 2rem;
    gap: 30px;
    align-items: center;
    justify-content: center;
    z-index: 5;
    position: relative;
}

/* Wrapper for Card and Tab */
.card-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.4s ease;
}

.card-wrapper:first-child {
    transform: perspective(1000px) rotateY(3deg);
}

.card-wrapper:nth-child(2) {
    transform: scale(1.04);
    z-index: 2;
}

.card-wrapper:last-child {
    transform: perspective(1000px) rotateY(-3deg);
}

.card-wrapper:first-child:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.card-wrapper:nth-child(2):hover {
    transform: scale(1.06);
}

.card-wrapper:last-child:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.card-top-tab {
    background: linear-gradient(to bottom, #111 0%, #050505 100%);
    border: 1px solid rgba(184, 92, 24, 0.5);
    border-bottom: none;
    color: #e2c09f;
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 6px 6px 0 0;
    letter-spacing: 2px;
    z-index: 10;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.5);
    text-shadow: 2px 2px 5px rgba(0,0,0,0.9);
    position: relative;
    top: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px;
    box-sizing: border-box;
    white-space: nowrap;
}

/* Base Card Style */
.portal-card {
    position: relative;
    width: 100%;
    flex: 1;
    border-radius: 0px;
    border: 2px solid rgba(184, 92, 24, 0.7);
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0;
    transition: all 0.4s ease;
    box-shadow: 0 0 15px rgba(184, 92, 24, 0.2);
    background: #050505;
    border-radius: 6px;
}

.glow-spin {
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: conic-gradient(from 180deg at 50% 50%, transparent 0deg, transparent 180deg, #ff4500 350deg, #ff8c00 360deg);
    animation: rotateGlow 6s linear infinite;
    z-index: 1;
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.portal-card .card-bg {
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    background-color: #050505;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center top;
    transition: all 0.8s ease;
    z-index: 2;
    filter: brightness(0.95) contrast(1.15);
}

.portal-card::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.95) 100%);
    z-index: 3;
    pointer-events: none;
}

.portal-card::before {
    content: '';
    position: absolute;
    bottom: -20%; left: -20%; width: 140%; height: 100%;
    background: radial-gradient(circle at 50% 100%, rgba(255, 69, 0, 0.4) 0%, rgba(255, 0, 0, 0.1) 40%, transparent 70%);
    z-index: 4;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    mix-blend-mode: screen;
}

.portal-card:hover::before {
    opacity: 1;
    animation: cardFireFlicker 1.5s infinite alternate ease-in-out;
}

@keyframes cardFireFlicker {
    0% { transform: scale(1) translateY(0); opacity: 0.6; filter: hue-rotate(0deg); }
    50% { transform: scale(1.05) translateY(-5px); opacity: 1; filter: hue-rotate(-10deg); }
    100% { transform: scale(0.95) translateY(5px); opacity: 0.8; filter: hue-rotate(10deg); }
}

.card-inner-border {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid rgba(184, 92, 24, 0.5);
    z-index: 5;
    pointer-events: none;
    transition: all 0.4s ease;
}

.portal-card .card-content {
    position: relative;
    z-index: 6;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 15px;
    height: 100%;
    margin: 2px;
    padding: 38px 18px 28px 18px;
    text-align: center;
}

.card-top {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.status {
    font-family: 'Inter', sans-serif;
    font-size: 0.70rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    text-transform: uppercase;
    background: rgba(0,0,0,0.4);
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.1);
}

.status.online { color: #4cd137; }
.status.soon { color: #fbc531; }

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status.online .dot {
    background: #4cd137;
    box-shadow: 0 0 8px #4cd137;
}

.status.soon .dot {
    background: #fbc531;
    box-shadow: 0 0 8px #fbc531;
}

.card-stats {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    padding: 15px 0;
    border-top: 1px solid rgba(226, 192, 159, 0.4);
    border-bottom: 1px solid rgba(226, 192, 159, 0.4);
    width: 100%;
}

/* Card Title Inside Card */
.card-title-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 220px;
    margin-bottom: 8px;
    position: relative;
}

.title-version {
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #c2b8ae;
    letter-spacing: 3px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.9);
}

.title-name {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(180deg, #fff7ed 0%, #fdba74 50%, #c2410c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 5px;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.9));
}

.title-forum {
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #f97316;
    letter-spacing: 8px;
}

.stat-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.badge-col {
    justify-content: center;
}

.stat-label {
    font-size: 0.75rem;
    color: #c49c76;
    letter-spacing: 1px;
    white-space: nowrap;
}

.stat-val {
    font-size: 0.85rem;
    color: #fff;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    white-space: nowrap;
}

.card-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 15px;
    width: 90%;
}

.link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(45, 22, 10, 0.4);
    border: 2px solid rgba(184, 92, 24, 0.6);
    color: #e2c09f;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 2px;
}

.link-btn:hover {
    background: rgba(184, 92, 24, 0.6);
    color: #fff;
    border-color: #ff7a00;
    box-shadow: 0 0 10px rgba(255, 122, 0, 0.4);
}

.card-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.card-enter {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
}

.quick-links-divider {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 90%;
    margin: 12px auto 0 auto;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: rgba(184, 92, 24, 0.5);
}

.divider-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    color: #8a6540;
    letter-spacing: 2px;
    white-space: nowrap;
}

/* Countdown Timer */
.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 8px auto 0 auto;
    padding: 10px 5px;
    background:
        radial-gradient(circle, rgba(184, 92, 24, 0.22) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(74, 37, 17, 0.50) 0%, rgba(45, 22, 10, 0.50) 100%);
    background-size: 7px 7px, 100% 100%;
    border: 2px solid rgba(184, 92, 24, 0.7);
    border-radius: 2px;
    box-shadow: inset 0 0 12px rgba(255, 80, 0, 0.06), 0 0 6px rgba(184, 92, 24, 0.2);
    width: 90%;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 45px;
}

.countdown-val {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(180deg, #fff7ed 0%, #fdba74 50%, #c2410c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(1px 1px 3px rgba(0,0,0,0.8));
    line-height: 1.2;
}

.countdown-lbl {
    font-family: 'Inter', sans-serif;
    font-size: 0.55rem;
    font-weight: 600;
    color: #8a7560;
    letter-spacing: 1px;
    margin-top: 2px;
}

.countdown-sep {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: #ff7a00;
    font-weight: 700;
    margin-bottom: 12px;
    opacity: 0.6;
}

.server-type {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    color: #e2c09f;
    letter-spacing: 2px;
    font-weight: 700;
    margin: 15px auto 25px auto;
    padding: 10px 20px;
    border: 1px solid rgba(226, 192, 159, 0.3);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.6);
    text-shadow: 2px 2px 5px rgba(0,0,0,0.9);
    width: fit-content;
    box-shadow: inset 0 0 10px rgba(226, 192, 159, 0.05), 0 5px 15px rgba(0,0,0,0.8);
    text-align: center;
}

.enter-btn {
    position: relative;
    overflow: visible;
    display: block;
    width: 90%;
    padding: 15px 0;
    background: linear-gradient(to bottom, #4a2511, #2d160a);
    border: 2px solid #b85c18;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff7a00;
    color: #fff;
    padding: 6px 14px;
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    z-index: 10;
    border-radius: 3px;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

@keyframes badgeOrangePulse {
    from { box-shadow: 0 0 8px rgba(255, 122, 0, 0.5), inset 0 0 5px rgba(0,0,0,0.8); border-color: #ff7a00; }
    to { box-shadow: 0 0 20px rgba(255, 122, 0, 0.9), inset 0 0 10px rgba(0,0,0,0.9); border-color: #ff9a30; }
}

/* Hover Effects */
.portal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(184, 92, 24, 0.5);
    border-color: #ff7a00;
}

.portal-card:hover .card-inner-border {
    border-color: rgba(255, 122, 0, 0.6);
}

.portal-card:hover .badge {
    transform: scale(1.1);
}

.portal-card:hover .card-bg {
    transform: scale(1.05);
    filter: brightness(1.0) contrast(1.2);
}

.portal-card:hover .enter-btn {
    background: linear-gradient(to bottom, #6d3619, #3f1e0e);
    box-shadow: 0 0 15px rgba(212, 94, 0, 0.4);
    border-color: #ff7a00;
}

/* --- Theme Specifics --- */

.firedrake .card-bg { background-image: url("firedrakebuttonekov1.jpg"); }
.myko .card-bg { background-image: url("mykobuttonekov1.jpg"); }
.v2xx .card-bg { background-image: url("v2buttonekov1.jpg"); }

/* Responsive */
@media (max-width: 900px) {
    .portal-container {
        flex-direction: column;
    }
    .portal-card {
        min-height: 30vh;
    }
    .portal-card:hover {
        flex: 1.2;
        transform: scale(1.02);
    }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Footer - Minimal (Sadece THANATOS) */
.portal-footer-mini {
    width: 100%;
    padding: 8px 0;
    margin-top: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 10;
}

.footer-line {
    display: inline-block;
    width: 80px;
    height: 1px;
    background: linear-gradient(to right, transparent, #b85c18, transparent);
    opacity: 0.7;
}

/* Footer Section */
.portal-footer {
    width: 100%;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 2px solid rgba(255, 69, 0, 0.6);
    box-shadow: 0 -5px 20px rgba(255, 69, 0, 0.2);
    padding: 30px 0 10px 0;
    margin-top: 40px;
    font-family: 'Inter', sans-serif;
    position: relative;
    z-index: 10;
}

.portal-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 100%, rgba(255, 69, 0, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 0 20px 30px 20px;
    position: relative;
    z-index: 2;
}

.footer-col {
    flex: 1;
}

.footer-col.about p {
    color: #888;
    font-size: 0.8rem;
    line-height: 1.6;
    margin: 15px 0;
}

.footer-logo {
    max-width: 120px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #0a0a0a;
    border: 1px solid rgba(184, 92, 24, 0.3);
    color: #e2c09f;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(184, 92, 24, 0.6);
    color: #fff;
    border-color: #ff7a00;
    box-shadow: 0 0 10px rgba(255, 122, 0, 0.4);
}

.footer-col h3 {
    color: #c49c76;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #888;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-col ul li a::before {
    content: "›";
    color: #b85c18;
    margin-right: 8px;
    font-size: 1.2rem;
}

.footer-col ul li a:hover {
    color: #fff;
}

.ticket-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 1px solid rgba(184, 92, 24, 0.5);
    color: #c49c76;
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.ticket-btn:hover {
    background: rgba(184, 92, 24, 0.2);
    border-color: #ff7a00;
    color: #fff;
    box-shadow: 0 0 10px rgba(255, 122, 0, 0.3);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.75rem;
    color: #666;
    position: relative;
    z-index: 2;
}

.footer-bottom .highlight {
    color: #e2c09f;
    font-weight: bold;
}

/* THANATOS İmzası Efektleri */
.thanatos-signature {
    font-family: 'Cinzel', serif;
    display: flex;
    align-items: center;
    gap: 8px;
}

.forged-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.58rem;
    color: #c49c76;
    letter-spacing: 2px;
    text-transform: none !important;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.9);
    opacity: 0.85;
}

.thanatos-name {
    font-weight: 700;
    font-size: 0.7rem;
    color: #ff4500;
    letter-spacing: 5px;
    animation: thanatosIntro 2s ease-out forwards, thanatosGlow 2s infinite alternate 2s;
}

@keyframes thanatosIntro {
    0%   { opacity: 0; filter: brightness(5) blur(4px); text-shadow: 0 0 80px #ff6600, 0 0 150px #ff2200; }
    40%  { opacity: 0.7; filter: brightness(2.5) blur(1px); text-shadow: 0 0 35px #ff4500, 0 0 70px #ff0000; }
    100% { opacity: 1; filter: brightness(1) blur(0px); text-shadow: 0 0 10px #ff4500, 0 0 20px #ff0000; }
}

@keyframes thanatosGlow {
    from { text-shadow: 0 0 5px #ff4500, 0 0 10px #ff0000; filter: brightness(1); }
    to { text-shadow: 0 0 15px #ff4500, 0 0 30px #ff0000; filter: brightness(1.3); }
}

.legal {
    display: flex;
    gap: 15px;
}

.legal a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal a:hover {
    color: #c49c76;
}

/* --- YENİ EKLENEN ÖZELLİKLER (MODAL & LANG) --- */

/* Dil Seçimi (Bayraklar) */
.lang-selector {
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 100;
    display: flex;
    gap: 15px;
}

.lang-flag {
    display: block;
    width: 35px;
    height: 25px;
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    filter: grayscale(0.5) brightness(0.8);
}

.lang-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lang-flag:hover, .lang-flag.active {
    filter: grayscale(0) brightness(1.1);
    border-color: #e2c09f;
    box-shadow: 0 0 10px rgba(226, 192, 159, 0.5);
    transform: scale(1.1);
}

/* Modal Pop-up Sistemi */
.game-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-modal.show {
    opacity: 1;
}

.modal-content {
    background: linear-gradient(135deg, #1a0a00 0%, #050505 100%);
    border: 2px solid #b85c18;
    border-radius: 4px;
    padding: 40px;
    text-align: center;
    position: relative;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 40px rgba(184, 92, 24, 0.6), inset 0 0 20px rgba(0, 0, 0, 0.8), 0 0 10px rgba(255, 69, 0, 0.4);
    transform: translateY(-20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.modal-content::after {
    content: '';
    position: absolute;
    top: 2px; left: 2px; right: 2px; bottom: 2px;
    border: 1px solid rgba(255, 122, 0, 0.2);
    pointer-events: none;
    border-radius: 2px;
}

.game-modal.show .modal-content {
    transform: translateY(0) scale(1);
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #e2c09f;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #ff3300;
}

.modal-title {
    color: #e2c09f;
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 30px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.8);
}

.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-btn {
    display: block;
    padding: 15px;
    background: rgba(45, 22, 10, 0.6);
    border: 1px solid rgba(184, 92, 24, 0.5);
    color: #fff;
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modal-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
    transform: skewX(-20deg);
    transition: all 0.5s ease;
}

.modal-btn:hover::before {
    left: 200%;
}

.modal-btn:hover {
    background: linear-gradient(to bottom, #6d3619, #3f1e0e);
    border-color: #ff7a00;
    box-shadow: 0 0 15px rgba(255, 122, 0, 0.4);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .lang-selector {
        top: 10px;
        right: 15px;
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1200px) {
    .portal-container { gap: 20px; padding: 1.5rem; }
    .main-logo { max-width: 400px; }
    .info-banner { max-width: 100%; width: calc(100% - 3rem); }
}

@media (max-width: 992px) {
    .portal-container { gap: 14px; padding: 1rem; }
    .main-logo { max-width: 320px; }
    .banner-text { font-size: 0.78rem; }
    .card-top-tab { font-size: 0.85rem; padding: 8px 14px; }
    .card-title-text .title-name { font-size: 1.4rem; }
    .countdown-val { font-size: 1.4rem; }
}

@media (max-width: 768px) {
    .portal-container {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 1rem;
    }
    .card-wrapper {
        transform: none !important;
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
    }
    .main-logo { max-width: 260px; }
    .info-banner { width: calc(100% - 2rem); margin: 10px auto 0; padding: 10px 16px; }
    .banner-text { font-size: 0.72rem; white-space: normal; text-align: center; letter-spacing: 0.8px; }
    .banner-arrow-single { display: none; }
    .lang-selector { top: 8px; right: 8px; }
    .card-title-text .title-name { font-size: 1.2rem; }
    .countdown-timer { padding: 6px 3px; }
    .countdown-val { font-size: 1.2rem; }
    .countdown-lbl { font-size: 0.6rem; }
}

@media (max-width: 480px) {
    .main-logo { max-width: 200px; }
    .portal-container { padding: 0.75rem; }
    .card-wrapper { max-width: 100%; }
    .card-top-tab { font-size: 0.75rem; padding: 6px 12px; height: 40px; }
    .banner-text { font-size: 0.65rem; letter-spacing: 0.5px; }
    .link-btn { font-size: 0.7rem; padding: 5px 8px; }
    .enter-btn { font-size: 0.8rem; padding: 10px 16px; }
}

/* ============================================
   MENTAL POPUP MODAL
   ============================================ */

.mental-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.mental-modal.show { opacity: 1; }

.mental-modal-content {
    background: linear-gradient(150deg, #1c0400 0%, #050505 50%, #110000 100%);
    border: 2px solid #ff4500;
    border-radius: 6px;
    padding: 50px 44px 40px;
    text-align: center;
    position: relative;
    max-width: 480px;
    width: 92%;
    box-shadow:
        0 0 60px rgba(255, 69, 0, 0.7),
        0 0 120px rgba(255, 0, 0, 0.2),
        inset 0 0 40px rgba(0, 0, 0, 0.9);
    transform: translateY(-30px) scale(0.88);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.mental-modal.show .mental-modal-content {
    transform: translateY(0) scale(1);
}

.mental-modal-content::before {
    content: '';
    position: absolute;
    top: 7px; left: 7px; right: 7px; bottom: 7px;
    border: 1px solid rgba(255, 69, 0, 0.28);
    border-radius: 3px;
    pointer-events: none;
}

.mental-modal-content::after {
    content: '';
    position: absolute;
    bottom: -40%; left: -20%; width: 140%; height: 80%;
    background: radial-gradient(circle at 50% 100%, rgba(255, 50, 0, 0.12) 0%, transparent 65%);
    pointer-events: none;
}

.mental-modal-emblem {
    font-size: 3.2rem;
    margin-bottom: 16px;
    display: block;
    filter: drop-shadow(0 0 18px rgba(255, 69, 0, 0.9));
    animation: mentalEmblemFloat 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes mentalEmblemFloat {
    0%, 100% { transform: translateY(0);    filter: drop-shadow(0 0 18px rgba(255, 69, 0, 0.9)); }
    50%       { transform: translateY(-7px); filter: drop-shadow(0 0 30px rgba(255, 100, 0, 1)); }
}

.mental-modal-title {
    font-family: 'Cinzel', serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: #ff4500;
    letter-spacing: 3px;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
    animation: mentalTitleGlow 2s infinite alternate;
}

@keyframes mentalTitleGlow {
    from { text-shadow: 0 0 10px rgba(255, 69, 0, 0.8),  0 0 20px rgba(255, 0, 0, 0.4); }
    to   { text-shadow: 0 0 25px rgba(255, 100, 0, 1.0), 0 0 50px rgba(255, 50, 0, 0.7); }
}

.mental-modal-line {
    width: 75%;
    height: 1px;
    background: linear-gradient(to right, transparent, #ff4500, transparent);
    margin: 0 auto 22px auto;
    opacity: 0.55;
    position: relative;
    z-index: 1;
}

.mental-modal-msg {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #e2c09f;
    line-height: 1.9;
    letter-spacing: 0.4px;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}

.mental-modal-msg strong {
    color: #ff7a00;
    font-weight: 700;
}

.mental-close-btn {
    display: inline-block;
    padding: 14px 55px;
    background: linear-gradient(to bottom, #6d1a00, #2d0800);
    border: 2px solid #ff4500;
    color: #fff;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 4px;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.35);
    position: relative;
    z-index: 1;
}

.mental-close-btn:hover {
    background: linear-gradient(to bottom, #a02800, #4a1000);
    box-shadow: 0 0 30px rgba(255, 69, 0, 0.65);
    transform: translateY(-2px);
    border-color: #ff7a00;
}

/* ============================================
   VIEWPORT FIT — No Scroll Layout v4.2.0
   ============================================ */

html { height: 100dvh; }
body { overflow-x: hidden; overflow-y: auto; }

.logo-container { padding: clamp(0.3rem, 1.2vh, 2rem) 0 clamp(0.2rem, 0.5vh, 1rem); margin-top: auto; }
.main-logo { max-width: clamp(140px, 22vw, 500px); }

.info-banner { margin: clamp(20px, 2.5vh, 35px) auto 0; padding: clamp(5px, 0.8vh, 15px) 30px; }
.banner-text { font-size: clamp(0.48rem, 0.72vw, 0.92rem); }

.portal-container {
    flex: 0 0 auto;
    width: 100%;
    margin-top: clamp(20px, 2.5vh, 35px);
    padding: clamp(1rem, 1.5vh, 2rem) clamp(0.5rem, 1vw, 2rem);
    gap: clamp(8px, 1.2vw, 30px);
    overflow: visible;
    align-items: center;
}

.card-wrapper:nth-child(2) { transform: scale(1.02); z-index: 2; }
.card-wrapper:nth-child(2):hover { transform: scale(1.04); }

.card-wrapper { flex: 1; min-height: 0; align-self: auto; }
.portal-card { height: auto; overflow: hidden; }

.card-content {
    height: auto;
    overflow-y: visible;
    overflow-x: hidden;
    padding: clamp(10px, 1.4vh, 38px) clamp(8px, 1.2vw, 18px) clamp(8px, 1.2vh, 28px);
    gap: clamp(4px, 0.7vh, 15px);
}

.card-title-text { margin-top: clamp(50px, 13vh, 220px); margin-bottom: clamp(3px, 0.5vh, 8px); }
.title-name { font-size: clamp(0.85rem, 1.4vw, 1.6rem); }
.title-version { font-size: clamp(0.6rem, 0.78vw, 1.05rem); }
.title-forum { font-size: clamp(0.48rem, 0.62vw, 0.8rem); letter-spacing: clamp(2px, 0.5vw, 8px); }

.card-stats { padding: clamp(5px, 0.8vh, 15px) 0; margin-top: clamp(4px, 0.6vh, 10px); }
.stat-label { font-size: clamp(0.52rem, 0.63vw, 0.75rem); }
.stat-val { font-size: clamp(0.58rem, 0.72vw, 0.85rem); }
.status { font-size: clamp(0.52rem, 0.62vw, 0.70rem); padding: clamp(3px, 0.5vh, 6px) 10px; }

.card-enter { margin-top: clamp(4px, 0.6vh, 10px); }
.enter-btn { font-size: clamp(0.62rem, 0.78vw, 0.9rem); padding: clamp(6px, 0.9vh, 15px) 0; }

.quick-links-divider { margin: clamp(4px, 0.6vh, 12px) auto 0; }
.divider-text { font-size: clamp(0.42rem, 0.52vw, 0.6rem); }
.card-links { gap: clamp(3px, 0.5vh, 8px); margin-top: clamp(4px, 0.6vh, 15px); }
.link-btn { font-size: clamp(0.52rem, 0.63vw, 0.85rem); padding: clamp(4px, 0.55vh, 10px) 5px; }

.countdown-timer { margin: clamp(4px, 0.5vh, 8px) auto 0; padding: clamp(4px, 0.6vh, 10px) 5px; }
.countdown-val { font-size: clamp(0.85rem, 1.3vw, 1.6rem); }
.countdown-lbl { font-size: clamp(0.40rem, 0.46vw, 0.55rem); }
.countdown-sep { font-size: clamp(0.78rem, 1.1vw, 1.4rem); }

.portal-footer-mini { margin-top: auto; padding: 4px 0; position: relative; z-index: 10; }

/* Mobilde normal scroll geri aktif */
@media (max-width: 768px) {
    html { height: auto !important; }
    body { height: auto !important; min-height: 100dvh; overflow-x: hidden !important; overflow-y: auto !important; }
    .portal-container { overflow: visible !important; align-items: center; max-height: none !important; }
    .portal-card { height: auto !important; overflow: hidden !important; }
    .card-content { height: auto !important; overflow-y: visible !important; }

    /* Mobilde Fire Drake en üstte */
    .card-wrapper:nth-child(1) { order: 2; }
    .card-wrapper:nth-child(2) { order: 1; }
    .card-wrapper:nth-child(3) { order: 3; }
}

/* ============================================
   LOADING SCREEN
   ============================================ */
#loadingScreen {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(ellipse at center, #100600 0%, #050505 65%);
    z-index: 99999; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 50px;
    opacity: 1; transition: opacity 0.9s ease;
}
#loadingScreen.ls-hide { opacity: 0; pointer-events: none; }
.ls-scene { position: relative; width: 280px; height: 280px; display: flex; align-items: center; justify-content: center; }
.ls-ring-outer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 50%; border: 1px dashed rgba(184,92,24,0.35); animation: lsSpin 14s linear infinite; }
.ls-ring-mid { position: absolute; top: 22px; left: 22px; right: 22px; bottom: 22px; border-radius: 50%; border: 1px solid rgba(184,92,24,0.18); animation: lsSpin 9s linear infinite reverse; }
.ls-ring-inner { position: absolute; top: 48px; left: 48px; right: 48px; bottom: 48px; border-radius: 50%; border: 1px solid rgba(184,92,24,0.55); background: radial-gradient(circle, rgba(55,22,5,0.4) 0%, rgba(5,5,5,0.96) 68%); box-shadow: inset 0 0 35px rgba(0,0,0,0.9), 0 0 25px rgba(140,65,0,0.12); display: flex; align-items: center; justify-content: center; }
.ls-orbit { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 50%; }
.ls-orbit-a { animation: lsSpin 3s linear infinite; }
.ls-orbit-b { animation: lsSpin 4.5s linear infinite; animation-delay: -1.5s; }
.ls-orbit-c { animation: lsSpin 5s linear infinite reverse; animation-delay: -0.8s; }
.ls-orbit-d { animation: lsSpin 7s linear infinite reverse; animation-delay: -3s; }
.ls-orbit::after { content: ''; position: absolute; width: 7px; height: 7px; background: #ff7a00; border-radius: 50%; box-shadow: 0 0 10px #ff7a00, 0 0 22px rgba(255,122,0,0.5); top: -3.5px; left: calc(50% - 3.5px); }
.ls-orbit-b::after { width: 5px; height: 5px; background: rgba(255,160,60,0.85); box-shadow: 0 0 8px rgba(255,160,60,0.7); top: -2.5px; left: calc(50% - 2.5px); }
.ls-orbit-c::after { width: 6px; height: 6px; background: rgba(255,130,30,0.9); box-shadow: 0 0 9px rgba(255,130,30,0.7); top: -3px; left: calc(50% - 3px); }
.ls-orbit-d::after { width: 4px; height: 4px; background: rgba(255,180,80,0.75); box-shadow: 0 0 6px rgba(255,180,80,0.6); top: -2px; left: calc(50% - 2px); }
.ls-logo { width: 135px; filter: sepia(0.45) saturate(1.4) hue-rotate(350deg) brightness(1.1) drop-shadow(0 0 10px rgba(255,120,20,0.6)); animation: lsLogoIn 1.2s ease-out forwards; }
@keyframes lsLogoIn { from { opacity: 0; transform: scale(0.75); } to { opacity: 1; transform: scale(1); } }
@keyframes lsSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.ls-text { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.ls-init { font-family: 'Cinzel', serif; font-size: 0.78rem; color: #c49c76; letter-spacing: 5px; animation: lsPulse 1.8s ease-in-out infinite; }
@keyframes lsPulse { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }
.ls-bar { width: 260px; height: 2px; background: rgba(184,92,24,0.18); border-radius: 1px; overflow: hidden; }
.ls-bar-fill { height: 100%; width: 0%; background: linear-gradient(to right, #b85c18, #ff7a00, #ffaa40); box-shadow: 0 0 10px rgba(255,122,0,0.9); transition: width 0.75s cubic-bezier(0.08,0.04,0.28,1); }
.ls-wait { font-family: 'Cinzel', serif; font-size: 0.62rem; color: #ff7a00; letter-spacing: 5px; font-weight: 700; text-shadow: 0 0 8px rgba(255,122,0,0.55); }

@media (max-width: 480px) {
    #loadingScreen { gap: 30px; }
    .ls-scene { width: 220px; height: 220px; }
    .ls-ring-mid { top: 17px; left: 17px; right: 17px; bottom: 17px; }
    .ls-ring-inner { top: 38px; left: 38px; right: 38px; bottom: 38px; }
    .ls-logo { width: 105px; }
    .ls-bar { width: 200px; }
    .ls-init { font-size: 0.68rem; letter-spacing: 3px; }
}
