/* ===== HEADER ===== */
.tct-dark-header {
    background-color: #0A0A12;
    position: relative;
    z-index: 50;
    flex-shrink: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== DRAW SVG LOGO ANIMATION ===== */
.draw-svg path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

.draw-svg .logo-fill {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
    animation: logoFill 0.5s ease 1.6s forwards;
}

@keyframes logoFill {
    to { opacity: 0.15; }
}

/* ===== PREMIUM LOGO BADGE ===== */
.premium-logo-badge {
    position: relative;
    overflow: hidden;
}

.premium-logo-badge::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: skewX(-20deg);
    transition: left 0s;
    pointer-events: none;
}

.premium-logo-badge:hover::after {
    left: 125%;
    transition: left 0.6s ease;
}

/* ===== DESKTOP NAVIGATION ===== */
.nav-desktop {
    display: none;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: block;
    }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ===== LOGO ===== */
.logo {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-icon svg {
    width: 26px;
    height: 26px;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    letter-spacing: -0.5px;
    margin: 0;
}

.logo-subtitle {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

/* ===== MENU ===== */
.menu {
    display: flex;
    gap: 8px;
}

.menu-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    transform: scale(1.02);
}

.menu-item:active {
    transform: scale(0.97);
}

.menu-item.active {
    background: #007AFF;
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(0, 122, 255, 0.35);
}

.menu-item svg {
    width: 18px;
    height: 18px;
}

/* ===== DROPDOWN MENU ===== */
.dropdown-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(20, 20, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px;
    min-width: 160px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.dropdown-wrapper:hover .dropdown-menu,
.dropdown-wrapper:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
}

/* ===== MOBILE NAVIGATION ===== */
.nav-mobile {
    display: block;
}

@media (min-width: 768px) {
    .nav-mobile {
        display: none;
    }
}

.nav-mobile-container {
    padding: 14px 16px 8px;
}

.nav-mobile-content {
    margin-bottom: 12px;
}

.logo-mobile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon-mobile {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-icon-mobile svg {
    width: 20px;
    height: 20px;
    display: block;
}

.logo-text-mobile {
    display: flex;
    flex-direction: column;
}

.logo-title-mobile {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    letter-spacing: -0.3px;
    margin: 0;
}

.logo-subtitle-mobile {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

.menu-mobile {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    position: relative;
    scrollbar-width: none;
}

.menu-mobile::-webkit-scrollbar { display: none; }

.menu-item-mobile {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: color 0.2s ease, transform 0.1s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.menu-item-mobile:active {
    transform: scale(0.96);
}

.menu-item-mobile.active {
    background: #007AFF;
    color: #fff;
    border-color: transparent;
}

.menu-item-mobile svg {
    width: 15px;
    height: 15px;
}
