/* TopTen Editorial Design Tokens */
:root {
    --color-bg-dark: #0a0a0a;
    --color-bg-card: #121212;
    --color-bg-card-hover: #181818;
    --color-border: rgba(255, 255, 255, 0.05);
    --color-border-hover: rgba(234, 179, 8, 0.3);
    
    --color-primary: #eab308; /* Luxury Gold */
    --color-primary-hover: #ca8a04;
    --color-primary-glow: rgba(234, 179, 8, 0.1);
    
    --color-text-main: #e5e5e5;
    --color-text-muted: #8e8e93;
    
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    color: #ffffff;
    font-weight: 600;
}

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

.text-center { text-align: center; }

/* Badges */
.badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 4px;
    background: var(--color-primary-glow);
    border: 1px solid rgba(234, 179, 8, 0.2);
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.serif-italic {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--color-primary);
}

/* Header */
.app-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    height: 80px;
    padding: 0 2rem;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    font-family: var(--font-serif);
}

.logo-top {
    color: #ffffff;
    letter-spacing: 0.05em;
}

.logo-ten {
    color: var(--color-primary);
    letter-spacing: 0.05em;
}

.logo-ten .dot {
    color: #ffffff;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-menu a {
    color: var(--color-text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-menu a:hover {
    color: #ffffff;
}

.header-actions {
    display: flex;
    align-items: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    background: var(--color-primary);
    color: #0a0a0a;
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #ffffff;
}

.btn-block {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 180px 0 100px 0;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 70%;
    background: radial-gradient(circle, rgba(234, 179, 8, 0.06) 0%, rgba(10, 10, 10, 0) 70%);
    pointer-events: none;
}

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

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    font-family: var(--font-serif);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Directory Category Switcher */
.directory-section {
    padding: 80px 0;
    border-top: 1px solid var(--color-border);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-desc {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
}

.tab-btn.active {
    background: var(--color-primary-glow);
    border-color: var(--color-primary);
    color: var(--color-primary);
    font-weight: 600;
}

/* Directory listings list styling */
.directory-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.directory-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-smooth);
    animation: fadeInSlide 0.4s ease-out forwards;
}

.directory-card:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--color-border-hover);
    transform: translateX(4px);
}

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

.card-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.rank-badge {
    width: 50px;
    height: 50px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--color-primary);
    flex-shrink: 0;
    background: rgba(234, 179, 8, 0.05);
}

.directory-card:nth-child(1) .rank-badge {
    background: var(--color-primary);
    color: #0a0a0a;
    box-shadow: 0 0 15px rgba(234, 179, 8, 0.4);
}

.directory-card:nth-child(2) .rank-badge,
.directory-card:nth-child(3) .rank-badge {
    border-color: #ffffff;
    color: #ffffff;
}

.brand-details h3 {
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
}

.brand-desc {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.card-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.slot-tag {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    color: var(--color-text-muted);
    font-family: var(--font-sans);
}

.btn-visit {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid var(--color-border);
}

.btn-visit:hover {
    background: #ffffff;
    color: #0a0a0a;
}

/* Pricing Bidding area styling */
.pricing-section {
    padding: 100px 0;
    border-top: 1px solid var(--color-border);
    background: linear-gradient(180deg, var(--color-bg-dark) 0%, rgba(234, 179, 8, 0.01) 100%);
}

.pricing-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.pricing-info h2 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.pricing-rules {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.rule-row {
    display: flex;
    justify-content: space-between;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.rule-row .rank {
    font-weight: 600;
    font-size: 0.95rem;
}

.rule-row .cost {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-primary);
}

.rule-row .cost .per {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 400;
}

/* Bidding Calculator Box */
.pricing-calculator {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 2.5rem;
}

.pricing-calculator h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.calc-desc {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group select {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 0.75rem;
    color: #ffffff;
    outline: none;
    font-family: var(--font-sans);
}

.form-group select option {
    background: #121212;
}

.rank-slider-wrapper {
    margin-top: 0.5rem;
}

.rank-value-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.rank-value-display strong {
    color: var(--color-primary);
}

.rank-slider-wrapper input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.08);
    height: 4px;
    outline: none;
}

.rank-slider-wrapper input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: var(--color-primary);
    cursor: pointer;
    border-radius: 50%;
}

.divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 1.5rem 0;
}

/* Bid Summary Details */
.bid-summary-box {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-muted);
}

.summary-line strong {
    color: #ffffff;
}

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

.price-row span {
    font-weight: 600;
}

.price-tag {
    font-family: var(--font-sans);
    display: flex;
    align-items: baseline;
}

.price-tag .curr {
    font-size: 1rem;
    color: var(--color-primary);
    margin-right: 0.2rem;
    font-weight: 600;
}

.price-tag .val {
    font-size: 2.25rem;
    font-weight: 700;
    color: #ffffff;
}

.price-tag .period {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Feedback message box styling */
.feedback-box {
    margin-top: 1.25rem;
    border: 1px solid rgba(234, 179, 8, 0.3);
    background: rgba(234, 179, 8, 0.05);
    padding: 1rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: #ffffff;
}

.feedback-box.hidden { display: none !important; }

.loader-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s infinite linear;
    flex-shrink: 0;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* About model styling */
.about-model-section {
    padding: 80px 0;
    border-top: 1px solid var(--color-border);
}

/* Footer bottom styling */
.app-footer {
    border-top: 1px solid var(--color-border);
    padding: 2.5rem 0;
    background-color: #050505;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a:hover {
    color: #ffffff;
}

/* Responsiveness */
@media (max-width: 1024px) {
    .pricing-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.75rem;
    }
    .nav-menu {
        display: none;
    }
    .category-tabs {
        flex-direction: column;
    }
    .directory-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
    .card-right {
        width: 100%;
        justify-content: space-between;
    }
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
