/* ============================================
   PREMIUM HEADER - MODERN, FULL SCREEN, MİNİMAL
   Hero uyumlu dark theme
   ============================================ */

/* Top Ad Bar */
.header-top-ad {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.95) 0%, rgba(0, 212, 255, 0.95) 100%);
    padding: 10px 0;
    position: relative;
    z-index: 10001;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
}

.header-top-ad.hidden {
    display: none;
}

.header-top-ad .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-top-ad__content {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.header-top-ad__text {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.header-top-ad__text svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.header-top-ad__close {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    color: white;
}

.header-top-ad__close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.header-top-ad__close svg {
    width: 14px;
    height: 14px;
}

/* Main Header - Full Screen Modern */
.header-premium {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 10000;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
    width: 100%;
}

.header-premium.scrolled {
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.header-premium__container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.header-premium__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 40px;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

/* Logo */
.header-premium__logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-premium__logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    transition: transform 0.3s;
}

.header-premium__logo a:hover {
    transform: scale(1.03);
}

.header-premium__logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #0066ff 0%, #00d4ff 50%, #0066ff 100%);
    background-size: 200% auto;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.4);
    animation: logoGlow 3s ease infinite;
}

@keyframes logoGlow {
    0%, 100% {
        background-position: 0% center;
        box-shadow: 0 4px 20px rgba(0, 102, 255, 0.4);
    }
    50% {
        background-position: 100% center;
        box-shadow: 0 6px 30px rgba(0, 212, 255, 0.6);
    }
}

.header-premium__logo-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    animation: logoShine 4s infinite;
}

@keyframes logoShine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
        opacity: 0;
    }
}

.header-premium__logo-icon svg {
    width: 28px;
    height: 28px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.header-premium__logo-content {
    display: flex;
    flex-direction: column;
}

.header-premium__logo-text {
    font-size: 22px;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-premium__logo-tagline {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

/* Navigation - Desktop */
.header-premium__nav {
    display: flex;
    flex: 1;
    justify-content: center;
}

.header-premium__nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.header-premium__nav-item--dropdown {
    position: relative;
}

.header-premium__nav-item--dropdown .header-premium__nav-link {
    position: relative;
    z-index: 1001;
}

.header-premium__nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    position: relative;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-premium__nav-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.header-premium__nav-item--dropdown:hover .header-premium__nav-link svg {
    transform: rotate(180deg);
}

.header-premium__nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0066ff, #00d4ff);
    transition: width 0.3s;
}

.header-premium__nav-link:hover,
.header-premium__nav-link.active {
    color: white;
}

.header-premium__nav-link:hover::after,
.header-premium__nav-link.active::after {
    width: 100%;
}

/* Dropdown Menu */
.header-premium__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 600px;
    max-width: 800px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow: hidden;
    pointer-events: none;
    margin-top: 0;
    padding-top: 8px;
}

.header-premium__dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(255, 255, 255, 0.1);
}

.header-premium__nav-item--dropdown:hover .header-premium__dropdown,
.header-premium__dropdown:hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.header-premium__dropdown-inner {
    padding: 24px;
}

.header-premium__dropdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.header-premium__dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.header-premium__dropdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 255, 0.1), transparent);
    transition: left 0.5s;
}

.header-premium__dropdown-item:hover::before {
    left: 100%;
}

.header-premium__dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 102, 255, 0.3);
    transform: translateX(4px);
}

.header-premium__dropdown-item-image {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.header-premium__dropdown-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-premium__dropdown-item-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.header-premium__dropdown-item-icon svg {
    width: 24px;
    height: 24px;
}

.header-premium__dropdown-item-content {
    flex: 1;
    min-width: 0;
}

.header-premium__dropdown-item-title {
    font-weight: 600;
    font-size: 14px;
    color: white;
    margin-bottom: 4px;
    line-height: 1.3;
}

.header-premium__dropdown-item-description {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

.header-premium__dropdown-item-arrow {
    width: 16px;
    height: 16px;
    color: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
    transition: all 0.3s;
}

.header-premium__dropdown-item:hover .header-premium__dropdown-item-arrow {
    color: #00d4ff;
    transform: translateX(4px);
}

.header-premium__dropdown-footer {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 8px;
}

.header-premium__dropdown-footer-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.header-premium__dropdown-footer-link:hover {
    background: rgba(0, 102, 255, 0.2);
    border-color: rgba(0, 102, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.3);
}

.header-premium__dropdown-footer-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.header-premium__dropdown-footer-link:hover svg {
    transform: translateX(4px);
}

/* Actions */
.header-premium__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

/* Auth Buttons */
.header-premium__auth {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-auth {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 14px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-auth--login {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-auth--login:hover {
    color: white;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-auth--register {
    background: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.4);
}

.btn-auth--register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(0, 102, 255, 0.5);
    background: linear-gradient(135deg, #0052cc 0%, #00b8e0 100%);
}

/* Account Menu */
.header-premium__account {
    position: relative;
}

.header-premium__account-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    color: white;
    font-weight: 600;
}

.header-premium__account-trigger:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.header-premium__account-trigger svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.header-premium__account-trigger[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.header-premium__account-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(0, 102, 255, 0.3);
}

.header-premium__account-name {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

.header-premium__account-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    min-width: 280px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow: hidden;
}

.header-premium__account-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-premium__account-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-premium__account-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-premium__account-user-info {
    display: flex;
    flex-direction: column;
}

.header-premium__account-user-name {
    font-weight: 700;
    color: white;
    font-size: 16px;
}

.header-premium__account-user-email {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.header-premium__account-menu {
    padding: 8px 0;
}

.header-premium__account-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s;
}

.header-premium__account-menu-item:hover {
    background: rgba(0, 102, 255, 0.15);
    color: white;
}

.header-premium__account-menu-item svg {
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.6);
}

.header-premium__account-menu-item:hover svg {
    color: #00d4ff;
}

.header-premium__account-menu-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 8px 0;
}

/* Mobile Menu Toggle */
.header-premium__menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    z-index: 10001;
}

.header-premium__menu-toggle span {
    width: 24px;
    height: 2.5px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s;
    display: block;
}

.header-premium__menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
    background: #00d4ff;
}

.header-premium__menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.header-premium__menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
    background: #00d4ff;
}

/* Full Screen Menu Overlay */
.header-premium__menu-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.99) 0%, rgba(30, 41, 59, 0.99) 100%);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    z-index: 99999 !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 0 100px rgba(0, 0, 0, 0.8);
    margin: 0 !important;
    padding: 0 !important;
}

.header-premium__menu-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-premium__menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 140px 20px 100px;
    position: relative;
}

/* Menu Close Button */
.header-premium__menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 1000000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-premium__menu-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

.header-premium__menu-close:active {
    transform: scale(0.95) rotate(90deg);
}

.header-premium__menu-close svg {
    width: 28px;
    height: 28px;
    stroke: white;
    transition: stroke 0.3s;
}

.header-premium__menu-close:hover svg {
    stroke: #00d4ff;
}

/* Mobile Navigation */
.header-premium__nav-mobile {
    width: 100%;
    max-width: 600px;
}

.header-premium__nav-mobile-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.header-premium__menu-link {
    display: block;
    padding: 18px 32px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 700;
    font-size: 28px;
    letter-spacing: -0.02em;
    border-radius: 16px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.header-premium__menu-link--category {
    font-size: 20px;
    font-weight: 600;
    padding-left: 56px;
    text-transform: none;
    letter-spacing: normal;
    position: relative;
}

.header-premium__menu-link--category::before {
    content: '•';
    position: absolute;
    left: 32px;
    color: rgba(255, 255, 255, 0.5);
}

.header-premium__menu-link:hover,
.header-premium__menu-link.active {
    color: white;
    background: rgba(0, 102, 255, 0.15);
    transform: translateX(10px);
}

/* Responsive */
@media (max-width: 1024px) {
    .header-premium__nav {
        display: none;
    }
    
    .header-premium__dropdown {
        display: none;
    }
    
    .header-premium__menu-toggle {
        display: flex;
    }
    
    .header-premium__inner {
        gap: 20px;
    }
    
    .header-premium__logo-text {
        font-size: 20px;
    }
    
    .header-premium__logo-icon {
        width: 44px;
        height: 44px;
    }
    
    .header-premium__logo-icon svg {
        width: 26px;
        height: 26px;
    }
    
    .header-premium__auth {
        gap: 10px;
    }
    
    .btn-auth {
        padding: 9px 16px;
        font-size: 13px;
    }
    
    .header-premium__account-name {
        display: none;
    }
}

@media (max-width: 767px) {
    .header-top-ad__text {
        font-size: 12px;
        padding-right: 30px;
    }
    
    .header-premium__inner {
        padding: 12px 0;
        gap: 16px;
    }
    
    .header-premium__logo-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }
    
    .header-premium__logo-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .header-premium__logo-text {
        font-size: 18px;
    }
    
    .header-premium__logo-tagline {
        font-size: 9px;
    }
    
    .header-premium__actions {
        gap: 10px;
    }
    
    .header-premium__auth {
        gap: 8px;
    }
    
    .btn-auth {
        padding: 8px 14px;
        font-size: 12px;
        gap: 6px;
    }
    
    .btn-auth span {
        display: none;
    }
    
    .header-premium__menu-toggle {
        padding: 8px;
        gap: 4px;
    }
    
    .header-premium__menu-toggle span {
        width: 22px;
        height: 2px;
    }
    
    .header-premium__menu-close {
        top: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
    }
    
    .header-premium__menu-close svg {
        width: 24px;
        height: 24px;
    }
    
    .header-premium__menu-content {
        padding: 100px 15px 60px;
    }
    
    .header-premium__menu-link {
        font-size: 24px;
        padding: 16px 25px;
    }
}
