/* ============================================
   CRYPTOFLOW - COMPLETE PROFESSIONAL STYLESHEET
   Version: 3.0 - Fixed Selectors
   ============================================ */

/* Import Google Fonts */

/* CSS Variables */
:root {
    --primary: #f59e0b;
    --primary-dark: #ea580c;
    --primary-light: #fbbf24;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    --dark: #0a0a0f;
    --dark-card: #11131f;
    --dark-surface: #1a1c2c;
    --gray: #6b7280;
    --gray-light: #9ca3af;
    --text: #eef2ff;
    --border: rgba(255, 255, 255, 0.08);
    --gradient: linear-gradient(135deg, var(--primary), var(--primary-dark));
    --gradient-dark: linear-gradient(135deg, #0f0f1a, #1a1a2e);
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 20px rgba(245, 158, 11, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(245, 158, 11, 0.15);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.02);
}

.logo i {
    font-size: 32px;
    color: var(--primary);
    filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.3));
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.nav-links a {
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--gray-light);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
    background: rgba(245, 158, 11, 0.1);
}

.nav-links a.active {
    background: rgba(245, 158, 11, 0.15);
    color: var(--primary);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.user-badge {
    padding: 8px 18px;
    background: rgba(245, 158, 11, 0.15);
    border-radius: 40px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 500;
}

.btn-outline {
    border: 1px solid rgba(245, 158, 11, 0.4);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--primary);
}

.search-bar {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 60px;
    padding: 8px 20px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.search-bar:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.search-bar i {
    color: var(--gray);
}

.search-bar input {
    background: none;
    border: none;
    padding: 8px 12px;
    color: white;
    outline: none;
    width: 220px;
}

.search-bar input::placeholder {
    color: var(--gray);
}

/* ============================================
   MARKETS PAGE STYLES
   ============================================ */

.markets-page {
    background: var(--dark);
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.markets-hero {
    background: var(--gradient-dark);
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(245, 158, 11, 0.1);
    position: relative;
    overflow: hidden;
}

.markets-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.08), transparent);
    pointer-events: none;
}

.markets-hero-content {
    text-align: center;
    margin-bottom: 40px;
}

.markets-hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 16px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.markets-hero-content p {
    font-size: 18px;
    color: var(--gray-light);
}

/* Stats Grid */
.market-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.market-stat {
    background: rgba(17, 19, 31, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 24px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.market-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
}

.market-stat:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: var(--shadow-glow);
}

.stat-label {
    font-size: 12px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: block;
}

.stat-value {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
    display: block;
}

.stat-change {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.stat-change.positive {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.stat-change.negative {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

.stat-change.greed {
    background: rgba(245, 158, 11, 0.15);
    color: var(--primary);
}

/* Tabs */
.markets-tabs {
    display: flex;
    gap: 16px;
    margin: 40px 0 32px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 12px 28px;
    color: var(--gray-light);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 40px;
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--primary);
}

.tab-btn.active {
    background: var(--gradient);
    color: white;
    box-shadow: 0 5px 20px rgba(245, 158, 11, 0.3);
}

/* Table Container */
.table-container {
    background: rgba(17, 19, 31, 0.8);
    border-radius: 24px;
    overflow-x: auto;
    border: 1px solid var(--border);
    margin-bottom: 40px;
}

.crypto-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.crypto-table th {
    text-align: left;
    padding: 20px 24px;
    color: var(--gray);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.2);
}

.crypto-table td {
    padding: 18px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    vertical-align: middle;
}

.crypto-row {
    cursor: pointer;
    transition: var(--transition);
}

.crypto-row:hover {
    background: rgba(245, 158, 11, 0.05);
}

.coin-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.coin-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.2);
}

.coin-name {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 2px;
}

.coin-symbol {
    font-size: 11px;
    color: var(--gray);
}

.price {
    font-weight: 700;
    font-size: 16px;
}

.positive {
    color: var(--success);
    font-weight: 600;
}

.negative {
    color: var(--danger);
    font-weight: 600;
}

/* Gainers/Losers Grid */
.gainers-losers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.top-mover-card {
    background: rgba(17, 19, 31, 0.8);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.top-mover-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: var(--shadow-glow);
}

.mover-icon {
    font-size: 44px;
}

.mover-info {
    flex: 1;
}

.mover-name {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 4px;
}

.mover-symbol {
    font-size: 12px;
    color: var(--gray);
}

.mover-price {
    font-weight: 700;
    font-size: 18px;
    margin-right: 16px;
}

.mover-change {
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 14px;
}

.mover-change.positive {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.mover-change.negative {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

/* DeFi Grid */
.defi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.defi-card {
    background: rgba(17, 19, 31, 0.8);
    border-radius: 24px;
    padding: 28px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.defi-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: var(--shadow-glow);
}

.defi-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.defi-name {
    font-weight: 800;
    font-size: 20px;
    margin-bottom: 4px;
}

.defi-symbol {
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 16px;
}

.defi-price {
    font-size: 28px;
    font-weight: 800;
    margin: 16px 0;
}

.defi-change {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}

.defi-change.positive {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.defi-tvl {
    font-size: 13px;
    color: var(--gray);
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.tab-content {
    display: none;
    animation: fadeInUp 0.4s ease;
}

.tab-content.active {
    display: block;
}

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

/* ============================================
   ANALYSIS PAGE STYLES
   ============================================ */

.analysis-page {
    background: var(--dark);
    min-height: calc(100vh - 200px);
}

.analysis-header {
    text-align: center;
    padding: 60px 0 40px;
}

.analysis-header h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 16px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.analysis-header p {
    font-size: 18px;
    color: var(--gray-light);
}

/* Featured Analysis */
.featured-analysis {
    margin-bottom: 60px;
}

.featured-card {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(17, 19, 31, 0.95));
    border-radius: 32px;
    padding: 48px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.featured-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1), transparent);
    border-radius: 50%;
}

.featured-badge {
    display: inline-block;
    background: var(--gradient);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.featured-card h2 {
    font-size: 40px;
    margin-bottom: 20px;
    max-width: 70%;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

.featured-card p {
    color: var(--gray-light);
    margin-bottom: 28px;
    max-width: 70%;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.featured-meta {
    display: flex;
    gap: 28px;
    margin-bottom: 32px;
    font-size: 13px;
    color: var(--gray);
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.featured-meta i {
    margin-right: 8px;
    color: var(--primary);
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(245, 158, 11, 0.15);
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.read-more-btn:hover {
    background: var(--gradient);
    color: white;
    gap: 18px;
}

/* Filter Chips */
.analysis-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-chip {
    background: rgba(17, 19, 31, 0.9);
    border: 1px solid var(--border);
    padding: 10px 28px;
    border-radius: 40px;
    color: var(--gray-light);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-chip:hover {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.filter-chip.active {
    background: var(--gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

/* Analysis Grid */
.analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.analysis-card {
    background: rgba(17, 19, 31, 0.8);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.analysis-card:hover {
    transform: translateY(-8px);
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: var(--shadow-glow);
}

.analysis-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.analysis-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.analysis-card:hover .analysis-image img {
    transform: scale(1.08);
}

.analysis-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.analysis-content {
    padding: 28px;
}

.analysis-content h3 {
    font-size: 22px;
    margin-bottom: 14px;
    line-height: 1.4;
    font-weight: 700;
}

.analysis-content p {
    color: var(--gray-light);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.analysis-meta {
    display: flex;
    gap: 20px;
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.analysis-meta i {
    margin-right: 6px;
    color: var(--primary);
}

/* Analysis Stats */
.analysis-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.analysis-stats .stat {
    flex: 1;
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 10px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
}

.stat-value {
    display: block;
    font-size: 16px;
    font-weight: 800;
}

.stat-value.bullish {
    color: var(--success);
}

.analysis-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
}

.analysis-link:hover {
    gap: 14px;
}

/* TradingView Section */
.tradingview-section {
    background: linear-gradient(135deg, rgba(17, 19, 31, 0.9), rgba(10, 10, 15, 0.95));
    border-radius: 32px;
    padding: 50px;
    text-align: center;
    margin-bottom: 60px;
    border: 1px solid var(--border);
}

.tradingview-section h2 {
    font-size: 32px;
    margin-bottom: 12px;
}

.tradingview-section p {
    color: var(--gray-light);
    margin-bottom: 32px;
}

.chart-container {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    padding: 60px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}

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

.chart-placeholder i {
    font-size: 72px;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
    opacity: 0.7;
}

.chart-placeholder p {
    font-size: 18px;
    margin-bottom: 8px;
    color: white;
}

.chart-placeholder small {
    color: var(--gray);
}

/* Newsletter Section */
.analysis-newsletter {
    background: var(--gradient-dark);
    border-radius: 32px;
    padding: 50px;
    text-align: center;
    border: 1px solid rgba(245, 158, 11, 0.15);
    margin-bottom: 40px;
}

.analysis-newsletter .newsletter-content i {
    font-size: 52px;
    color: var(--primary);
    margin-bottom: 20px;
}

.newsletter-content h3 {
    font-size: 30px;
    margin-bottom: 12px;
}

.newsletter-content p {
    color: var(--gray-light);
    margin-bottom: 28px;
}

.newsletter-content .newsletter-form {
    max-width: 450px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
}

.newsletter-content .newsletter-form input {
    flex: 1;
    padding: 15px 22px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: white;
    font-size: 14px;
    transition: var(--transition);
}

.newsletter-content .newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.newsletter-content .newsletter-form button {
    padding: 15px 32px;
    background: var(--gradient);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-content .newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(245, 158, 11, 0.4);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: #050508;
    border-top: 1px solid rgba(245, 158, 11, 0.1);
    padding: 60px 0 30px;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-section p {
    color: var(--gray);
    margin-top: 16px;
    line-height: 1.7;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 16px;
    color: white;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: var(--gray-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--gray);
    font-size: 14px;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }
    
    .markets-hero-content h1,
    .analysis-header h1 {
        font-size: 42px;
    }
    
    .featured-card h2 {
        font-size: 32px;
        max-width: 100%;
    }
    
    .featured-card p {
        max-width: 100%;
    }
    
    .analysis-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .nav {
        flex-direction: column;
    }
    
    .nav-links {
        justify-content: center;
    }
    
    .market-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .market-stat {
        padding: 16px;
    }
    
    .stat-value {
        font-size: 24px;
    }
    
    .markets-hero-content h1,
    .analysis-header h1 {
        font-size: 32px;
    }
    
    .featured-card {
        padding: 28px;
    }
    
    .featured-card h2 {
        font-size: 24px;
    }
    
    .analysis-grid {
        grid-template-columns: 1fr;
    }
    
    .gainers-losers-grid {
        grid-template-columns: 1fr;
    }
    
    .defi-grid {
        grid-template-columns: 1fr;
    }
    
    .crypto-table th,
    .crypto-table td {
        padding: 12px 16px;
        font-size: 12px;
    }
    
    .coin-icon {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .tradingview-section {
        padding: 30px;
    }
    
    .chart-container {
        padding: 30px;
    }
    
    .newsletter-content .newsletter-form {
        flex-direction: column;
    }
    
    .markets-tabs {
        gap: 8px;
    }
    
    .tab-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .featured-meta {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .market-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .search-bar {
        width: 100%;
    }
    
    .search-bar input {
        width: 100%;
    }
}/* ============================================
/* ============================================
   DASHBOARD PAGE STYLES
   ============================================ */

.dashboard-page {
    background: var(--dark);
    min-height: calc(100vh - 200px);
    padding: 40px 0 60px;
}

/* Dashboard Header */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    padding: 24px 32px;
    background: linear-gradient(135deg, rgba(17, 19, 31, 0.8), rgba(10, 10, 15, 0.9));
    border-radius: 28px;
    border: 1px solid var(--border);
}

.dashboard-welcome {
    display: flex;
    align-items: center;
    gap: 20px;
}

.welcome-avatar .avatar-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.welcome-text h1 {
    font-size: 28px;
    margin-bottom: 6px;
}

.welcome-text p {
    color: var(--gray-light);
    font-size: 14px;
}

.dashboard-date {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 40px;
    color: var(--gray-light);
    font-size: 14px;
}

.dashboard-date i {
    color: var(--primary);
}

/* Stats Cards */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.stat-card {
    background: rgba(17, 19, 31, 0.8);
    border-radius: 24px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: var(--shadow-glow);
}

.stat-card:hover::after {
    transform: scaleX(1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.stat-icon.saved {
    background: rgba(245, 158, 11, 0.15);
    color: var(--primary);
}

.stat-icon.joined {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.stat-icon.reading {
    background: rgba(59, 130, 246, 0.15);
    color: var(--info);
}

.stat-icon.streak {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

.stat-info {
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--gray);
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.dashboard-card {
    background: rgba(17, 19, 31, 0.8);
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.dashboard-card:hover {
    border-color: rgba(245, 158, 11, 0.2);
    box-shadow: var(--shadow-glow);
}

/* Card Header */
.card-header {
    padding: 24px 28px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

.header-icon {
    width: 48px;
    height: 48px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-icon i {
    font-size: 24px;
    color: var(--primary);
}

.card-header h3 {
    font-size: 20px;
    margin-bottom: 4px;
}

.card-header p {
    font-size: 13px;
    color: var(--gray);
}

.article-count {
    margin-left: auto;
    padding: 6px 14px;
    background: rgba(245, 158, 11, 0.15);
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
}

/* Card Body */
.card-body {
    padding: 28px;
}

/* Saved Articles List */
.saved-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 500px;
    overflow-y: auto;
}

.saved-list::-webkit-scrollbar {
    width: 4px;
}

.saved-list::-webkit-scrollbar-track {
    background: var(--border);
    border-radius: 4px;
}

.saved-list::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.saved-item {
    display: flex;
    gap: 18px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    transition: var(--transition);
}

.saved-item:hover {
    background: rgba(245, 158, 11, 0.05);
    transform: translateX(5px);
}

.saved-image {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
}

.saved-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.saved-content {
    flex: 1;
}

.saved-category {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.saved-category.market {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.saved-category.defi {
    background: rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
}

.saved-category.regulation {
    background: rgba(245, 158, 11, 0.15);
    color: var(--primary);
}

.saved-content h4 {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.saved-meta {
    display: flex;
    gap: 16px;
    font-size: 11px;
    color: var(--gray);
    margin-bottom: 12px;
}

.saved-actions {
    display: flex;
    gap: 12px;
}

.btn-read {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(245, 158, 11, 0.15);
    border-radius: 20px;
    color: var(--primary);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-read:hover {
    background: var(--gradient);
    color: white;
}

.btn-remove {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(239, 68, 68, 0.15);
    border: none;
    border-radius: 20px;
    color: var(--danger);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-remove:hover {
    background: var(--danger);
    color: white;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    font-size: 64px;
    color: var(--gray);
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--gray);
    margin-bottom: 24px;
}

.btn-browse {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: var(--gradient);
    border-radius: 40px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-browse:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(245, 158, 11, 0.3);
}

/* Activity Stats */
.activity-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

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

.activity-circle {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 12px;
}

.progress-circle {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.activity-percent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
}

.activity-label {
    font-size: 12px;
    color: var(--gray);
}

.stat-number-large {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 4px;
}

.stat-label-small {
    font-size: 12px;
    color: var(--gray);
}

/* Recent Activity */
.recent-activity h4 {
    font-size: 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.activity-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.timeline-item {
    display: flex;
    gap: 16px;
}

.timeline-dot {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    margin-top: 6px;
    position: relative;
}

.timeline-dot::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 4px;
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary), transparent);
}

.timeline-item:last-child .timeline-dot::before {
    display: none;
}

.timeline-content p {
    font-size: 14px;
    margin-bottom: 4px;
}

.timeline-time {
    font-size: 11px;
    color: var(--gray);
}

/* Recommendations List */
.recommendations-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recommendation-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    transition: var(--transition);
}

.recommendation-item:hover {
    background: rgba(245, 158, 11, 0.05);
    transform: translateX(5px);
}

.rec-number {
    width: 40px;
    height: 40px;
    background: rgba(245, 158, 11, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
}

.rec-content {
    flex: 1;
}

.rec-content h4 {
    font-size: 16px;
    margin-bottom: 6px;
}

.rec-content p {
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 8px;
}

.rec-content a {
    color: var(--primary);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.rec-content a:hover {
    gap: 10px;
}

/* Settings List */
.settings-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.setting-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
}

.setting-item > i {
    width: 40px;
    height: 40px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
}

.setting-info {
    flex: 1;
}

.setting-label {
    display: block;
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 4px;
}

.setting-value {
    display: block;
    font-size: 14px;
    font-weight: 500;
}

.edit-btn {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 8px;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
}

.edit-btn:hover {
    background: var(--primary);
    color: white;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 34px;
    transition: 0.3s;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--gradient);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

/* Logout Section */
.logout-section {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.btn-logout {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: rgba(239, 68, 68, 0.15);
    border-radius: 40px;
    color: var(--danger);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

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

/* Full Width Card */
.dashboard-card.full-width {
    grid-column: span 2;
}

/* Responsive Dashboard */
@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-card.full-width {
        grid-column: span 1;
    }
    
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dashboard-page {
        padding: 20px 0 40px;
    }
    
    .dashboard-header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .dashboard-welcome {
        flex-direction: column;
        text-align: center;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .saved-item {
        flex-direction: column;
    }
    
    .saved-image {
        width: 100%;
        height: 180px;
    }
    
    .activity-stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .setting-item {
        flex-wrap: wrap;
    }
    
    .setting-item > i {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .card-header {
        flex-direction: column;
        text-align: center;
    }
    
    .article-count {
        margin-left: 0;
    }
    
    .saved-actions {
        flex-direction: column;
    }
    
    .btn-read, .btn-remove {
        justify-content: center;
    }
}
/* ============================================
   AUTH PAGES - MODERN PROFESSIONAL DESIGN
   ============================================ */

.auth-page {
    min-height: calc(100vh - 80px);
    background: linear-gradient(135deg, #0a0a0f 0%, #0d0d14 100%);
}

.auth-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 20px;
}

.auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: rgba(18, 18, 28, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 48px;
    overflow: hidden;
    border: 1px solid rgba(245, 158, 11, 0.15);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* ============================================
   LEFT SIDE - BRANDING SECTION
   ============================================ */

.auth-branding {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(239, 68, 68, 0.05));
    padding: 48px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.auth-branding::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1), transparent);
    border-radius: 50%;
}

.auth-branding::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.08), transparent);
    border-radius: 50%;
}

.branding-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.branding-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
}

.branding-logo i {
    font-size: 40px;
    color: var(--primary);
    filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.3));
}

.branding-logo span {
    font-size: 32px;
    font-weight: 800;
    color: white;
}

.branding-logo span span {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.auth-branding h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff, #fcd34d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.auth-branding > p {
    font-size: 16px;
    color: var(--gray-light);
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Branding Features */
.branding-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 24px;
    color: var(--primary);
}

.feature-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 13px;
    color: var(--gray);
}

/* Testimonial */
.branding-testimonial {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    padding: 24px;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.branding-testimonial i {
    font-size: 32px;
    color: var(--primary);
    opacity: 0.5;
    margin-bottom: 16px;
    display: block;
}

.branding-testimonial p {
    font-size: 15px;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author strong {
    display: block;
    font-size: 14px;
}

.testimonial-author span {
    font-size: 12px;
    color: var(--gray);
}

/* Branding Stats */
.branding-stats {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-item .stat-number {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-item .stat-label {
    font-size: 11px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   RIGHT SIDE - FORM SECTION
   ============================================ */

.auth-form-wrapper {
    padding: 48px;
    display: flex;
    align-items: center;
}

.form-container {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 32px;
}

.form-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.form-header p {
    color: var(--gray-light);
    font-size: 14px;
}

/* Social Login Section */
.social-login-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 14px 20px;
    border-radius: 60px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

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

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

.social-icon {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.social-btn span {
    position: relative;
    z-index: 1;
}

.google-btn {
    background: #ffffff;
    color: #1f2937;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.google-btn:hover {
    background: #f9fafb;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
}

.outlook-btn {
    background: #1a1a2e;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.outlook-btn:hover {
    background: #252542;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Divider */
.divider {
    position: relative;
    text-align: center;
    margin: 24px 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.4), rgba(245, 158, 11, 0.2), transparent);
}

.divider span {
    position: relative;
    background: rgba(18, 18, 28, 0.8);
    padding: 0 16px;
    font-size: 12px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Auth Form */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-field {
    position: relative;
    display: flex;
    align-items: center;
}

.input-field i {
    position: absolute;
    left: 18px;
    color: var(--gray);
    font-size: 16px;
    transition: color 0.3s;
}

.input-field input {
    width: 100%;
    padding: 16px 18px 16px 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 60px;
    color: white;
    font-size: 15px;
    transition: all 0.3s;
    font-family: inherit;
}

.input-field input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.input-field input:focus + i {
    color: var(--primary);
}

.input-field input::placeholder {
    color: var(--gray);
}

.toggle-password {
    position: absolute;
    right: 18px;
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    padding: 0;
    font-size: 16px;
    transition: color 0.3s;
}

.toggle-password:hover {
    color: var(--primary);
}

/* Password Strength */
.password-strength {
    font-size: 11px;
    margin-top: 4px;
    padding-left: 16px;
}

.password-strength.weak {
    color: var(--danger);
}

.password-strength.medium {
    color: var(--warning);
}

.password-strength.strong {
    color: var(--success);
}

.input-hint {
    font-size: 11px;
    color: var(--gray);
    padding-left: 16px;
    margin-top: 2px;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 8px 0 4px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--gray-light);
    font-size: 13px;
}

.checkbox-label input {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--primary);
}

.checkbox-label span {
    user-select: none;
}

.forgot-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.forgot-link:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.terms {
    justify-content: flex-start;
}

.terms .checkbox-label {
    font-size: 12px;
}

.terms .checkbox-label a {
    color: var(--primary);
    text-decoration: none;
}

.terms .checkbox-label a:hover {
    text-decoration: underline;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: var(--gradient);
    border: none;
    border-radius: 60px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 8px;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

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

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.auth-footer p {
    color: var(--gray);
    font-size: 13px;
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.auth-footer a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* Alerts */
.alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 16px;
    margin-bottom: 24px;
    font-size: 13px;
    font-weight: 500;
    animation: slideIn 0.3s ease;
}

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

.alert i {
    font-size: 18px;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
}

/* ============================================
   RESPONSIVE AUTH PAGES
   ============================================ */

@media (max-width: 1024px) {
    .auth-grid {
        grid-template-columns: 1fr;
        max-width: 550px;
        margin: 0 auto;
    }
    
    .auth-branding {
        padding: 40px;
    }
    
    .auth-branding h1 {
        font-size: 36px;
    }
    
    .branding-testimonial {
        display: none;
    }
    
    .branding-stats {
        display: none;
    }
    
    .auth-form-wrapper {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .auth-container {
        padding: 20px;
    }
    
    .auth-branding {
        padding: 30px;
    }
    
    .auth-branding h1 {
        font-size: 28px;
    }
    
    .branding-features {
        gap: 16px;
    }
    
    .feature-item {
        gap: 12px;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
    }
    
    .feature-icon i {
        font-size: 18px;
    }
    
    .feature-text h4 {
        font-size: 14px;
    }
    
    .feature-text p {
        font-size: 11px;
    }
    
    .auth-form-wrapper {
        padding: 30px 24px;
    }
    
    .form-header h2 {
        font-size: 28px;
    }
    
    .social-btn {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .input-field input {
        padding: 14px 16px 14px 44px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .auth-branding {
        padding: 24px;
    }
    
    .branding-logo i {
        font-size: 32px;
    }
    
    .branding-logo span {
        font-size: 26px;
    }
    
    .auth-branding h1 {
        font-size: 24px;
    }
    
    .auth-branding > p {
        font-size: 13px;
        margin-bottom: 24px;
    }
    
    .branding-features {
        gap: 12px;
    }
    
    .feature-item {
        gap: 10px;
    }
    
    .feature-icon {
        width: 36px;
        height: 36px;
    }
    
    .auth-form-wrapper {
        padding: 24px 20px;
    }
    
    .form-header h2 {
        font-size: 24px;
    }
    
    .form-header p {
        font-size: 12px;
    }
    
    .submit-btn {
        padding: 14px 20px;
        font-size: 14px;
    }
}
/* ============================================
   HOMEPAGE STYLES
   ============================================ */

.home-page {
    background: var(--dark);
}

/* Hero Section */
.hero-section {
    position: relative;
    background: var(--gradient-dark);
    padding: 80px 0 60px;
    overflow: hidden;
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.orb-1 {
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary), transparent);
    animation: float 20s ease-in-out infinite;
}

.orb-2 {
    bottom: -100px;
    left: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #ef4444, transparent);
    animation: float 15s ease-in-out infinite reverse;
}

.orb-3 {
    top: 50%;
    left: 50%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, #3b82f6, transparent);
    animation: pulse 10s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 8px 20px;
    border-radius: 60px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    margin-right: 8px;
    animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray-light);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Breaking News Ticker */
.breaking-news-ticker {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 60px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.ticker-label {
    background: var(--gradient);
    padding: 12px 24px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
    white-space: nowrap;
}

.ticker-label i {
    margin-right: 8px;
}

.ticker-wrapper {
    flex: 1;
    overflow: hidden;
}

.ticker-content {
    display: flex;
    animation: tickerScroll 30s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    display: inline-block;
    padding: 12px 24px;
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.ticker-item:hover {
    color: var(--primary);
}

.ticker-time {
    margin-left: 12px;
    font-size: 11px;
    color: var(--gray);
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Filter Section */
.filter-section {
    margin: 48px 0 32px;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title i {
    font-size: 28px;
    color: var(--primary);
}

.section-title h2 {
    font-size: 28px;
    font-weight: 700;
}

.filter-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    padding: 10px 24px;
    border-radius: 40px;
    color: var(--gray-light);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-chip:hover {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.filter-chip.active {
    background: var(--gradient);
    color: white;
    border-color: transparent;
}

/* Home Grid */
.home-grid {
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin-bottom: 60px;
}

/* Featured Article */
.featured-article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    background: rgba(17, 19, 31, 0.6);
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.featured-article:hover {
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: var(--shadow-glow);
}

.featured-image {
    position: relative;
    height: 100%;
    min-height: 350px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.featured-article:hover .featured-image img {
    transform: scale(1.05);
}

.featured-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
}

.featured-content {
    padding: 32px 32px 32px 0;
}

.featured-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--gray);
}

.featured-meta i {
    margin-right: 6px;
    color: var(--primary);
}

.featured-content h2 {
    font-size: 32px;
    margin-bottom: 16px;
    line-height: 1.3;
}

.featured-content p {
    color: var(--gray-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 28px;
}

.article-card {
    background: rgba(17, 19, 31, 0.6);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.article-card:hover {
    transform: translateY(-8px);
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: var(--shadow-glow);
}

.article-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.article-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.article-card:hover .article-image img {
    transform: scale(1.08);
}

.category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}

.category-badge.market {
    color: var(--success);
    border-left: 2px solid var(--success);
}

.category-badge.defi {
    color: #8b5cf6;
    border-left: 2px solid #8b5cf6;
}

.category-badge.regulation {
    color: var(--primary);
    border-left: 2px solid var(--primary);
}

.article-body {
    padding: 24px;
}

.article-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 12px;
}

.article-meta i {
    margin-right: 6px;
}

.article-body h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.article-body p {
    color: var(--gray-light);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

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

.read-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s;
}

.read-link:hover {
    gap: 10px;
}

.favorite-btn {
    background: none;
    border: none;
    color: var(--gray);
    font-size: 18px;
    cursor: pointer;
    transition: color 0.3s;
}

.favorite-btn:hover,
.favorite-btn.active {
    color: var(--primary);
}

/* Pagination */
.pagination-container {
    margin-top: 40px;
    text-align: center;
}

.pagination {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(17, 19, 31, 0.6);
    padding: 8px;
    border-radius: 60px;
    border: 1px solid var(--border);
}

.page-prev,
.page-next {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 40px;
    text-decoration: none;
    color: white;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.page-prev:hover,
.page-next:hover {
    background: var(--gradient);
}

.page-numbers {
    display: flex;
    gap: 8px;
}

.page-number {
    padding: 8px 14px;
    border-radius: 40px;
    text-decoration: none;
    color: var(--gray-light);
    transition: all 0.3s;
}

.page-number:hover {
    background: rgba(245, 158, 11, 0.15);
    color: var(--primary);
}

.page-current {
    padding: 8px 14px;
    background: var(--gradient);
    border-radius: 40px;
    color: white;
    font-weight: 700;
}

.page-dots {
    padding: 8px 4px;
    color: var(--gray);
}

/* ============================================
   ARTICLE PAGE STYLES
   ============================================ */

.article-page {
    background: var(--dark);
    padding: 48px 0 80px;
}

.article-container {
    display: grid;
    grid-template-columns: minmax(0, 2fr) 1fr;
    gap: 48px;
}

/* Article Header */
.article-header {
    margin-bottom: 32px;
}

.article-category-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.article-category {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.article-category.market {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.article-category.defi {
    background: rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
}

.article-category.regulation {
    background: rgba(245, 158, 11, 0.15);
    color: var(--primary);
}

.article-reading-time {
    font-size: 13px;
    color: var(--gray);
}

.article-reading-time i {
    margin-right: 6px;
    color: var(--primary);
}

.article-title {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.meta-left {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.meta-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar i {
    font-size: 40px;
    color: var(--primary);
}

.author-name {
    display: block;
    font-weight: 600;
    font-size: 14px;
}

.author-title {
    font-size: 11px;
    color: var(--gray);
}

.meta-details {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--gray);
}

.meta-details i {
    margin-right: 6px;
    color: var(--primary);
}

.meta-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-buttons span {
    font-size: 13px;
    color: var(--gray);
}

.share-btn {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-light);
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

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

.save-article-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 40px;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.save-article-btn:hover,
.save-article-btn.saved {
    background: var(--gradient);
    color: white;
    border-color: transparent;
}

/* Featured Image */
.article-featured-image {
    margin: 32px 0;
    border-radius: 24px;
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

.image-caption {
    padding: 12px 16px;
    font-size: 12px;
    color: var(--gray);
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
}

/* Article Body */
.article-body-content {
    font-size: 18px;
    color: var(--gray-light);
    line-height: 1.8;
}

.article-body-content p {
    margin-bottom: 24px;
}

.article-body-content h2 {
    font-size: 28px;
    margin: 32px 0 16px;
    color: white;
}

.article-body-content h3 {
    font-size: 22px;
    margin: 24px 0 12px;
    color: white;
}

.article-body-content ul,
.article-body-content ol {
    margin: 16px 0 16px 24px;
}

.article-body-content li {
    margin-bottom: 8px;
}

.article-body-content blockquote {
    border-left: 3px solid var(--primary);
    padding-left: 20px;
    margin: 24px 0;
    font-style: italic;
    color: var(--primary-light);
}

.article-body-content strong {
    color: white;
    font-weight: 700;
}

/* Article Footer */
.article-footer-bottom {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.article-tags {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.tag-label {
    font-size: 13px;
    color: var(--gray);
}

.tag {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    font-size: 12px;
    text-decoration: none;
    color: var(--gray-light);
    transition: all 0.3s;
}

.tag:hover {
    background: var(--gradient);
    color: white;
}

.author-bio {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
}

.author-avatar-large i {
    font-size: 60px;
    color: var(--primary);
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.author-info p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 12px;
    line-height: 1.6;
}

.author-social {
    display: flex;
    gap: 12px;
}

.author-social a {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-light);
    transition: all 0.3s;
}

.author-social a:hover {
    background: var(--primary);
    color: white;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: rgba(17, 19, 31, 0.6);
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 28px;
    border: 1px solid var(--border);
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.widget-header i {
    font-size: 20px;
    color: var(--primary);
}

.widget-header h3 {
    font-size: 18px;
    font-weight: 700;
}

/* Related Widget */
.related-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.related-item {
    display: flex;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s;
}

.related-item:hover {
    transform: translateX(5px);
}

.related-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.4;
}

.related-meta {
    font-size: 11px;
    color: var(--gray);
}

/* Sentiment Widget */
.sentiment-meter {
    text-align: center;
}

.sentiment-value {
    margin-bottom: 16px;
}

.sentiment-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.sentiment-label {
    font-size: 14px;
    color: var(--gray);
}

.sentiment-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.sentiment-fill {
    height: 100%;
    background: linear-gradient(90deg, #ef4444, #f59e0b, #10b981);
    border-radius: 4px;
    width: 72%;
}

.sentiment-labels {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: var(--gray);
}

/* Trending Widget */
.trending-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.trending-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.trending-rank {
    width: 28px;
    height: 28px;
    background: rgba(245, 158, 11, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    color: var(--primary);
}

.trending-topic {
    flex: 1;
    font-weight: 500;
}

.trending-mentions {
    font-size: 11px;
    color: var(--gray);
}

/* Newsletter Widget */
.newsletter-widget p {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 16px;
}

.newsletter-form-sidebar {
    display: flex;
    gap: 10px;
}

.newsletter-form-sidebar input {
    flex: 1;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 40px;
    color: white;
    font-size: 13px;
}

.newsletter-form-sidebar input:focus {
    outline: none;
    border-color: var(--primary);
}

.newsletter-form-sidebar button {
    padding: 12px 18px;
    background: var(--gradient);
    border: none;
    border-radius: 40px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-form-sidebar button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* Responsive */
@media (max-width: 1024px) {
    .featured-article {
        grid-template-columns: 1fr;
    }
    
    .featured-content {
        padding: 24px;
    }
    
    .featured-image {
        min-height: 300px;
    }
    
    .article-container {
        grid-template-columns: 1fr;
    }
    
    .article-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .article-title {
        font-size: 28px;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .meta-left {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .meta-details {
        flex-wrap: wrap;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
    
    .trending-item {
        flex-wrap: wrap;
    }
}
/* ============================================
   PAGE HERO (Shared)
   ============================================ */

.page-hero {
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
    padding: 80px 0 60px;
    text-align: center;
    border-bottom: 1px solid rgba(245, 158, 11, 0.1);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.08), transparent);
    border-radius: 50%;
}

.page-hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 16px;
}

.page-hero-content p {
    font-size: 18px;
    color: var(--gray-light);
}

/* ============================================
   ABOUT PAGE STYLES
   ============================================ */

.about-page {
    background: var(--dark);
}

/* Mission Section */
.mission-section {
    padding: 60px 0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.mission-icon i {
    font-size: 40px;
    color: var(--primary);
}

.mission-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.mission-section p {
    font-size: 18px;
    color: var(--gray-light);
    line-height: 1.8;
}

/* Story Section */
.story-section {
    padding: 60px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.section-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.15);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.story-text h2 {
    font-size: 36px;
    margin-bottom: 24px;
}

.story-text p {
    color: var(--gray-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.story-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.story-stats .stat-card {
    background: rgba(17, 19, 31, 0.6);
    border-radius: 24px;
    padding: 32px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.story-stats .stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 158, 11, 0.3);
}

.story-stats .stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.story-stats .stat-label {
    font-size: 14px;
    color: var(--gray);
}

/* Values Section */
.values-section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--gray-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

.value-card {
    background: rgba(17, 19, 31, 0.6);
    border-radius: 24px;
    padding: 32px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: var(--shadow-glow);
}

.value-icon {
    width: 64px;
    height: 64px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-icon i {
    font-size: 32px;
    color: var(--primary);
}

.value-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.value-card p {
    color: var(--gray-light);
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: 60px 0;
    background: rgba(17, 19, 31, 0.3);
    border-radius: 48px;
    margin: 20px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
}

.team-card {
    text-align: center;
    padding: 32px;
    background: rgba(17, 19, 31, 0.6);
    border-radius: 24px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 158, 11, 0.3);
}

.team-avatar i {
    font-size: 80px;
    color: var(--primary);
    margin-bottom: 16px;
}

.team-card h3 {
    font-size: 20px;
    margin-bottom: 4px;
}

.team-role {
    display: inline-block;
    background: rgba(245, 158, 11, 0.15);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    color: var(--primary);
    margin-bottom: 16px;
}

.team-card p {
    color: var(--gray-light);
    font-size: 14px;
    margin-bottom: 20px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.team-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-light);
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-2px);
}

/* Join Section */
.join-section {
    padding: 60px 0;
    text-align: center;
}

.join-content {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(239, 68, 68, 0.05));
    border-radius: 32px;
    padding: 48px;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.join-content h2 {
    font-size: 32px;
    margin-bottom: 12px;
}

.join-content p {
    color: var(--gray-light);
    margin-bottom: 32px;
}

.join-form {
    display: flex;
    gap: 16px;
    max-width: 500px;
    margin: 0 auto;
}

.join-form input {
    flex: 1;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 60px;
    color: white;
    font-size: 14px;
}

.join-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.join-form button {
    padding: 14px 28px;
    background: var(--gradient);
    border: none;
    border-radius: 60px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.join-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(245, 158, 11, 0.3);
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

.contact-page {
    background: var(--dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 60px 0;
}

/* Contact Form */
.contact-form-section {
    background: rgba(17, 19, 31, 0.6);
    border-radius: 32px;
    padding: 40px;
    border: 1px solid var(--border);
}

.contact-form {
    margin-top: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-light);
}

.form-group label i {
    color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 16px;
    color: white;
    font-size: 14px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.submit-contact {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    background: var(--gradient);
    border: none;
    border-radius: 60px;
    color: white;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.submit-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(245, 158, 11, 0.3);
}

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 16px;
    margin-top: 20px;
    color: var(--success);
}

/* Contact Info Cards */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background: rgba(17, 19, 31, 0.6);
    border-radius: 24px;
    padding: 28px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 158, 11, 0.3);
}

.info-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.info-header i {
    font-size: 28px;
    color: var(--primary);
}

.info-header h3 {
    font-size: 20px;
}

.info-card p {
    color: var(--gray-light);
    line-height: 1.6;
    margin-bottom: 8px;
}

.info-card .hours {
    font-size: 12px;
    color: var(--gray);
    margin-top: 8px;
}

.social-card .social-links-large {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.social-links-large a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 40px;
    text-decoration: none;
    color: var(--gray-light);
    transition: var(--transition);
}

.social-links-large a:hover {
    background: var(--gradient);
    color: white;
    transform: translateX(5px);
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    border-top: 1px solid var(--border);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 20px;
}

.faq-item {
    background: rgba(17, 19, 31, 0.6);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-question:hover {
    background: rgba(245, 158, 11, 0.05);
}

.faq-question i:first-child {
    color: var(--primary);
    font-size: 20px;
}

.faq-question h4 {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
}

.faq-question i:last-child {
    transition: transform 0.3s;
}

.faq-item.active .faq-question i:last-child {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 24px 20px;
}

.faq-answer p {
    color: var(--gray-light);
    line-height: 1.6;
}

/* ============================================
   PRIVACY PAGE STYLES
   ============================================ */

.privacy-page {
    background: var(--dark);
}

.privacy-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    padding: 60px 0;
}

.privacy-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.privacy-nav {
    background: rgba(17, 19, 31, 0.6);
    border-radius: 24px;
    padding: 24px;
    border: 1px solid var(--border);
    margin-bottom: 24px;
}

.privacy-nav h4 {
    font-size: 16px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.privacy-nav ul {
    list-style: none;
}

.privacy-nav ul li {
    margin-bottom: 12px;
}

.privacy-nav ul li a {
    color: var(--gray-light);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.privacy-nav ul li a:hover {
    color: var(--primary);
}

.privacy-effective {
    background: rgba(17, 19, 31, 0.6);
    border-radius: 24px;
    padding: 24px;
    text-align: center;
    border: 1px solid var(--border);
}

.privacy-effective i {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 12px;
    display: block;
}

.privacy-effective p {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 4px;
}

.privacy-main {
    background: rgba(17, 19, 31, 0.6);
    border-radius: 32px;
    padding: 48px;
    border: 1px solid var(--border);
}

.privacy-section {
    margin-bottom: 48px;
    scroll-margin-top: 80px;
}

.privacy-section:last-child {
    margin-bottom: 0;
}

.privacy-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.privacy-section h3 {
    font-size: 20px;
    margin: 24px 0 12px;
}

.privacy-section p {
    color: var(--gray-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.privacy-section ul {
    margin: 16px 0 16px 24px;
}

.privacy-section ul li {
    color: var(--gray-light);
    margin-bottom: 8px;
    line-height: 1.6;
}

.contact-info {
    list-style: none;
    margin: 16px 0 0 0;
    padding: 0;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
}

.contact-info li i {
    width: 24px;
    color: var(--primary);
}

/* ============================================
   RESPONSIVE FOR ALL PAGES
   ============================================ */

@media (max-width: 1024px) {
    .story-grid,
    .contact-grid,
    .privacy-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .privacy-sidebar {
        position: static;
    }
    
    .story-stats {
        order: -1;
    }
    
    .page-hero-content h1 {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 60px 0 40px;
    }
    
    .page-hero-content h1 {
        font-size: 32px;
    }
    
    .page-hero-content p {
        font-size: 15px;
    }
    
    .mission-section h2,
    .story-text h2,
    .section-header h2 {
        font-size: 28px;
    }
    
    .values-grid,
    .team-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .join-form {
        flex-direction: column;
    }
    
    .privacy-main {
        padding: 28px;
    }
    
    .privacy-section h2 {
        font-size: 24px;
    }
    
    .story-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .story-stats .stat-card {
        padding: 20px;
    }
    
    .story-stats .stat-number {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .story-stats {
        grid-template-columns: 1fr;
    }
    
    .info-card {
        padding: 20px;
    }
    
    .social-card .social-links-large {
        grid-template-columns: 1fr;
    }
    
    .join-content {
        padding: 32px 24px;
    }
}
/* ============================================
   TERMS OF SERVICE PAGE STYLES
   ============================================ */

.terms-page {
    background: var(--dark);
}

.terms-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    padding: 60px 0;
}

.terms-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.terms-nav {
    background: rgba(17, 19, 31, 0.6);
    border-radius: 24px;
    padding: 28px;
    border: 1px solid var(--border);
    margin-bottom: 24px;
}

.terms-nav h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    color: white;
}

.terms-nav ul {
    list-style: none;
}

.terms-nav ul li {
    margin-bottom: 14px;
}

.terms-nav ul li a {
    color: var(--gray-light);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    display: block;
    padding: 4px 0;
}

.terms-nav ul li a:hover {
    color: var(--primary);
    padding-left: 8px;
}

.terms-effective {
    background: rgba(17, 19, 31, 0.6);
    border-radius: 24px;
    padding: 28px;
    text-align: center;
    border: 1px solid var(--border);
}

.terms-effective i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 16px;
    display: block;
}

.terms-effective p {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 6px;
}

.version-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.15);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    margin-top: 12px;
}

.terms-main {
    background: rgba(17, 19, 31, 0.6);
    border-radius: 32px;
    padding: 48px;
    border: 1px solid var(--border);
}

.terms-intro {
    background: rgba(245, 158, 11, 0.05);
    border-left: 3px solid var(--primary);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.terms-intro p {
    color: var(--gray-light);
    line-height: 1.7;
    margin-bottom: 12px;
}

.terms-intro p:last-child {
    margin-bottom: 0;
}

.terms-section {
    margin-bottom: 48px;
    scroll-margin-top: 80px;
}

.terms-section:last-child {
    margin-bottom: 0;
}

.terms-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    color: white;
}

.terms-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 24px 0 12px;
    color: var(--primary-light);
}

.terms-section p {
    color: var(--gray-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.terms-section ul {
    margin: 16px 0 16px 24px;
}

.terms-section ul li {
    color: var(--gray-light);
    margin-bottom: 10px;
    line-height: 1.6;
}

.terms-section ul li::marker {
    color: var(--primary);
}

.warning-box {
    background: rgba(239, 68, 68, 0.1);
    border-left: 3px solid var(--danger);
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.warning-box i {
    font-size: 24px;
    color: var(--danger);
    flex-shrink: 0;
}

.warning-box strong {
    display: block;
    color: var(--danger);
    margin-bottom: 4px;
}

.warning-box p {
    margin: 0;
    color: var(--gray-light);
}

.warning-box:has(.warning-box) {
    display: block;
}

.warning-box .warning-box {
    margin: 0;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    transition: var(--transition);
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.contact-method i {
    width: 40px;
    height: 40px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-method div {
    flex: 1;
}

.contact-method strong {
    display: block;
    margin-bottom: 6px;
    color: white;
}

.contact-method a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-method a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.terms-footer-note {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.terms-footer-note p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.6;
}

/* Scroll animation for sections */
.terms-section {
    transition: all 0.3s ease;
}

/* Responsive Terms Page */
@media (max-width: 1024px) {
    .terms-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .terms-sidebar {
        position: static;
    }
    
    .terms-nav ul {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .terms-nav ul li {
        margin-bottom: 0;
    }
    
    .terms-nav ul li a {
        padding: 6px 14px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 30px;
        font-size: 12px;
    }
    
    .terms-nav ul li a:hover {
        padding-left: 14px;
        background: rgba(245, 158, 11, 0.15);
    }
    
    .terms-effective {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .terms-effective i {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .terms-content {
        padding: 40px 0;
    }
    
    .terms-main {
        padding: 28px;
    }
    
    .terms-section h2 {
        font-size: 24px;
    }
    
    .terms-section h3 {
        font-size: 18px;
    }
    
    .warning-box {
        flex-direction: column;
    }
    
    .contact-method {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contact-method i {
        margin-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .terms-main {
        padding: 20px;
    }
    
    .terms-section h2 {
        font-size: 22px;
    }
    
    .terms-nav ul {
        flex-direction: column;
    }
    
    .terms-nav ul li a {
        display: inline-block;
    }
    
    .terms-effective {
        flex-direction: column;
        text-align: center;
    }
}
/* ============================================
   CONTACT PAGE - MODERN SELECT DROPDOWN
   ============================================ */

/* Custom Select Wrapper */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select {
    width: 100%;
    padding: 14px 45px 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 16px;
    color: white;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: all 0.3s ease;
    position: relative;
}

.custom-select:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(245, 158, 11, 0.4);
}

.custom-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

/* Custom Select Icon */
.custom-select-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    transition: transform 0.3s ease;
}

.custom-select-icon i {
    color: var(--primary);
    font-size: 14px;
}

/* Rotate icon when select is open/focused */
.custom-select:focus + .custom-select-icon {
    transform: translateY(-50%) rotate(180deg);
}

/* Style for select options (dropdown) */
.custom-select option {
    background: #1a1c2c;
    color: white;
    padding: 12px;
    font-size: 14px;
}

.custom-select option:hover {
    background: rgba(245, 158, 11, 0.2);
}

/* Custom Select with value selected (non-placeholder) */
.custom-select:valid {
    color: white;
}

.custom-select:invalid {
    color: var(--gray);
}

/* Alternative: Simple Select with styling (fallback) */
select.custom-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f59e0b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

/* Remove default arrow in IE/Edge */
.custom-select::-ms-expand {
    display: none;
}

/* Form Group Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-light);
}

.form-group label i {
    color: var(--primary);
    font-size: 14px;
}

/* Input fields */
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 16px;
    color: white;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:hover,
.form-group textarea:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(245, 158, 11, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray);
    opacity: 0.7;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Form Row */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 0;
}

/* Submit Button */
.submit-contact {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--gradient);
    border: none;
    border-radius: 16px;
    color: white;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

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

.submit-contact:hover::before {
    left: 100%;
}

.submit-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(245, 158, 11, 0.3);
}

.submit-contact:active {
    transform: translateY(0);
}

/* Form Success */
.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 16px;
    margin-top: 20px;
    color: var(--success);
    animation: slideIn 0.3s ease;
}

.form-success i {
    font-size: 20px;
}

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

/* Contact Info Cards */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background: rgba(17, 19, 31, 0.6);
    border-radius: 24px;
    padding: 28px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.info-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.info-header i {
    font-size: 28px;
    color: var(--primary);
}

.info-header h3 {
    font-size: 20px;
    font-weight: 700;
}

.info-card p {
    color: var(--gray-light);
    line-height: 1.6;
    margin-bottom: 8px;
}

.info-card .hours {
    font-size: 12px;
    color: var(--gray);
    margin-top: 8px;
}

/* Social Card */
.social-card .social-links-large {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.social-links-large a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    text-decoration: none;
    color: var(--gray-light);
    font-size: 14px;
    transition: all 0.3s ease;
}

.social-links-large a i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.social-links-large a:hover {
    background: var(--gradient);
    color: white;
    transform: translateX(5px);
}

.social-links-large a:hover i {
    transform: scale(1.1);
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    border-top: 1px solid var(--border);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 20px;
}

.faq-item {
    background: rgba(17, 19, 31, 0.6);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(245, 158, 11, 0.3);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(245, 158, 11, 0.05);
}

.faq-question i:first-child {
    color: var(--primary);
    font-size: 20px;
}

.faq-question h4 {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
}

.faq-question i:last-child {
    transition: transform 0.3s ease;
    color: var(--gray);
}

.faq-item.active .faq-question i:last-child {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 24px 20px;
}

.faq-answer p {
    color: var(--gray-light);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-section {
        order: 1;
    }
    
    .contact-info-section {
        order: 2;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-info-section {
        grid-template-columns: 1fr;
    }
    
    .social-card .social-links-large {
        grid-template-columns: 1fr;
    }
    
    .faq-question {
        padding: 16px 20px;
    }
    
    .faq-question h4 {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .contact-form-section {
        padding: 0;
    }
    
    .info-card {
        padding: 20px;
    }
    
    .custom-select {
        padding: 12px 40px 12px 16px;
        font-size: 13px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 16px;
        font-size: 13px;
    }
}
/* ============================================
   COIN ICON STYLES - REAL CRYPTO IMAGES
   ============================================ */

/* Table Coin Icon */
.coin-icon {
    width: 40px;
    height: 40px;
    background: rgba(17, 19, 31, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.coin-icon-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* Large Coin Icon for Gainers/Losers Cards */
.coin-icon-large {
    width: 48px;
    height: 48px;
    background: rgba(17, 19, 31, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.coin-icon-img-large {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* DeFi Card Icon */
.defi-icon {
    width: 60px;
    height: 60px;
    background: rgba(17, 19, 31, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    overflow: hidden;
}

.defi-icon-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* Coin Info Container */
.coin-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Top Mover Card */
.top-mover-card {
    background: rgba(17, 19, 31, 0.8);
    border-radius: 20px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.top-mover-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: var(--shadow-glow);
}

.mover-info {
    flex: 1;
}

.mover-name {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 4px;
}

.mover-symbol {
    font-size: 12px;
    color: var(--gray);
}

.mover-price {
    font-weight: 700;
    font-size: 18px;
    margin-right: 16px;
}

.mover-change {
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 14px;
}

.mover-change.positive {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.mover-change.negative {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

/* Table Row Styles */
.crypto-row {
    cursor: pointer;
    transition: var(--transition);
}

.crypto-row:hover {
    background: rgba(245, 158, 11, 0.05);
}

.coin-name {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 2px;
}

.coin-symbol {
    font-size: 11px;
    color: var(--gray);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .coin-icon {
        width: 32px;
        height: 32px;
    }
    
    .coin-icon-img {
        width: 22px;
        height: 22px;
    }
    
    .coin-icon-large {
        width: 40px;
        height: 40px;
    }
    
    .coin-icon-img-large {
        width: 28px;
        height: 28px;
    }
    
    .defi-icon {
        width: 50px;
        height: 50px;
    }
    
    .defi-icon-img {
        width: 32px;
        height: 32px;
    }
    
    .top-mover-card {
        padding: 16px 20px;
        gap: 12px;
    }
    
    .mover-name {
        font-size: 16px;
    }
    
    .mover-price {
        font-size: 14px;
        margin-right: 8px;
    }
    
    .mover-change {
        padding: 4px 10px;
        font-size: 12px;
    }
}
/* Auto-refresh notice */
.last-updated {
    font-size: 12px;
    color: var(--gray);
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.last-updated i {
    color: var(--primary);
    animation: spin 2s linear infinite;
}

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

.auto-refresh-note {
    text-align: center;
    margin-top: 40px;
    padding: 12px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 12px;
    font-size: 12px;
    color: var(--gray);
    display: inline-block;
    width: auto;
    margin-left: auto;
    margin-right: auto;
}

.auto-refresh-note i {
    color: var(--primary);
    margin-right: 8px;
}

.no-data {
    text-align: center;
    padding: 40px;
    color: var(--gray);
    background: rgba(17, 19, 31, 0.6);
    border-radius: 20px;
    grid-column: span 2;
}
/* API Error Message */
.api-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.api-error i {
    font-size: 32px;
    color: var(--danger);
}

.api-error p {
    color: var(--gray-light);
    font-size: 14px;
}

/* No Data Message */
.no-data {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray);
    background: rgba(17, 19, 31, 0.6);
    border-radius: 20px;
    font-size: 16px;
}

/* Last Updated */
.last-updated {
    font-size: 12px;
    color: var(--gray);
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.last-updated i {
    color: var(--primary);
}

/* Auto-refresh Note */
.auto-refresh-note {
    text-align: center;
    margin-top: 40px;
    padding: 12px 20px;
    background: rgba(245, 158, 11, 0.08);
    border-radius: 12px;
    font-size: 12px;
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auto-refresh-note i {
    color: var(--primary);
}
/* ============================================
   NEWSLETTER STYLES
   ============================================ */

/* Footer Newsletter */
.newsletter-section {
    background: rgba(245, 158, 11, 0.05);
    border-radius: 20px;
    padding: 20px;
    margin-top: 10px;
}

.newsletter-section h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.newsletter-section p {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 40px;
    color: white;
    font-size: 13px;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.newsletter-form button {
    padding: 10px 20px;
    background: var(--gradient);
    border: none;
    border-radius: 40px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.newsletter-message {
    margin-top: 12px;
}

/* Homepage Newsletter Section */
.newsletter-section-home {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(239, 68, 68, 0.05));
    border-radius: 32px;
    padding: 50px;
    text-align: center;
    margin: 60px 0;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.newsletter-icon {
    width: 80px;
    height: 80px;
    background: rgba(245, 158, 11, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.newsletter-icon i {
    font-size: 40px;
    color: var(--primary);
}

.newsletter-section-home h3 {
    font-size: 32px;
    margin-bottom: 12px;
}

.newsletter-section-home p {
    color: var(--gray-light);
    margin-bottom: 28px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-input-group {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input-group input {
    flex: 1;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 60px;
    color: white;
    font-size: 15px;
}

.newsletter-input-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.newsletter-input-group button {
    padding: 15px 32px;
    background: var(--gradient);
    border: none;
    border-radius: 60px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-input-group button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(245, 158, 11, 0.4);
}

.newsletter-note {
    font-size: 12px;
    color: var(--gray);
    margin-top: 20px;
}

/* Alert Messages */
.alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    animation: slideIn 0.3s ease;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

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

/* Responsive */
@media (max-width: 768px) {
    .newsletter-form,
    .newsletter-input-group {
        flex-direction: column;
    }
    
    .newsletter-section-home {
        padding: 30px 20px;
    }
    
    .newsletter-section-home h3 {
        font-size: 24px;
    }
    
    .newsletter-input-group button {
        width: 100%;
    }
}
/* Optional: Add if you want to show a privacy notice */
.privacy-notice {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(17, 19, 31, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 12px;
    color: var(--gray);
    border: 1px solid rgba(245, 158, 11, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 12px;
}

.privacy-notice button {
    background: var(--primary);
    border: none;
    padding: 4px 12px;
    border-radius: 6px;
    color: white;
    cursor: pointer;
}
/* Publish Page Styles */
.publish-page {
    background: var(--dark);
    padding: 40px 0 60px;
}

.publish-header {
    text-align: center;
    margin-bottom: 40px;
}

.publish-header h1 {
    font-size: 48px;
    margin-bottom: 16px;
}

.publish-header p {
    color: var(--gray-light);
    font-size: 18px;
}

.publish-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    margin-bottom: 40px;
}

.publish-form-container {
    background: rgba(17, 19, 31, 0.8);
    border-radius: 28px;
    padding: 32px;
    border: 1px solid rgba(245, 158, 11, 0.15);
}

.publish-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-light);
}

.form-group label i {
    color: var(--primary);
    margin-right: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 14px;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.btn-preview,
.btn-submit {
    padding: 14px 28px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-preview {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-preview:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-submit {
    background: var(--gradient);
    color: white;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(245, 158, 11, 0.3);
}

/* Preview Panel */
.preview-container {
    background: rgba(17, 19, 31, 0.95);
    border-radius: 28px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    position: sticky;
    top: 100px;
    height: fit-content;
    max-height: 80vh;
    overflow-y: auto;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    background: inherit;
    z-index: 10;
}

.preview-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-preview {
    background: none;
    border: none;
    color: var(--gray);
    font-size: 20px;
    cursor: pointer;
}

.preview-content {
    padding: 24px;
}

.preview-article h2 {
    font-size: 24px;
    margin: 16px 0;
}

.preview-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(245, 158, 11, 0.15);
    border-radius: 20px;
    font-size: 12px;
    color: var(--primary);
}

.preview-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 20px;
}

.preview-image {
    width: 100%;
    border-radius: 16px;
    margin: 20px 0;
}

.preview-body {
    line-height: 1.8;
    color: var(--gray-light);
}

/* Guidelines */
.guidelines {
    background: rgba(17, 19, 31, 0.6);
    border-radius: 28px;
    padding: 32px;
    margin-top: 40px;
}

.guidelines h3 {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.guideline {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
}

.guideline i {
    font-size: 24px;
    color: var(--primary);
}

.guideline strong {
    display: block;
    margin-bottom: 4px;
}

.guideline p {
    font-size: 13px;
    color: var(--gray);
}

/* Loading and Alerts */
.loading {
    text-align: center;
    padding: 20px;
}

.alert {
    padding: 14px 18px;
    border-radius: 12px;
    margin-top: 20px;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

/* Responsive */
@media (max-width: 1024px) {
    .publish-grid {
        grid-template-columns: 1fr;
    }
    
    .preview-container {
        position: static;
        max-height: none;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .publish-header h1 {
        font-size: 32px;
    }
    
    .guidelines-grid {
        grid-template-columns: 1fr;
    }
}
.btn-publish-nav {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    color: white !important;
    border-radius: 40px !important;
}

.btn-publish-nav i {
    margin-right: 6px;
}
/* ============================================
   MODERN PUBLISH PAGE - MATCHING SITE STYLE
   ============================================ */

/* Publish Page Container */
.publish-page {
    background: var(--dark);
    min-height: calc(100vh - 80px);
}

/* Hero Section */
.publish-hero {
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
    padding: 60px 0 50px;
    border-bottom: 1px solid rgba(245, 158, 11, 0.15);
    position: relative;
    overflow: hidden;
}

.publish-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.08), transparent);
    border-radius: 50%;
}

.publish-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.publish-hero-content .hero-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.15);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    color: #f59e0b;
    margin-bottom: 20px;
}

.publish-hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.publish-hero-content p {
    font-size: 18px;
    color: var(--gray-light);
    margin-bottom: 32px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
}

.hero-stats .stat {
    text-align: center;
}

.hero-stats .stat-number {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
}

.hero-stats .stat-label {
    font-size: 13px;
    color: var(--gray);
}

/* Publish Layout */
.publish-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    padding: 48px 0 60px;
}

/* Main Form Card */
.publish-card {
    background: rgba(17, 19, 31, 0.8);
    border-radius: 28px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}

.publish-card:hover {
    border-color: rgba(245, 158, 11, 0.3);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 32px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--border);
}

.header-icon {
    width: 52px;
    height: 52px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-icon i {
    font-size: 28px;
    color: white;
}

.card-header h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
    color: white;
}

.card-header p {
    font-size: 13px;
    color: var(--gray);
}

/* Form Styles */
.publish-form {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.input-label i {
    color: var(--primary);
    font-size: 14px;
}

.required {
    color: #ef4444;
    font-size: 14px;
}

.modern-input,
.modern-select {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 16px;
    color: white;
    font-size: 14px;
    transition: var(--transition);
}

.modern-input:focus,
.modern-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.modern-input::placeholder {
    color: var(--gray);
}

.input-hint {
    font-size: 11px;
    color: var(--gray);
    padding-left: 8px;
}

.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.category-selector {
    position: relative;
}

.select-arrow {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.select-arrow i {
    color: var(--gray);
}

.modern-select {
    appearance: none;
    cursor: pointer;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.btn-preview,
.btn-submit {
    flex: 1;
    padding: 14px 24px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: inherit;
}

.btn-preview {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--gray-light);
}

.btn-preview:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: rgba(245, 158, 11, 0.3);
}

.btn-submit {
    background: var(--gradient);
    border: none;
    color: white;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px rgba(245, 158, 11, 0.4);
}

/* Editor Tools Info */
.editor-tools-info {
    background: rgba(245, 158, 11, 0.08);
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 12px;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.editor-tools-info i {
    color: var(--primary);
}

/* Sidebar Cards */
.publish-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-card {
    background: rgba(17, 19, 31, 0.8);
    border-radius: 24px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.sidebar-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--border);
}

.sidebar-card-header i {
    font-size: 20px;
    color: var(--primary);
}

.sidebar-card-header h3 {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.preview-close {
    background: none;
    border: none;
    color: var(--gray);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s;
}

.preview-close:hover {
    color: var(--primary);
}

/* Guidelines List */
.guidelines-list {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.guideline-item {
    display: flex;
    gap: 14px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.guideline-item:last-child {
    border-bottom: none;
}

.guideline-icon {
    font-size: 22px;
}

.guideline-text strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: white;
}

.guideline-text p {
    font-size: 12px;
    color: var(--gray);
}

/* Tips Card */
.tips-card {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(239, 68, 68, 0.05));
}

.tips-list {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

.tip-number {
    width: 28px;
    height: 28px;
    background: rgba(245, 158, 11, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    color: var(--primary);
}

.tip p {
    flex: 1;
    font-size: 13px;
    color: var(--gray-light);
}

/* Preview Card */
.preview-card {
    position: sticky;
    top: 100px;
    max-height: 80vh;
    overflow-y: auto;
}

.preview-content {
    padding: 24px;
}

.preview-article-card {
    background: white;
    border-radius: 20px;
    padding: 28px;
    color: #1f2937;
}

.preview-category-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #fef3c7;
    color: #d97706;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 20px;
}

.preview-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
    color: #111827;
}

.preview-author-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.preview-avatar {
    width: 44px;
    height: 44px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: white;
}

.preview-author-name {
    font-weight: 600;
    color: #111827;
}

.preview-date {
    font-size: 12px;
    color: #6b7280;
}

.preview-featured-img {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 24px;
}

.preview-body-content {
    line-height: 1.8;
    color: #374151;
    font-size: 15px;
}

.preview-placeholder {
    color: #9ca3af;
    text-align: center;
    padding: 40px;
    background: #f9fafb;
    border-radius: 12px;
}

/* Alerts */
.loading-spinner {
    text-align: center;
    padding: 20px;
    color: var(--primary);
}

.alert-success-custom,
.alert-error-custom {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 16px;
    margin-top: 20px;
}

.alert-success-custom {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.alert-success-custom i {
    font-size: 24px;
}

.alert-success-custom strong {
    display: block;
    margin-bottom: 4px;
}

.alert-success-custom p {
    font-size: 13px;
    margin-top: 4px;
}

.alert-error-custom {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(17, 19, 31, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 16px 24px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* TinyMCE Customization */
.tox-tinymce {
    border-radius: 16px !important;
    border-color: var(--border) !important;
}

.tox .tox-toolbar {
    background: rgba(17, 19, 31, 0.9) !important;
}

.tox .tox-tbtn {
    color: white !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .publish-layout {
        grid-template-columns: 1fr;
    }
    
    .preview-card {
        position: static;
    }
    
    .two-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .publish-hero-content h1 {
        font-size: 32px;
    }
    
    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }
    
    .card-header {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
    
    .publish-form {
        padding: 24px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .guidelines-list {
        padding: 16px 20px;
    }
    
    .tips-list {
        padding: 16px 20px;
    }
}

@media (max-width: 480px) {
    .publish-hero {
        padding: 40px 0 30px;
    }
    
    .publish-hero-content h1 {
        font-size: 28px;
    }
    
    .card-header h2 {
        font-size: 20px;
    }
    
    .modern-input,
    .modern-select {
        padding: 12px 14px;
        font-size: 13px;
    }
    
    .btn-preview,
    .btn-submit {
        padding: 12px 20px;
        font-size: 13px;
    }
}
/* Modern Styled Select - Beautiful Combobox */
.styled-select {
    position: relative;
    width: 100%;
}

.modern-select {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 16px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: all 0.3s ease;
}

.modern-select:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(245, 158, 11, 0.4);
}

.modern-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.modern-select option {
    background: #1a1c2c;
    color: white;
    padding: 12px;
}

.modern-select option:hover,
.modern-select option:checked {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
}

.select-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    transition: transform 0.3s ease;
}

.select-icon i {
    color: var(--primary);
    font-size: 14px;
}

.modern-select:focus + .select-icon {
    transform: translateY(-50%) rotate(180deg);
}

/* Placeholder option styling */
.modern-select option[value=""] {
    color: var(--gray);
}

/* When select has value, change text color */
.modern-select:valid {
    color: white;
}