/* ═══════════════════════════════════════════════════════════════════════════════
   FOOTER.CSS - Premium & Luxury Tasarım (#5)
   90 Dakika Analiz - 2026
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────────────
   SITE FOOTER - Ana Container
   ───────────────────────────────────────────────────────────────────────────── */
.site-footer {
    position: relative;
    background: linear-gradient(180deg, #0f0f0f 0%, #0a0a0a 100%);
    padding: 60px 0 30px;
    margin-top: auto;
}

/* Premium gradient top border */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(74, 222, 128, 0.3) 20%,
        rgba(74, 222, 128, 0.6) 50%,
        rgba(74, 222, 128, 0.3) 80%,
        transparent 100%
    );
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   FOOTER GRID
   ───────────────────────────────────────────────────────────────────────────── */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   FOOTER BRAND - Logo & Description
   ───────────────────────────────────────────────────────────────────────────── */
.footer-brand .logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 16px;
}

.footer-brand .logo-emblem {
    position: relative;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-brand .logo-emblem::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, #4ade80, #22c55e, #15803d);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.footer-brand .logo-emblem-inner {
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.9);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: #4ade80;
}

.footer-brand .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.footer-brand .logo-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-brand .logo-subtitle {
    font-size: 0.65rem;
    font-weight: 500;
    color: rgba(74, 222, 128, 0.8);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 280px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   FOOTER LINKS
   ───────────────────────────────────────────────────────────────────────────── */
.footer-links h4 {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #4ade80, transparent);
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 8px 0;
    position: relative;
    transition: all 0.3s ease;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 0;
    width: 0;
    height: 1px;
    background: #4ade80;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #4ade80;
    padding-left: 8px;
}

.footer-links a:hover::before {
    width: 20px;
}

/* Focus state for accessibility */
.footer-links a:focus-visible {
    outline: 2px solid #4ade80;
    outline-offset: 2px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   FOOTER SOCIAL
   ───────────────────────────────────────────────────────────────────────────── */
.footer-social h4 {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

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

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    border-color: transparent;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
    box-shadow: 0 8px 25px rgba(225, 48, 108, 0.4);
}

.social-link.twitter:hover {
    background: #000;
    border-color: #333;
    color: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.social-link.telegram:hover {
    background: linear-gradient(135deg, #0088cc, #229ED9);
    color: #fff;
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.4);
}

/* Focus state */
.social-link:focus-visible {
    outline: 2px solid #4ade80;
    outline-offset: 2px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   FOOTER BOTTOM - Copyright
   ───────────────────────────────────────────────────────────────────────────── */
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   RESPONSIVE - TABLET
   ───────────────────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 30px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 20px;
    }

    .footer-brand .logo {
        justify-content: center;
    }

    .footer-brand p {
        max-width: none;
        margin: 0 auto;
    }

    .footer-social {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-social-links {
        justify-content: center;
    }
}

/* ─────────────────────────────────────────────────────────────────────────────
   RESPONSIVE - MOBILE
   ───────────────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 100px; /* Bottom nav için padding */
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .footer-links h4 {
        font-size: 0.75rem;
        margin-bottom: 12px;
    }

    .footer-links a {
        font-size: 0.8rem;
        padding: 6px 0;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 30px 0 100px;
    }

    .footer-inner {
        padding: 0 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }

    .footer-brand {
        margin-bottom: 10px;
    }

    .footer-links h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a::before {
        display: none;
    }

    .footer-links a:hover {
        padding-left: 0;
    }

    .footer-social-links {
        justify-content: center;
    }

    .social-link {
        width: 48px;
        height: 48px;
    }
}

/* ─────────────────────────────────────────────────────────────────────────────
   BOTTOM NAVIGATION BAR (Mobil)
   ───────────────────────────────────────────────────────────────────────────── */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 18, 16, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(74, 222, 128, 0.15);
    padding-bottom: env(safe-area-inset-bottom, 0);
    height: 65px;
}

@media (max-width: 992px) {
    .bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }

    .main-content {
        padding-bottom: 80px !important;
    }
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.6rem;
    font-weight: 500;
    padding: 8px 0;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    width: 20%;
    text-align: center;
}

.bottom-nav-item i {
    font-size: 1.2rem;
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
    color: #4ade80;
}

.bottom-nav-item.active i {
    transform: scale(1.15);
}

.bottom-nav-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 3px;
    background: linear-gradient(90deg, #4ade80, #22c55e);
    border-radius: 0 0 3px 3px;
}

/* LIVE Badge */
.bottom-nav-live {
    position: absolute;
    top: 2px;
    right: calc(50% - 25px);
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    font-size: 0.5rem;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 4px;
    animation: bottomLivePulse 1.5s ease infinite;
}

@keyframes bottomLivePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* VIP Item */
.bottom-nav-item.vip i,
.bottom-nav-item.vip span {
    color: #f59e0b !important;
}

.bottom-nav-item.vip:hover i,
.bottom-nav-item.vip:hover span {
    color: #fbbf24 !important;
}

/* ─────────────────────────────────────────────────────────────────────────────
   COOKIE BANNER
   ───────────────────────────────────────────────────────────────────────────── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #111816 0%, #0d1210 100%);
    border-top: 1px solid rgba(74, 222, 128, 0.2);
    padding: 20px;
    z-index: 9998;
    transform: translateY(100%);
    animation: cookieSlideUp 0.5s ease-out forwards;
}

@media (max-width: 992px) {
    .cookie-banner {
        bottom: 65px;
    }
}

@keyframes cookieSlideUp {
    to { transform: translateY(0); }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.cookie-text {
    flex: 1;
    min-width: 280px;
}

.cookie-text h4 {
    color: #4ade80;
    font-size: 1rem;
    margin: 0 0 5px;
}

.cookie-text p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-text a {
    color: #4ade80;
    text-decoration: none;
}

.cookie-text a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.cookie-btn.accept {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    color: #000;
}

.cookie-btn.accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(74, 222, 128, 0.4);
}

.cookie-btn.settings {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
}

.cookie-btn.settings:hover {
    border-color: #4ade80;
    color: #4ade80;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-text {
        min-width: auto;
    }
}

/* ─────────────────────────────────────────────────────────────────────────────
   SCROLL TO TOP BUTTON
   ───────────────────────────────────────────────────────────────────────────── */
.scroll-top-btn {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4ade80, #22c55e);
    color: #0a0a0a;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(74, 222, 128, 0.4);
    z-index: 998;
    transition: all 0.3s ease;
}

.scroll-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(74, 222, 128, 0.5);
}

.scroll-top-btn.visible {
    display: flex;
}

@media (max-width: 992px) {
    .scroll-top-btn {
        bottom: 140px;
    }
}

/* ─────────────────────────────────────────────────────────────────────────────
   TOAST NOTIFICATIONS
   ───────────────────────────────────────────────────────────────────────────── */
.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    min-width: 280px;
    animation: toastSlideIn 0.3s ease;
}

.toast.success { background: linear-gradient(135deg, #10b981, #059669); }
.toast.error { background: linear-gradient(135deg, #ef4444, #dc2626); }
.toast.warning { background: linear-gradient(135deg, #f59e0b, #d97706); }
.toast.info { background: linear-gradient(135deg, #3b82f6, #2563eb); }

@keyframes toastSlideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes toastSlideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   REDUCED MOTION
   ───────────────────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .cookie-banner,
    .toast,
    .scroll-top-btn,
    .bottom-nav-live {
        animation: none !important;
        transition: none !important;
    }
}
