/* Unified Header Styles for Bet69 */
:root {
    --primary-gold: #ffd700;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --text-light: #ffffff;
    --text-muted: #b0b0b0;
    --accent-red: #ff3737;
    --header-height: 80px;
    --mobile-header-height: 60px;
}

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Header Container */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.98) 0%, rgba(5,5,5,0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

/* Header Content */
.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Section */
.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.header-logo img {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(255,215,0,0.3));
}

.header-logo-text {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation Menu */
.header-nav {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 10px 18px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,215,0,0.2), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover {
    color: var(--primary-gold);
    background: rgba(255,215,0,0.1);
}

.nav-link:hover:before {
    left: 100%;
}

.nav-link.active {
    color: var(--primary-gold);
    background: rgba(255,215,0,0.15);
}

/* Hot Tag */
.nav-link .hot-tag {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-red);
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

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

.btn-header {
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-login {
    background: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
}

.btn-login:hover {
    background: var(--primary-gold);
    color: var(--dark-bg);
    box-shadow: 0 4px 15px rgba(255,215,0,0.4);
}

.btn-register {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.btn-register:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-register:hover:before {
    width: 300px;
    height: 300px;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,215,0,0.5);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-gold);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: var(--mobile-header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--mobile-header-height));
    background: var(--dark-bg);
    transition: left 0.3s ease;
    overflow-y: auto;
    z-index: 999;
}

.mobile-menu.active {
    left: 0;
}

.mobile-nav-menu {
    list-style: none;
    padding: 20px;
}

.mobile-nav-item {
    border-bottom: 1px solid rgba(255,215,0,0.1);
}

.mobile-nav-link {
    display: block;
    padding: 15px 10px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--primary-gold);
    padding-left: 20px;
}

.mobile-actions {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-container {
        height: var(--mobile-header-height);
    }
    
    .header-nav {
        display: none;
    }
    
    .header-actions {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .header-logo img {
        height: 35px;
    }
    
    .header-logo-text {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .header-logo-text {
        display: none;
    }
}

/* Footer Styles */
.site-footer {
    background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
    border-top: 2px solid rgba(255,215,0,0.2);
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--primary-gold);
    font-size: 18px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-gold);
}

.footer-section a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    padding: 8px 0;
    transition: all 0.3s ease;
    font-size: 14px;
}

.footer-section a:hover {
    color: var(--primary-gold);
    padding-left: 10px;
}

.footer-section p {
    color: var(--text-muted);
    margin: 10px 0;
    font-size: 14px;
}

.footer-section strong {
    color: var(--primary-gold);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,215,0,0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    filter: drop-shadow(0 2px 4px rgba(255,215,0,0.3));
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 10px;
}

.footer-disclaimer {
    color: #666;
    font-size: 12px;
    line-height: 1.6;
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: rgba(255,215,0,0.05);
    border: 1px solid rgba(255,215,0,0.1);
    border-radius: 8px;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.payment-methods img {
    height: 30px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.payment-methods img:hover {
    opacity: 1;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,215,0,0.1);
    border: 1px solid rgba(255,215,0,0.2);
    border-radius: 50%;
    color: var(--primary-gold);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary-gold);
    color: var(--dark-bg);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255,215,0,0.4);
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 640px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-section h3 {
        font-size: 16px;
    }
    
    .payment-methods {
        gap: 10px;
    }
    
    .payment-methods img {
        height: 25px;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-bg);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 900;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255,215,0,0.5);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}