/* ========== Rainy Hero Slider v2 – Sağlam altyapı ========== */

/* Hero: tam genişlik, sabit yükseklik aralığı */
.rainy-hero-v2 {
    position: relative;
    width: 100%;
    min-height: 520px;
    padding: 2rem 0 3rem;
    overflow: hidden;
    color: #0d2137;
    box-sizing: border-box;
}

.site-wrapper-reveal > .rainy-hero-v2 {
    margin-top: 0 !important;
}

.header-area {
    margin-bottom: 0 !important;
}

#main-wrapper,
.site-wrapper-reveal {
    padding-top: 0 !important;
}

@media (min-width: 576px) {
    .rainy-hero-v2 {
        min-height: 560px;
        padding: 2.5rem 0 3.5rem;
    }
}

@media (min-width: 768px) {
    .rainy-hero-v2 {
        min-height: 600px;
        padding: 3rem 0 4rem;
    }
}

@media (min-width: 992px) {
    .rainy-hero-v2 {
        min-height: 640px;
        padding: 3.5rem 0 4.5rem;
    }
}

/* Ortak arka plan */
.rainy-hero-v2-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
}

.rainy-hero-v2-bg::before {
    content: "";
    position: absolute;
    top: -10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: rgba(13, 33, 55, 0.06);
    border-radius: 50%;
    filter: blur(80px);
}

.rainy-hero-v2-bg::after {
    content: "";
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 350px;
    height: 350px;
    background: rgba(8, 106, 216, 0.08);
    border-radius: 50%;
    filter: blur(70px);
}

/* Slide arka planları */
.rainy-hero-bgs {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.rainy-hero-bg-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.rainy-hero-bg-layer.active {
    opacity: 1;
}

.rainy-hero-bg-layer::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.rainy-hero-bg-vds::after {
    background: linear-gradient(135deg, rgba(8, 106, 216, 0.08) 0%, rgba(13, 33, 55, 0.05) 50%, rgba(8, 106, 216, 0.06) 100%);
}

.rainy-hero-bg-game::after {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.18) 0%, rgba(217, 119, 6, 0.12) 50%, rgba(245, 158, 11, 0.15) 100%);
}

.rainy-hero-bg-kabin::after {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.08) 0%, rgba(13, 148, 136, 0.05) 50%, rgba(20, 184, 166, 0.06) 100%);
}

/* Container: normal flow, ortalanmış */
.rainy-hero-v2 .container.position-relative {
    position: relative !important;
    z-index: 2;
    height: 100%;
    min-height: 460px;
    display: flex;
    flex-direction: column;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 768px) {
    .rainy-hero-v2 .container.position-relative {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* Swiper wrapper */
.rainy-hero-swiper {
    flex: 1;
    min-height: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding-top: 1rem;
    padding-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .rainy-hero-swiper {
        padding-top: 2rem;
    }
}

.rainy-hero-swiper .swiper-wrapper {
    align-items: center;
}

.rainy-hero-swiper .swiper-slide {
    height: auto;
    min-height: 380px;
    display: flex;
    align-items: center;
}

@media (min-width: 768px) {
    .rainy-hero-swiper .swiper-slide {
        min-height: 420px;
    }
}

/* Slide içerik */
.rainy-hero-slide {
    width: 100%;
    padding: 0.5rem 0;
}

.rainy-hero-slide .row,
.rainy-hero-slide .rainy-hero-row {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    align-items: center;
}

/* Mobil: tek kolon, içerik üstte */
@media (max-width: 767px) {
    .rainy-hero-slide .rainy-hero-row {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    .rainy-hero-slide .rainy-hero-row .col-12.order-2.order-md-1 {
        order: 1;
    }
    .rainy-hero-slide .rainy-hero-row .col-12.order-1.order-md-2 {
        order: 2;
    }
}

/* Masaüstü: iki kolon */
@media (min-width: 768px) {
    .rainy-hero-slide .rainy-hero-row .col-md-6:last-child,
    .rainy-hero-slide .rainy-hero-row .rainy-hero-visual {
        transform: translateX(20px);
    }
}

@media (min-width: 992px) {
    .rainy-hero-slide .rainy-hero-row .col-md-6:last-child,
    .rainy-hero-slide .rainy-hero-row .rainy-hero-visual {
        transform: translateX(20px);
    }
}

.rainy-hero-content {
    text-align: center;
}

@media (min-width: 768px) {
    .rainy-hero-content {
        text-align: left;
        transform: translateX(50px);
    }
}

/* Badge */
.rainy-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.rainy-hero-badge-blue {
    background: rgba(8, 106, 216, 0.12);
    border: 1px solid rgba(8, 106, 216, 0.25);
    color: #086AD8;
}

.rainy-hero-badge-orange {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: #b45309;
}

.rainy-hero-badge-teal {
    background: rgba(20, 184, 166, 0.12);
    border: 1px solid rgba(20, 184, 166, 0.25);
    color: #0d9488;
}

/* Başlık */
.rainy-hero-title {
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 0.75rem;
    color: #fff;
}

@media (min-width: 576px) {
    .rainy-hero-title {
        font-size: 1.85rem;
    }
}

@media (min-width: 768px) {
    .rainy-hero-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 992px) {
    .rainy-hero-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1200px) {
    .rainy-hero-title {
        font-size: 2.75rem;
    }
}

.rainy-hero-title-accent {
    display: block;
    background: linear-gradient(135deg, #086AD8 0%, #0d9488 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rainy-hero-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 480px;
    margin: 0 auto 1.25rem;
}

@media (min-width: 768px) {
    .rainy-hero-desc {
        margin-left: 0;
        margin-right: 0;
        font-size: 0.95rem;
    }
}

/* CTA */
.rainy-hero-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff !important;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rainy-hero-btn:hover {
    color: #fff;
    transform: translateY(-2px);
}

.rainy-hero-btn-blue {
    background: linear-gradient(135deg, #086AD8 0%, #0d2137 100%);
    box-shadow: 0 8px 24px rgba(8, 106, 216, 0.3);
}

.rainy-hero-btn-blue:hover {
    box-shadow: 0 12px 32px rgba(8, 106, 216, 0.4);
}

.rainy-hero-btn-orange {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
}

.rainy-hero-btn-orange:hover {
    box-shadow: 0 12px 32px rgba(245, 158, 11, 0.4);
}

.rainy-hero-btn-teal {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.3);
}

.rainy-hero-btn-teal:hover {
    box-shadow: 0 12px 32px rgba(13, 148, 136, 0.4);
}

/* Görsel alan */
.rainy-hero-visual,
.rainy-hero-visual-vds,
.rainy-hero-visual-game,
.rainy-hero-visual-kabin {
    display: flex !important;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

@media (min-width: 768px) {
    .rainy-hero-visual {
        min-height: 300px;
    }
}

@media (min-width: 992px) {
    .rainy-hero-visual {
        min-height: 340px;
    }
}

.rainy-hero-visual-vds {
    flex-direction: column;
}

.rainy-hero-vds-windows {
    position: relative;
    width: 100%;
    max-width: 300px;
    min-height: 180px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .rainy-hero-vds-windows {
        max-width: 320px;
        min-height: 220px;
    }
}

.rainy-hero-terminal {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    width: 100%;
    max-width: 240px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 10px;
    box-shadow: 0 16px 32px rgba(0,0,0,0.2);
    z-index: 2;
}

.rainy-hero-terminal-bar {
    padding: 0.4rem 0.75rem;
    font-size: 0.65rem;
    font-family: monospace;
    color: #94a3b8;
    background: #0f172a;
    border-bottom: 1px solid #334155;
    border-radius: 10px 10px 0 0;
}

.rainy-hero-terminal-body {
    padding: 0.6rem 0.9rem;
    font-size: 0.65rem;
    font-family: monospace;
    color: #e2e8f0;
    line-height: 1.5;
}

.rainy-hero-term-prompt { color: #fff; }
.rainy-hero-term-muted { color: #64748b; }
.rainy-hero-term-ok { color: #22c55e; font-weight: 700; }
.rainy-hero-term-cursor { animation: rainy-hero-blink 1s step-end infinite; }
@keyframes rainy-hero-blink { 50% { opacity: 0; } }

.rainy-hero-rdp {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-30%) rotate(2deg);
    width: 100%;
    max-width: 200px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 16px 32px rgba(0,0,0,0.12);
    z-index: 1;
}

@media (min-width: 768px) {
    .rainy-hero-rdp {
        transform: translateX(10%) rotate(2deg);
    }
}

.rainy-hero-rdp-bar {
    padding: 0.35rem 0.6rem;
    font-size: 0.65rem;
    font-weight: 600;
    color: #fff;
    background: #086AD8;
    border-radius: 10px 10px 0 0;
}

.rainy-hero-rdp-body {
    padding: 0.75rem;
    text-align: center;
}

.rainy-hero-rdp-avatar {
    width: 40px;
    height: 40px;
    margin: 0 auto 0.4rem;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 1rem;
}

.rainy-hero-rdp-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: #334155;
}

.rainy-hero-rdp-loading {
    font-size: 0.65rem;
    color: #64748b;
}

.rainy-hero-os-pills {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.rainy-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.7rem;
    background: rgba(255,255,255,0.95);
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #334155;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.rainy-hero-pill i { font-size: 1.1rem; }
.rainy-hero-pill-linux i { color: #f59e0b; }
.rainy-hero-pill-win i { color: #086AD8; }
.rainy-hero-pill small {
    display: block;
    font-size: 0.55rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
}

/* Oyun kartları */
.rainy-hero-visual-game {
    flex-direction: column;
}

.rainy-hero-game-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    max-width: 260px;
    margin: 0 auto;
}

.rainy-hero-game-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 1rem 0.75rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #0d2137;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.rainy-hero-game-card i {
    font-size: 1.5rem;
    color: #086AD8;
}

.rainy-hero-game-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
    padding: 0.4rem 0.85rem;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #15803d;
}

.rainy-hero-game-badge i { color: #22c55e; }

/* Kabin */
.rainy-hero-visual-kabin {
    flex-direction: column;
}

.rainy-hero-kabin-rack {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border: 2px solid #334155;
    border-radius: 10px;
    padding: 1rem;
    max-width: 240px;
    margin: 0 auto;
    box-shadow: 0 16px 32px rgba(0,0,0,0.2);
}

.rainy-hero-kabin-row {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.4rem;
}

.rainy-hero-kabin-row:last-of-type { margin-bottom: 0; }

.rainy-hero-kabin-row span {
    flex: 1;
    height: 24px;
    background: linear-gradient(180deg, #334155 0%, #1e293b 100%);
    border-radius: 4px;
    border: 1px solid #475569;
}

.rainy-hero-kabin-label {
    text-align: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    margin-top: 0.6rem;
}

.rainy-hero-kabin-badges {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.rainy-hero-kabin-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.6rem;
    background: rgba(255,255,255,0.95);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #334155;
}

.rainy-hero-kabin-badge i { color: #0d9488; }

/* Nav butonları */
.rainy-hero-prev,
.rainy-hero-next {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fff !important;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    color: #0d2137 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: background 0.2s, transform 0.2s;
    z-index: 10;
}

.rainy-hero-prev {
    left: 0.5rem;
    transform: translateY(-50%);
}

.rainy-hero-next {
    right: 0.5rem;
    transform: translateY(-50%);
}

.rainy-hero-prev:hover,
.rainy-hero-next:hover {
    background: #f1f5f9 !important;
}

.rainy-hero-prev:hover { transform: translateY(-50%) scale(1.05); }
.rainy-hero-next:hover { transform: translateY(-50%) scale(1.05); }

.rainy-hero-prev::after,
.rainy-hero-next::after { content: none; }

.rainy-hero-prev i,
.rainy-hero-next i {
    font-size: 0.85rem;
}

@media (min-width: 992px) {
    .rainy-hero-prev {
        left: 0.25rem;
    }
    .rainy-hero-next {
        right: 0.25rem;
    }
}

/* Pagination */
.rainy-hero-pagination {
    position: relative !important;
    margin-top: 0.5rem;
    bottom: auto !important;
    flex-shrink: 0;
    z-index: 10;
}

.rainy-hero-pagination .swiper-pagination-bullet {
    width: 22px;
    height: 4px;
    border-radius: 2px;
    background: #cbd5e0;
    opacity: 1;
    transition: width 0.3s, background 0.3s;
}

.rainy-hero-pagination .swiper-pagination-bullet-active {
    width: 26px;
    background: #086AD8;
}

/* Alt eğri */
.rainy-hero-curve {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    z-index: 1;
    color: #f8fafc;
}

.rainy-hero-curve svg {
    width: 100%;
    height: 100%;
    display: block;
}
