@charset "utf-8";

/* Homepage — Rohan2-style world hero */
body.world-home {
    background: url('https://wiki.korehberi.com/images/e/e7/Felankor.jpg') fixed center center no-repeat;
    background-size: cover;
    color: #fff;
}

body.world-home .third-banner-bg {
    background: transparent !important;
    padding: 0 !important;
    margin-top: 0 !important;
    overflow: visible !important;
    --world-home-header: 132px;
    min-height: calc(100vh - var(--world-home-header));
    min-height: calc(100dvh - var(--world-home-header));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.world-hero-section {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 16px 6px;
    overflow: visible;
}

.world-hero-intro {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    text-align: center;
    margin-bottom: 4px;
    flex-shrink: 0;
}

.data-bg.data-home {
    width: auto;
    display: inline-block;
    padding: 8px 28px;
    font-family: 'Roboto Slab', 'Cinzel', serif;
    font-weight: bold;
    font-size: clamp(0.82rem, 1.6vw, 1.05rem);
    line-height: 1.35;
    color: #fff0d2;
}

.world-hero-section .server-container {
    margin-top: 6px;
    padding-top: 0;
    flex-shrink: 1;
    min-height: 0;
}

.world-hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.5) 62%, rgba(0, 0, 0, 0.96) 100%);
    pointer-events: none;
}

/* Hero altı + listeleme alanı — arka plan görseli kapanır */
body.world-home .hero-bottom-stripe {
    box-shadow: none;
    flex-shrink: 0;
    margin-top: auto;
}

body.world-home .home-dark-panel,
body.world-home .third-about-area.third-about-bg {
    background: linear-gradient(180deg, #000000 0%, #040406 18%, #06060a 100%) !important;
    background-image: none !important;
    position: relative;
    z-index: 2;
}

body.world-home .third-about-area.third-about-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    pointer-events: none;
    z-index: 0;
}

body.world-home .third-about-area .container,
body.world-home .home-dark-panel .container {
    position: relative;
    z-index: 1;
}

.server-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 25px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
}

.server-container.hero-dual-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 1.5vh, 16px);
    width: 100%;
    max-width: 1280px;
    padding: 0 clamp(12px, 2.5vw, 28px);
    box-sizing: border-box;
}

/* ── Dual grid: sol indir | sağ rozet ───────────────────────── */
.hero-visual-row.hero-dual-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    justify-content: center;
    gap: clamp(14px, 2.4vw, 28px);
    width: 100%;
    min-height: clamp(360px, 52vh, 660px);
    padding: 0;
    box-sizing: border-box;
    overflow: visible;
}

.hero-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow: visible;
}

.hero-panel::before {
    display: none;
}

.hero-panel:hover {
    transform: none;
    box-shadow: none;
}

.hero-panel-body {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    min-height: 0;
    z-index: 1;
    transform: scale(1.3);
    transform-origin: center bottom;
}

.hero-download-col {
    text-align: center;
}

.hero-top3-col {
    text-align: center;
    pointer-events: auto;
}

.hero-top3-fit {
    width: 100%;
    max-width: min(100%, 520px);
    margin: 0 auto;
}

.hero-meta-block {
    width: 100%;
    text-align: center;
    flex: 0 0 auto;
}

.hero-top3-podium {
    position: relative;
    display: block;
    width: 100%;
}

.hero-top3-frame {
    position: relative;
    display: block;
    width: 100%;
    overflow: visible;
}

/* 1. rozet arkası — glow rozet görselinin altında */
.hero-top3-rank1-glow {
    position: absolute;
    left: var(--top3-glow1-left, 50%);
    top: var(--top3-glow1-top, 26%);
    width: var(--top3-glow1-size, 42%);
    height: var(--top3-glow1-size, 42%);
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.hero-top3-rank1-glow::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        transparent 0%,
        transparent 40%,
        rgba(225, 179, 3, 0.14) 60%,
        rgba(255, 215, 80, 0.78) 85%,
        transparent 100%
    );
    filter: blur(18px);
    opacity: 0.92;
    animation: top3MysticSpin 8s linear infinite;
}

.hero-top3-rank1-glow::after {
    content: '';
    position: absolute;
    inset: 7%;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 210, 60, 0.38) 0%,
        rgba(225, 179, 3, 0.34) 35%,
        rgba(90, 55, 0, 0.42) 65%,
        transparent 80%
    );
    filter: blur(22px);
    opacity: 0.85;
    animation: top3MysticSpin 12s linear infinite reverse;
}

.hero-top3-img {
    display: block;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    filter: drop-shadow(0 0 14px rgba(225, 179, 3, 0.35)) drop-shadow(0 8px 24px rgba(0, 0, 0, 0.55));
}

.hero-top3-names {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
}

.hero-top3-name {
    position: absolute;
    transform: translate(-50%, -50%);
    font-family: 'Cinzel', 'Roboto Slab', serif;
    font-weight: 800;
    font-size: clamp(var(--top3-name-min, 11px), 1.05vw, var(--top3-name-max, 15px));
    letter-spacing: 0.3px;
    color: #fff;
    text-shadow: 0 2px 4px #000, 0 0 10px rgba(0, 0, 0, 0.95);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: var(--top3-name-width, 39%);
    padding: 0 5px;
    box-sizing: border-box;
    text-align: center;
    pointer-events: auto;
    z-index: 6;
    line-height: 1.2;
}

/* Piramit düzen: 1 üstte, 2 sol altta, 3 sağ altta — konumlar hero_top3_ui.php */
.hero-top3-name.rank-1 {
    left: var(--top3-r1-left, 50%);
    top: var(--top3-r1-top, 41%);
    color: #fff3c4;
}

.hero-top3-name.rank-2 {
    left: var(--top3-r2-left, 14%);
    top: var(--top3-r2-top, 79%);
    color: #e8f4ff;
}

.hero-top3-name.rank-3 {
    left: var(--top3-r3-left, 86%);
    top: var(--top3-r3-top, 79%);
    color: #e5ffe0;
}

.hero-top3-name:hover {
    text-decoration: none;
    filter: brightness(1.2);
}

.server {
    text-align: center;
    position: relative;
}

/* Rohan2 shadow6 — legacy; panel hover kullanılıyor */
.shadow6 {
    transition: transform 0.4s ease;
}

/* World image link — PNG alpha-aware glow */
.world-link-fx {
    position: relative;
    display: block;
    width: 100%;
    max-width: min(100%, 560px);
    margin: 0 auto;
    z-index: 1;
    text-decoration: none;
}

.world-link-fx:hover {
    text-decoration: none;
}

.world-link-fx::before {
    content: '';
    position: absolute;
    top: 58%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(88%, 380px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        transparent 0%,
        transparent 40%,
        rgba(124, 58, 237, 0.14) 60%,
        rgba(225, 179, 3, 0.72) 85%,
        transparent 100%
    );
    filter: blur(18px);
    z-index: -1;
    opacity: 0.88;
    animation: mysticSpin 8s linear infinite;
    pointer-events: none;
}

.world-link-fx::after {
    content: '';
    position: absolute;
    top: 58%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(82%, 350px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(124, 58, 237, 0.28) 0%,
        rgba(88, 28, 135, 0.3) 35%,
        rgba(20, 8, 40, 0.42) 65%,
        transparent 80%
    );
    filter: blur(22px);
    z-index: -2;
    opacity: 0.82;
    animation: mysticSpin 12s linear infinite reverse;
    pointer-events: none;
}

.angmar-effect {
    position: absolute;
    top: -17px;
    left: -25px;
    width: 250px;
    height: 250px;
    z-index: -1;
    pointer-events: none;
}

.world-link-fx img#world {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 10px rgba(124, 58, 237, 0.4)) drop-shadow(0 8px 20px rgba(0, 0, 0, 0.45));
    animation: worldFloat 3s ease-in-out infinite alternate;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.world-link-fx:hover img#world {
    animation: worldHoverPulse 0.4s ease forwards;
    filter:
        drop-shadow(0 0 22px rgba(124, 58, 237, 0.85))
        drop-shadow(0 0 36px rgba(225, 179, 3, 0.7));
}

.world-hero-time {
    margin-top: 4px;
    font-family: 'Lexend', 'Oxanium', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #e1b303;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.9);
}

.data-bg {
    display: block;
    position: relative;
    background: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .55) 25%, rgba(0, 0, 0, .80) 85%, transparent);
    padding: 30px;
    margin: 0 auto;
    width: 38vw;
    min-width: 260px;
    color: #fff0d2;
    text-shadow: 0 0 6px #000;
    text-align: center;
    font-size: 1.4rem;
}

.data-bg:before,
.data-bg:after {
    content: "";
    position: absolute;
    height: 4px;
    left: 0;
    right: 0;
    background-image: linear-gradient(90deg, rgba(191, 162, 81, 0), #ca9342, rgba(191, 162, 81, 0));
}

.data-bg:before { top: 0; }
.data-bg:after { bottom: 0; }

.countdown-wrapper {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    margin: 0;
    gap: 1rem;
    color: #c6b491;
    font-family: 'Lexend', 'Oxanium', sans-serif;
}

.countdown-wrapper.data-bg {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: auto !important;
    padding: 6px 18px !important;
    margin: 0 auto !important;
    position: relative;
    top: 0;
}

.countdown-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 52px;
}

.countdown-digit {
    font-size: 0.85rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    min-width: 1.2em;
    text-align: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    line-height: 1.2;
}

.AngmarTitle {
    margin: 4px 0 0;
    padding: 0;
    font-size: 1.05em;
    color: #fff0d2;
    text-decoration: none;
    text-indent: 0;
    font-family: 'Roboto Slab', 'Cinzel', serif;
    font-weight: bold;
    text-shadow: 0 0 6px #000;
    line-height: 1.3;
}

.AngmarDesc {
    padding: 6px 16px 8px;
    font-size: 0.88em;
    font-weight: bolder;
    color: #cfc5af;
    margin: 0;
    line-height: 1.55;
    text-shadow: 0 0 6px #000;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.hr-gap {
    height: 4px;
}

.nk-gap {
    height: 8px;
}

.world-hero-section .server .nk-gap:last-child {
    height: 4px;
}

/* Scrolling hero stripe */
.hero-bottom-stripe {
    width: 100%;
    overflow: hidden;
    height: 36px;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, #0d0000, #3a0800, #1a0a00, #3a0800, #0d0000);
    border-top: 1px solid rgba(225, 179, 3, .2);
    border-bottom: 1px solid rgba(238, 85, 25, .2);
    box-shadow: 0 0 18px rgba(238, 85, 25, .25), inset 0 1px 0 rgba(255, 255, 255, .05);
    position: relative;
    z-index: 2;
}

.hero-bottom-stripe::before,
.hero-bottom-stripe::after {
    content: '';
    position: absolute;
    top: 0;
    width: 60px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.hero-bottom-stripe::before {
    left: 0;
    background: linear-gradient(90deg, #0d0000, transparent);
}

.hero-bottom-stripe::after {
    right: 0;
    background: linear-gradient(270deg, #0d0000, transparent);
}

.hbs-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: hbsScroll 22s linear infinite;
    will-change: transform;
}

@keyframes hbsScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.hbs-item {
    font-family: 'Raleway', sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .75);
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.hbs-item i {
    color: #e1b303;
    font-size: 9px;
}

.hbs-sep {
    color: rgba(238, 85, 25, .5);
    font-size: 8px;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .countdown-digit {
        font-size: 1.35rem;
    }
}

@media (max-width: 991px) {
    .hero-visual-row.hero-dual-grid {
        min-height: auto;
    }
}

@media (max-width: 767px) {
    body.world-home .third-banner-bg {
        --world-home-header: 108px;
    }

    .world-hero-section {
        padding: 6px 12px 4px;
    }

    .data-bg.data-home {
        padding: 8px 14px;
        font-size: 0.78rem;
    }

    .world-hero-section .server-container {
        margin-top: 4px;
    }

    .server-container.hero-dual-panel {
        gap: 8px;
        padding: 0 10px;
    }

    .hero-visual-row.hero-dual-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        min-height: auto;
    }

    .hero-panel--download {
        order: 1;
    }

    .hero-panel--rank {
        order: 2;
    }

    .hero-panel:hover {
        transform: none;
    }

    .hero-panel-body {
        transform: scale(1.2);
    }

    .hero-top3-name {
        font-size: clamp(10px, 3.2vw, 14px);
        max-width: 40%;
    }

    .hero-top3-rank1-glow {
        top: var(--top3-m-glow1-top, 24%);
        width: var(--top3-m-glow1-size, 38%);
        height: var(--top3-m-glow1-size, 38%);
    }

    .hero-top3-name.rank-1 {
        left: var(--top3-m-r1-left, 50%);
        top: var(--top3-m-r1-top, 40%);
    }

    .hero-top3-name.rank-2 {
        left: var(--top3-m-r2-left, 27%);
        top: var(--top3-m-r2-top, 85%);
    }

    .hero-top3-name.rank-3 {
        left: var(--top3-m-r3-left, 73%);
        top: var(--top3-m-r3-top, 85%);
    }

    .AngmarDesc {
        padding: 10px 12px 14px;
        font-size: .92em;
    }

    .data-bg {
        width: 92vw;
        font-size: 1rem;
    }

    .countdown-wrapper.data-bg {
        padding: 8px 16px !important;
    }
}

@media (min-width: 1200px) {
    .hero-visual-row.hero-dual-grid {
        gap: clamp(20px, 2.8vw, 36px);
    }
}

/* Animations */
@-webkit-keyframes headShake {
    0% { -webkit-transform: translateX(0); transform: translateX(0); }
    6.5% { -webkit-transform: translateX(-6px) rotateY(-9deg); transform: translateX(-6px) rotateY(-9deg); }
    18.5% { -webkit-transform: translateX(5px) rotateY(7deg); transform: translateX(5px) rotateY(7deg); }
    31.5% { -webkit-transform: translateX(-3px) rotateY(-5deg); transform: translateX(-3px) rotateY(-5deg); }
    43.5% { -webkit-transform: translateX(2px) rotateY(3deg); transform: translateX(2px) rotateY(3deg); }
    50% { -webkit-transform: translateX(0); transform: translateX(0); }
}

@keyframes headShake {
    0% { transform: translateX(0); }
    6.5% { transform: translateX(-6px) rotateY(-9deg); }
    18.5% { transform: translateX(5px) rotateY(7deg); }
    31.5% { transform: translateX(-3px) rotateY(-5deg); }
    43.5% { transform: translateX(2px) rotateY(3deg); }
    50% { transform: translateX(0); }
}

.headShake {
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    -webkit-animation-name: headShake;
    animation-name: headShake;
}

@keyframes mysticSpin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes top3MysticSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes worldFloat {
    0% {
        transform: translateY(6px);
        filter: drop-shadow(0 0 6px rgba(124, 58, 237, 0.35));
    }
    100% {
        transform: translateY(-2px);
        filter: drop-shadow(0 0 16px rgba(225, 179, 3, 0.75));
    }
}

@keyframes worldHoverPulse {
    0% {
        transform: translateY(-4px) scale(1);
    }
    100% {
        transform: translateY(-8px) scale(1.03);
    }
}

@keyframes heroLivePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.85); }
}
