/* ==========================================================================
   Daily Aesthetic Guide - High Performance Dark Theme Stylesheet
   Pure CSS - Zero bloated frameworks - Lightning Fast (<30ms load)
   ========================================================================== */

:root {
    --bg-dark: #0a0f18;
    --bg-darker: #070a10;
    --bg-card: #111a26;
    --bg-card-hover: #152233;
    --border-color: #1a2738;
    --border-hover: #263b54;
    --border-focus: #00d084;
    
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-dim: #475569;
    
    --accent-emerald: #00d084;
    --accent-emerald-dark: #00b070;
    --accent-emerald-glow: rgba(0, 208, 132, 0.25);
    
    --gold: #f59e0b;
    --gold-bg: #2b2310;
    --silver: #94a3b8;
    --silver-bg: #1e2633;
    --bronze: #d97706;
    --bronze-bg: #2d1d11;

    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-pill: 9999px;
    --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img, svg {
    display: block;
    max-width: 100%;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* Navigation Header */
.site-header {
    background-color: rgba(10, 15, 24, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 20px;
}

.site-brand-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.site-brand-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.text-accent {
    color: var(--accent-emerald);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-size: 0.925rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-emerald);
    border-radius: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Search Box */
.search-form {
    position: relative;
    width: 260px;
}

.search-input {
    width: 100%;
    background-color: #121b27;
    border: 1px solid var(--border-color);
    color: #ffffff;
    font-size: 0.875rem;
    padding: 8px 16px 8px 36px;
    border-radius: var(--radius-pill);
    outline: none;
    transition: var(--transition);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-input:focus {
    border-color: var(--accent-emerald);
    box-shadow: 0 0 0 3px var(--accent-emerald-glow);
    background-color: #152233;
    width: 300px;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    padding: 70px 0 50px 0;
    text-align: center;
    position: relative;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.75px;
    margin-bottom: 16px;
    color: #ffffff;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 32px;
    line-height: 1.55;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 24px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--accent-emerald);
    color: #070d14;
    border-color: var(--accent-emerald);
}

.btn-primary:hover {
    background-color: #00f098;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px var(--accent-emerald-glow);
}

.btn-secondary {
    background-color: #141d2a;
    color: #ffffff;
    border-color: #24354b;
}

.btn-secondary:hover {
    background-color: #1a283a;
    border-color: #3b5270;
    transform: translateY(-1px);
}

.btn-card-visit {
    background-color: var(--accent-emerald);
    color: #08101a;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
}

.btn-card-visit:hover {
    background-color: #00f098;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--accent-emerald-glow);
}

.btn-card-review {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: var(--radius-pill);
}

.btn-card-review:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.05);
}

/* Section Common */
.section {
    padding: 40px 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.section-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-filter-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-select {
    background-color: #121c29;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    cursor: pointer;
    outline: none;
}

.filter-select:hover,
.filter-select:focus {
    border-color: var(--border-hover);
    color: #ffffff;
}

/* Cards Grid */
.cards-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.cards-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Exchange Card */
.exchange-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    overflow: hidden;
}

.exchange-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* Rank Ribbon */
.rank-ribbon {
    position: absolute;
    top: 0;
    left: 20px;
    width: 32px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%);
    font-weight: 900;
    font-size: 0.85rem;
    z-index: 2;
}

.ribbon-gold {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000000;
}

.ribbon-silver {
    background: linear-gradient(135deg, #cbd5e1, #94a3b8);
    color: #0f172a;
}

.ribbon-bronze {
    background: linear-gradient(135deg, #fb923c, #c2410c);
    color: #ffffff;
}

.ribbon-standard {
    background: #1e293b;
    color: #94a3b8;
}

/* Card Header */
.card-header-area {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-left: 36px; /* Offset for ribbon */
}

.card-brand-logo {
    display: flex;
    align-items: center;
    height: 36px;
}

/* Star Ratings */
.rating-stars {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 18px;
    padding-left: 36px;
}

.star {
    color: var(--gold);
    font-size: 1rem;
}

.rating-number {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-left: 4px;
}

/* Card Specs List */
.card-specs-list {
    list-style: none;
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 14px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
}

.spec-label {
    color: var(--text-secondary);
}

.spec-value {
    color: #ffffff;
    font-weight: 600;
}

.spec-value.highlight-green {
    color: var(--accent-emerald);
}

/* Card Footer Actions */
.card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Wallet Card Specifics */
.wallet-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.wallet-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.wallet-badge-pill {
    display: inline-block;
    align-self: flex-start;
    background-color: rgba(0, 208, 132, 0.12);
    color: var(--accent-emerald);
    border: 1px solid rgba(0, 208, 132, 0.3);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    margin-bottom: 12px;
}

/* Comparison & Guide Cards */
.guide-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.guide-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.guide-vs-banner {
    background: linear-gradient(135deg, #0d1522 0%, #172436 100%);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border-bottom: 1px solid var(--border-color);
}

.vs-badge {
    background: #090e16;
    border: 1px solid #283a52;
    color: var(--accent-emerald);
    font-size: 0.8rem;
    font-weight: 900;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
}

.guide-card-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.guide-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.4;
}

.guide-card-excerpt {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 18px;
}

.guide-read-link {
    color: var(--accent-emerald);
    font-size: 0.875rem;
    font-weight: 700;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.guide-read-link:hover {
    color: #00f098;
    transform: translateX(3px);
}

/* AdSense Banners & Slots */
.ad-container {
    margin: 32px 0;
    background-color: #0e1622;
    border: 1px dashed #24354a;
    border-radius: var(--radius-md);
    padding: 12px;
}

.ad-label-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding: 0 4px;
}

.ad-badge {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    font-weight: 600;
}

.ad-dropdown-text {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.ad-content-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(14, 22, 34, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-sm);
    padding: 18px;
    text-align: center;
}

.ad-placeholder-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.ad-placeholder-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Site Footer */
.site-footer {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    margin-top: auto;
    padding: 40px 0 30px 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-nav-link {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer-nav-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-disclaimer {
    padding-top: 24px;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-disclaimer p {
    margin-bottom: 8px;
}

.footer-copyright {
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* Article / Review Page Styles */
.review-header {
    padding: 40px 0 20px 0;
}

.review-badge {
    background: rgba(0, 208, 132, 0.15);
    color: var(--accent-emerald);
    border: 1px solid rgba(0, 208, 132, 0.3);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    display: inline-block;
    margin-bottom: 12px;
}

.review-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 12px;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.pros-card, .cons-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
}

.pros-card h3 {
    color: var(--accent-emerald);
    font-size: 1.1rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cons-card h3 {
    color: #f87171;
    font-size: 1.1rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pros-card ul, .cons-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pros-card li::before {
    content: "✓ ";
    color: var(--accent-emerald);
    font-weight: bold;
}

.cons-card li::before {
    content: "✕ ";
    color: #f87171;
    font-weight: bold;
}

/* Specs Table */
.table-responsive {
    overflow-x: auto;
    margin: 24px 0;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.specs-table th, .specs-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.specs-table th {
    background-color: #141f2d;
    color: #ffffff;
    font-weight: 700;
}

.specs-table tr:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

/* Form Styles */
.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    background-color: #111a26;
    border: 1px solid var(--border-color);
    color: #ffffff;
    font-size: 0.95rem;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--accent-emerald);
    box-shadow: 0 0 0 3px var(--accent-emerald-glow);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .cards-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-inner {
        height: 60px;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: var(--bg-darker);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 20px 24px;
        gap: 16px;
    }

    .main-nav.show {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .search-form {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
    }

    .cards-grid-3,
    .cards-grid-2 {
        grid-template-columns: 1fr;
    }

    .pros-cons-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }
}

