/* ===================================
   OneClub User Page Styles
   =================================== */

/* CSS Variables */
:root {
    --color-gold: #D4AF37;
    --color-gold-light: #D4AF37;
    --color-gold-dark: #D4AF37;
    --color-black: #000000;
    --color-dark: #0A0A0A;
    --color-dark-gray: #1A1A1A;
    --color-medium-gray: #2A2A2A;
    --color-light-gray: #888888;
    --color-white: #FFFFFF;
    --color-text: #E5E5E5;
    --color-text-muted: #999999;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-black);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ===================================
   Navigation - Apple Style
   =================================== */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem;
    height: 70px;
    background: var(--color-black);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    height: 100%;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    height: 48px;
}

.navbar-brand img {
    height: 40px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.navbar-brand:hover img {
    opacity: 1;
}

.nav-center {
    display: flex;
    align-items: center;
    gap: 50px;
}

/* Dropdown Navigation */
.nav-dropdown {
    position: relative;
    height: 48px;
    display: flex;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    font-size: var(--font-size-sm);
    font-weight: 400;
    letter-spacing: 0;
    color: var(--color-text);
    padding: 0;
    cursor: pointer;
    height: 48px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 1);
}

.nav-link.active {
    color: rgba(255, 255, 255, 1);
}

.dropdown-arrow {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;
    background: var(--color-black);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.nav-dropdown-item {
    display: block;
    padding: 0.6rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.nav-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 1);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-partner {
     display: block;
    padding: 0.6rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    transition: all 0.2s ease;
}


.btn-partner:hover {
    background: var(--color-gold);
    color: var(--color-black);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: var(--transition);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 2rem;
}

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    width: 100%;
    max-width: 300px;
}

.mobile-nav-dropdown {
    width: 100%;
}

.mobile-nav-dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-nav-dropdown-trigger svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.mobile-nav-dropdown.open .mobile-nav-dropdown-trigger svg {
    transform: rotate(180deg);
}

.mobile-nav-dropdown-trigger:hover,
.mobile-nav-dropdown-trigger.active,
.mobile-nav-dropdown.open .mobile-nav-dropdown-trigger {
    color: var(--color-gold);
}

.mobile-nav-dropdown-content {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: var(--color-dark-gray);
    border-radius: var(--border-radius);
}

.mobile-nav-dropdown.open .mobile-nav-dropdown-content {
    display: flex;
}

.mobile-nav-dropdown-content a {
    font-size: 1rem;
    color: var(--color-text-muted);
    padding: 0.5rem;
    border-radius: 8px;
}

.mobile-nav-dropdown-content a:hover {
    color: var(--color-gold);
    background: rgba(201, 162, 39, 0.1);
}

.mobile-nav-link {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.mobile-nav-link.active {
    color: var(--color-gold);
}

.mobile-nav-divider {
    width: 50px;
    height: 1px;
    background: var(--color-medium-gray);
    margin: 0.5rem auto;
}

.btn-partner.mobile {
    margin-top: 1rem;
}

/* ===================================
   Hero Section
   =================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 2rem 80px;
    position: relative;
    overflow: hidden;
    background: var(--color-black);
}

/* Hero Background Video */
.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: var(--color-black);
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        linear-gradient(to bottom, 
            rgba(0, 0, 0, 0.6) 0%, 
            rgba(0, 0, 0, 0.65) 40%, 
            rgba(0, 0, 0, 0.75) 70%, 
            rgba(17, 17, 17, 1) 100%
        );
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

/* Hero Content Fade-In Animation */

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: heroFadeUp 1s ease-out 0.2s both;
}

.hero-title .text-white {
    color: var(--color-white);
}

.hero-title .text-gradient {
    background: linear-gradient(135deg, var(--color-gold) 0%, #8B7355 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    animation: heroFadeUp 1s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: heroFadeUp 1s ease-out 0.6s both;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-title,
    .hero-subtitle,
    .hero-buttons {
        animation: none;
    }
}

.btn-primary {
    padding: 1rem 2rem;
    background: var(--color-gold);
    border: none;
    border-radius: 50px;
    color: var(--color-black);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary:hover {
    background: var(--color-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 162, 39, 0.3);
}

.btn-secondary {
    padding: 1rem 2rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* ===================================
   Section Styles
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(201, 162, 39, 0.15);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 50px;
    color: var(--color-gold);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* ===================================
   Benefits Section
   =================================== */
.benefits-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.benefit-card {
    background: linear-gradient(180deg, var(--color-dark-gray) 0%, var(--color-dark) 100%);
    border: 1px solid var(--color-medium-gray);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 162, 39, 0.3);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: rgba(201, 162, 39, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--color-gold);
}

.benefit-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

.benefit-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ===================================
   How It Works Section
   =================================== */
.how-it-works-section {
    padding: 6rem 2rem;
    background: var(--color-dark);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: rgba(201, 162, 39, 0.15);
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gold);
    margin: 0 auto 1.5rem;
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

.step-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ===================================
   Clubs Section
   =================================== */
.clubs-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.clubs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.club-card {
    background: var(--color-dark-gray);
    border: 1px solid var(--color-medium-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.club-card:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 162, 39, 0.3);
}

.club-image {
    height: 150px;
    background: linear-gradient(135deg, var(--color-medium-gray) 0%, var(--color-dark) 100%);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 1rem;
}

.club-category {
    padding: 0.25rem 0.75rem;
    background: rgba(201, 162, 39, 0.9);
    border-radius: 20px;
    color: var(--color-black);
    font-size: 0.75rem;
    font-weight: 600;
}

.club-info {
    padding: 1rem;
}

.club-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 0.25rem;
}

.club-info p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.star-icon {
    width: 14px;
    height: 14px;
    fill: var(--color-gold);
}

/* ===================================
   Download Section
   =================================== */
.download-section {
    padding: 6rem 2rem;
    background: radial-gradient(ellipse at center, rgba(201, 162, 39, 0.1) 0%, transparent 60%);
}

.download-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.download-content h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.download-content p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: var(--color-dark-gray);
    border: 1px solid var(--color-medium-gray);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.store-btn:hover {
    border-color: var(--color-gold);
    background: rgba(201, 162, 39, 0.1);
}

.store-icon {
    width: 28px;
    height: 28px;
    fill: var(--color-white);
}

.store-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.store-label {
    font-size: 0.7rem;
    color: var(--color-text-muted);
}

.store-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    text-align: center;
    padding: 6rem 2rem;
    background: var(--color-dark);
}

.cta-section h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--color-black);
    border-top: 1px solid var(--color-black);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
}

.footer-brand img {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    max-width: 250px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.footer-column a {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.footer-column a:hover {
    color: var(--color-gold);
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--color-medium-gray);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .clubs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 1rem;
    }
    
    .nav-center {
        display: none;
    }
    
    .nav-right {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-nav-overlay {
        display: block;
    }
    
    .hero-section {
        min-height: 100vh;
        padding: 120px 1.5rem 3rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-subtitle br {
        display: none;
    }
    
    .benefits-section {
        padding: 4rem 1.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .how-it-works-section {
        padding: 4rem 1.5rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .clubs-section {
        padding: 4rem 1.5rem;
    }
    
    .clubs-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .cta-section {
        padding: 4rem 1.5rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-brand p {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 100px 1rem 2rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .section-badge {
        font-size: 0.7rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .benefits-section {
        padding: 3rem 1rem;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
    
    .how-it-works-section {
        padding: 3rem 1rem;
    }
    
    .clubs-section {
        padding: 3rem 1rem;
    }
    
    .download-buttons {
        flex-direction: column;
    }
    
    .store-btn {
        justify-content: center;
    }
    
    .cta-section {
        padding: 3rem 1rem;
    }
    
    .footer {
        padding: 3rem 1rem 1.5rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .footer-bottom {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
}
