/* Fal Kalesi - Ortak CSS Dosyası */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0a0a16;
    color: #e0e0ff;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 70px;
    }
}

/* Evren arka planı - hareketli */
.universe-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at center, #0a0a16 0%, #050510 70%, #000005 100%);
    overflow: hidden;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes stars-drift {
    0% { transform: translate(0, 0); }
    25% { transform: translate(2%, 1%); }
    50% { transform: translate(-1%, 2%); }
    75% { transform: translate(1%, -1%); }
    100% { transform: translate(0, 0); }
}

@keyframes nebula-float {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.25; }
    33% { transform: translate(3%, -2%) scale(1.05); opacity: 0.35; }
    66% { transform: translate(-2%, 3%) scale(0.98); opacity: 0.3; }
}

@keyframes nebula-pulse {
    0%, 100% { filter: blur(60px); opacity: 0.3; }
    50% { filter: blur(80px); opacity: 0.45; }
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #eee, transparent),
        radial-gradient(2px 2px at 40px 70px, #fff, transparent),
        radial-gradient(1px 1px at 90px 40px, #ddd, transparent),
        radial-gradient(1px 1px at 130px 80px, #fff, transparent),
        radial-gradient(2px 2px at 160px 120px, #eee, transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: twinkle 8s ease-in-out infinite alternate, stars-drift 25s ease-in-out infinite;
}

.nebula {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: nebula-float 20s ease-in-out infinite, nebula-pulse 8s ease-in-out infinite;
}

.nebula-1 {
    background: linear-gradient(45deg, #3a0ca3, #7209b7);
    top: 10%;
    right: 15%;
    animation-delay: 0s, 0s;
}

.nebula-2 {
    background: linear-gradient(45deg, #f72585, #4361ee);
    bottom: 15%;
    left: 10%;
    width: 400px;
    height: 400px;
    animation-delay: -7s, -3s;
}

/* Navbar + duyuru çubuğu tek sabit blok; duyuru her zaman navbarın bitişiğinde */
.site-header-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}
.site-header-wrap .navbar {
    position: static;
    flex-shrink: 0;
}
.site-header-wrap .announcement-bar {
    position: static;
    top: auto;
    flex-shrink: 0;
}
.announcement-bar {
    left: 0;
    right: 0;
    height: 28px;
    background: linear-gradient(90deg, rgba(132, 0, 88, 0.45), rgba(49, 0, 82, 0.45));
    border-bottom: 1px solid rgba(255, 158, 0, 0.4);
    display: flex;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* 4 özdeş kopya (ikon + metin). -25% = tam 1 kopya kayar → sonsuz kesintisiz döngü. */
.announcement-bar-inner {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    animation: announcement-scroll 14s linear infinite;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}
.announcement-bar-inner .announcement-copy {
    display: inline-flex;
    align-items: center;
}
.announcement-bar-inner .announcement-copy i {
    margin-right: 0.45rem;
    color: #ff9e00;
    font-size: 0.75rem;
}
@keyframes announcement-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-25%); }
}
/* body padding-top ve --navbar-offset JS ile .site-header-wrap yüksekliğine göre ayarlanıyor */
:root { --navbar-offset: 100px; }

/* Navigasyon (site-header-wrap dışında fixed, içinde static) */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 22, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(157, 78, 221, 0.3);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-nav {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(to right, #9d4edd, #ff9e00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.2rem;
    align-items: center;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
}

.nav-menu a {
    color: #e0e0ff;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 5px;
}

.nav-menu a:hover {
    color: #ff9e00;
    background: rgba(157, 78, 221, 0.2);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 10;
    margin-top: var(--navbar-offset);
}

/* Butonlar */
.btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(45deg, #9d4edd, #ff9e00);
    color: white;
    box-shadow: 0 5px 15px rgba(157, 78, 221, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(157, 78, 221, 0.5);
}

.btn-secondary {
    background: rgba(20, 20, 40, 0.7);
    color: #e0e0ff;
    border: 1px solid rgba(157, 78, 221, 0.3);
}

.btn-secondary:hover {
    background: rgba(30, 30, 60, 0.9);
    border-color: rgba(157, 78, 221, 0.5);
}

/* Form elemanları */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #b8b8ff;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(20, 20, 40, 0.7);
    border: 1px solid rgba(157, 78, 221, 0.3);
    border-radius: 10px;
    color: #e0e0ff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #9d4edd;
    box-shadow: 0 0 10px rgba(157, 78, 221, 0.3);
}

.form-control::placeholder {
    color: #8888cc;
}

/* Card tasarımları */
.card {
    background: rgba(20, 20, 40, 0.6);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(157, 78, 221, 0.3);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(157, 78, 221, 0.3);
    border-color: rgba(157, 78, 221, 0.5);
}

/* Yıldız puanlama */
.stars-rating {
    display: flex;
    gap: 0.2rem;
    align-items: center;
}

.star {
    color: #ff9e00;
    font-size: 1.2rem;
}

.star.empty {
    color: #444;
}

.rating-text {
    margin-left: 0.5rem;
    color: #b8b8ff;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    margin-top: 4rem;
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(157, 78, 221, 0.2);
    color: #8888cc;
}

@media (max-width: 768px) {
    .footer {
        padding-bottom: 80px;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #b8b8ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff9e00;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 0.5rem;
    color: #b8b8ff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(157, 78, 221, 0.1);
    color: #8888cc;
}

/* Sosyal Medya Butonları */
.social-media {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(20, 20, 40, 0.7);
    
    color: #e0e0ff;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.social-icon:hover::before {
    width: 300px;
    height: 300px;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.social-icon.instagram {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    border-color: transparent;
}

.social-icon.instagram:hover {
    box-shadow: 0 8px 25px rgba(131, 58, 180, 0.5);
}

.social-icon.tiktok {
    background: linear-gradient(135deg, #000000, #ff0050);
    border-color: transparent;
}

.social-icon.tiktok:hover {
    box-shadow: 0 8px 25px rgba(255, 0, 80, 0.5);
}

.social-icon.facebook {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
    border-color: transparent;
}

.social-icon.facebook:hover {
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.5);
}

.social-icon.youtube {
    background: linear-gradient(135deg, #ff0000, #ff4444);
    border-color: transparent;
}

.social-icon.youtube:hover {
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.5);
}

.social-icon i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.social-icon:hover i {
    transform: rotate(360deg) scale(1.2);
}

.nav-menu a.active {
    color: #ff9e00;
    background: rgba(157, 78, 221, 0.2);
}

/* Navbar Diğer (dropdown) */
.nav-more {
    position: relative;
}

.nav-more-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-more-menu {
    position: absolute;
    top: 110%;
    right: 0;
    min-width: 200px;
    background: rgba(10, 10, 22, 0.98);
    border-radius: 10px;
    border: 1px solid rgba(157, 78, 221, 0.4);
    box-shadow: 0 10px 25px rgba(0,0,0,0.6);
    padding: 0.4rem 0;
    list-style: none;
    display: none;
    z-index: 1200;
}

.nav-more-menu li a {
    display: block;
    padding: 0.5rem 1rem;
    border-radius: 0;
    font-size: 0.9rem;
}

.nav-more-menu li a:hover {
    background: rgba(157, 78, 221, 0.25);
}

.nav-more.open .nav-more-menu {
    display: block;
}

/* Profil dropdown */
.nav-profile-dropdown {
    position: relative;
}

.nav-menu .profile-link {
    position: relative;
}

.nav-menu .profile-link img,
.nav-menu .profile-link > div {
    transition: all 0.3s ease;
}

.nav-menu .profile-link:hover {
    background: rgba(157, 78, 221, 0.3) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(157, 78, 221, 0.4);
}

.nav-menu .profile-link:hover span {
    color: #ff9e00;
}

.nav-menu .profile-link:hover img,
.nav-menu .profile-link:hover > div {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(157, 78, 221, 0.5);
}

.nav-profile-menu {
    position: absolute;
    top: 110%;
    right: 0;
    min-width: 220px;
    background: rgba(10, 10, 22, 0.98);
    border-radius: 10px;
    border: 1px solid rgba(157, 78, 221, 0.4);
    box-shadow: 0 10px 25px rgba(0,0,0,0.6);
    padding: 0.4rem 0;
    list-style: none;
    display: none;
    z-index: 1200;
}

.nav-profile-menu li a,
.nav-profile-menu li.nav-profile-notify {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: #e0e0ff;
    text-decoration: none;
    cursor: pointer;
}

.nav-profile-menu li a:hover,
.nav-profile-menu li.nav-profile-notify:hover {
    background: rgba(157, 78, 221, 0.25);
}

.nav-profile-dropdown.open .nav-profile-menu {
    display: block;
}

/* Animasyonlar */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Bottom Navigation Bar */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 22, 0.95);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(157, 78, 221, 0.3);
    z-index: 999;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.8rem 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}

.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    color: #8888cc;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.bottom-nav-item i {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.bottom-nav-item.active {
    color: #ff9e00;
}

.bottom-nav-item.active i {
    color: #ff9e00;
    transform: scale(1.1);
}

.bottom-nav-item:hover {
    color: #ff9e00;
}

.bottom-nav-item:hover i {
    transform: scale(1.1);
}

/* Ortadaki + butonu (özel) */
.bottom-nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.bottom-nav-center-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #9d4edd, #ff9e00);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(157, 78, 221, 0.5);
    transition: all 0.3s ease;
    position: relative;
    top: -15px;
    text-decoration: none;
}

.bottom-nav-center-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 25px rgba(157, 78, 221, 0.7);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }
    
    .container {
        padding: 1rem;
        margin-bottom: 70px;
    }

    .bottom-nav {
        display: flex;
    }

    .social-media {
        justify-content: center;
        gap: 0.8rem;
    }

    .social-icon {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
}

@media (min-width: 769px) {
    .bottom-nav {
        display: none;
    }
    
    body {
        padding-bottom: 0;
    }
}
