/* =====================================================
   7700bet.app Clone - Complete CSS Design System
   ===================================================== */

/* CSS Variables - Design Tokens */
:root {
    /* Primary Colors */
    --primary-red: #8B0000;
    --deep-red: #5C0000;
    --dark-red: #3D0000;
    --maroon: #6A0000;

    /* Accent Colors */
    --gold: #FFD700;
    --gold-light: #FFE55C;
    --gold-dark: #CC9900;
    --orange: #FF8C00;
    --orange-bright: #FF6B00;

    /* Button Colors */
    --green-btn: #00C853;
    --green-btn-hover: #00E676;
    --orange-btn: #FF6B00;
    --orange-btn-hover: #FF8C00;

    /* Stars & Progress */
    --star-yellow: #FFD700;
    --progress-green: #4CAF50;
    --progress-bg: rgba(255, 255, 255, 0.2);

    /* Text Colors */
    --text-white: #FFFFFF;
    --text-light: rgba(255, 255, 255, 0.9);
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-subtle: rgba(255, 255, 255, 0.5);

    /* Backgrounds */
    --hero-bg: linear-gradient(180deg, #8B0000 0%, #5C0000 50%, #3D0000 100%);
    --section-bg: #6A0000;
    --card-bg: #7A1A1A;
    --footer-bg: #5C0000;

    /* Shadows */
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --btn-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);

    /* Spacing */
    --container-padding: 16px;
    --section-gap: 24px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 50%;
}

/* Reset & Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--deep-red);
    color: var(--text-white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

/* App Container */
.app-container {
    max-width: 500px;
    margin: 0 auto;
    min-height: 100vh;
    background: var(--section-bg);
    position: relative;
}

/* =====================================================
   TOP NAVIGATION BAR
   ===================================================== */
.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    background: linear-gradient(180deg, #1a0a0a 0%, #2d0a0a 100%);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
    gap: 8px;
    flex-wrap: nowrap;
    overflow: hidden;
}

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

.menu-btn {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-btn span {
    width: 20px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-btn:hover span {
    background: var(--text-white);
}

.nav-logo {
    font-size: 1.2rem;
    font-weight: 800;
}

.nav-logo-5g {
    background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-logo-bet {
    color: var(--text-white);
}

.nav-center {
    display: none;
}

.nav-menu {
    display: flex;
    gap: 8px;
}

.nav-item {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 500;
    padding: 6px 8px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    white-space: nowrap;
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.user-balance {
    display: none;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.balance-icon {
    font-size: 0.8rem;
}

.balance-amount {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--gold);
}

.nav-btn {
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.deposit-btn {
    background: linear-gradient(135deg, var(--green-btn) 0%, #00E676 100%);
    color: var(--text-white);
}

.deposit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 200, 83, 0.4);
}

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

.login-btn:hover {
    background: var(--gold);
    color: var(--dark-red);
}

/* Show balance and center nav on larger screens */
@media (min-width: 500px) {
    .user-balance {
        display: flex;
    }

    .nav-center {
        display: block;
    }

    .nav-btn {
        padding: 8px 14px;
        font-size: 0.7rem;
    }
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero-section {
    background: var(--hero-bg);
    padding: 16px 20px 20px;
    position: relative;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

/* Sound Button */
.sound-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: all 0.3s ease;
    z-index: 10;
}

.sound-btn:hover,
.sound-btn.active {
    background: rgba(255, 255, 255, 0.2);
}

.sound-btn svg {
    width: 18px;
    height: 18px;
}

/* Logo */
.logo-container {
    margin-top: 8px;
    margin-bottom: 12px;
    z-index: 5;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.logo-number {
    background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-bet {
    color: var(--text-white);
}

.logo-com {
    background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
}

/* Tagline */
.tagline {
    text-align: center;
    margin-bottom: 16px;
    z-index: 5;
}

.tagline p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
    font-weight: 500;
}

.tagline p:first-child {
    font-weight: 600;
}

/* WhatsApp Badge */
.whatsapp-badge {
    position: absolute;
    top: 80px;
    right: 8px;
    width: 50px;
    height: 50px;
    z-index: 10;
    animation: pulse 2s infinite;
}

.whatsapp-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Mascots */
.mascots-container {
    position: relative;
    width: 100%;
    height: 180px;
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.mascots-image {
    max-width: 100%;
    max-height: 180px;
    object-fit: contain;
}

/* Ad container styling */

/* =====================================================
   POPULAR GAMES SECTION
   ===================================================== */
.games-section {
    background: var(--section-bg);
    padding: 24px 16px 32px;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 20px;
}

.trophy-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 12px;
}

.trophy-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.trophy-icon.small {
    width: 40px;
    height: 40px;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 4px;
}

.section-title .highlight,
.section-title.highlight-full {
    background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

/* Game Card */
.game-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: translateY(-4px);
}

.game-card:active {
    transform: scale(0.95);
}

.game-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    box-shadow: var(--card-shadow);
}

.game-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-thumb.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-thumb.placeholder::after {
    content: '🎰';
    font-size: 2.5rem;
}

.pg-badge {
    position: absolute;
    top: 4px;
    left: 4px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%);
    color: var(--dark-red);
    font-size: 0.55rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.game-name {
    margin-top: 8px;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-light);
}

/* =====================================================
   COMMENTS SECTION
   ===================================================== */
.comments-section {
    background: var(--section-bg);
    padding: 24px 16px 32px;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Comment Card */
.comment-card {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: var(--card-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--card-shadow);
}

.comment-avatar {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    overflow: hidden;
    border: 2px solid var(--gold);
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
    min-width: 0;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.comment-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-white);
}

.stars {
    font-size: 0.7rem;
    color: var(--star-yellow);
    letter-spacing: 1px;
}

.comment-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 8px;
}

.progress-bar {
    height: 4px;
    background: var(--progress-bg);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--progress-green) 0%, #8BC34A 100%);
    border-radius: 2px;
    transition: width 0.5s ease;
}

/* =====================================================
   STICKY FOOTER
   ===================================================== */
.footer-spacer {
    height: 120px;
}

.sticky-footer {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    background: var(--footer-bg);
    padding: 8px 12px 12px;
    z-index: 100;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

/* Promo Banner */
.promo-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--deep-red) 100%);
    border-radius: var(--radius-sm);
    padding: 6px 12px;
    margin-bottom: 8px;
}

.promo-left,
.promo-right {
    display: flex;
    flex-direction: column;
}

.promo-invite {
    font-size: 0.5rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.promo-earn {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold);
}

.promo-receive {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-white);
    background: var(--orange);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}

/* Footer Buttons */
.footer-buttons {
    display: flex;
    gap: 12px;
}

.btn-play,
.btn-download {
    flex: 1;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: capitalize;
    box-shadow: var(--btn-shadow);
    transition: all 0.3s ease;
}

.btn-play {
    background: linear-gradient(135deg, var(--green-btn) 0%, #00E676 100%);
    color: var(--text-white);
}

.btn-play:hover {
    background: linear-gradient(135deg, #00E676 0%, var(--green-btn) 100%);
    transform: translateY(-2px);
}

.btn-download {
    background: linear-gradient(135deg, var(--orange-btn) 0%, var(--gold) 100%);
    color: var(--text-white);
}

.btn-download:hover {
    background: linear-gradient(135deg, var(--gold) 0%, var(--orange-btn) 100%);
    transform: translateY(-2px);
}

.btn-play:active,
.btn-download:active {
    transform: translateY(0);
}

/* =====================================================
   ANIMATIONS & EFFECTS
   ===================================================== */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.game-card:hover .game-thumb {
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.4);
}

/* Smooth scroll effect */
html {
    scroll-behavior: smooth;
}

/* =====================================================
   RESPONSIVE ADJUSTMENTS
   ===================================================== */
@media (max-width: 360px) {
    .logo {
        font-size: 1.75rem;
    }

    .tagline p {
        font-size: 0.8rem;
    }

    .games-grid {
        gap: 8px;
    }

    .game-name {
        font-size: 0.65rem;
    }

    .footer-buttons {
        gap: 8px;
    }

    .btn-play,
    .btn-download {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}

@media (min-width: 400px) {
    .logo {
        font-size: 2.25rem;
    }

    .games-grid {
        gap: 16px;
    }
}

/* Safely hide mascots SVG fallback when image loads */
.mascots-container.has-image::after {
    display: none;
}

/* Additional visual polish */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(180deg, rgba(139, 0, 0, 0.8) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* Coin scatter decoration */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    height: 60px;
    background: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 20%22%3E%3Ccircle cx=%2210%22 cy=%2210%22 r=%226%22 fill=%22%23FFD700%22 opacity=%220.6%22/%3E%3Ccircle cx=%2230%22 cy=%2215%22 r=%224%22 fill=%22%23FFD700%22 opacity=%220.5%22/%3E%3Ccircle cx=%2250%22 cy=%228%22 r=%225%22 fill=%22%23FFD700%22 opacity=%220.7%22/%3E%3Ccircle cx=%2270%22 cy=%2212%22 r=%224%22 fill=%22%23FFD700%22 opacity=%220.5%22/%3E%3Ccircle cx=%2290%22 cy=%226%22 r=%226%22 fill=%22%23FFD700%22 opacity=%220.6%22/%3E%3C/svg%3E') repeat-x;
    background-size: auto 100%;
    pointer-events: none;
    opacity: 0.4;
    z-index: 2;
}

/* =====================================================
   POPUP AD STYLES
   ===================================================== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.popup-content {
    position: relative;
    background: #1a1a1a;
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: scale(0.8) translateY(-20px);
        opacity: 0;
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.popup-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
    border: 3px solid #fff;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10000;
    line-height: 1;
}

.popup-close:hover {
    background: linear-gradient(135deg, #ff6666 0%, #ff0000 100%);
    transform: scale(1.1);
}

.popup-ad-container {
    min-width: 300px;
    min-height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* =====================================================
   LOADING MODAL STYLES
   ===================================================== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10001;
}

.loading-content {
    text-align: center;
    padding: 40px;
    max-width: 400px;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 215, 0, 0.3);
    border-top: 4px solid var(--gold);
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-content h2 {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.loading-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.countdown-timer {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 20px;
}

.countdown-timer span {
    display: inline-block;
    min-width: 50px;
}

.loading-progress {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.loading-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--orange), var(--gold));
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* =====================================================
   SEO CONTENT SECTION
   ===================================================== */
.seo-section {
    background: var(--section-bg);
    padding: 24px 16px 32px;
}

.seo-content {
    margin-bottom: 24px;
}

.seo-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 16px;
    text-align: center;
}

.seo-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 12px;
    text-align: justify;
}

.seo-text strong {
    color: var(--text-white);
}

/* FAQ Section */
.faq-section {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 20px;
}

.faq-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 16px;
    text-align: center;
}

.faq-item {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq-question {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 8px;
}

.faq-answer {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* =====================================================
   SEO FOOTER
   ===================================================== */
.seo-footer {
    background: #0a0505;
    padding: 24px 16px;
    text-align: center;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
    background: rgba(255, 215, 0, 0.1);
}

.footer-text {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.footer-keywords {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.3);
}

/* =====================================================
   LEGAL/INFO PAGES STYLES
   ===================================================== */
.page-container {
    min-height: 100vh;
    background: linear-gradient(180deg, var(--dark-red) 0%, #1a0505 100%);
    color: var(--text-white);
    font-family: 'Poppins', sans-serif;
}

.page-header {
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.back-btn {
    display: inline-block;
    color: var(--gold);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.back-btn:hover {
    text-decoration: underline;
}

.page-header h1 {
    font-size: 1.5rem;
    color: var(--gold);
    margin: 0;
}

.page-content {
    padding: 24px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.content-section {
    margin-bottom: 28px;
}

.content-section h2 {
    font-size: 1.1rem;
    color: var(--gold);
    margin-bottom: 12px;
}

.content-section p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 10px;
}

.content-section a {
    color: var(--gold);
    text-decoration: none;
}

.content-section a:hover {
    text-decoration: underline;
}

.feature-list,
.legal-list {
    list-style: none;
    padding: 0;
}

.feature-list li,
.legal-list li {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-cards {
    display: grid;
    gap: 16px;
    margin-top: 16px;
}

.contact-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.contact-card h3 {
    font-size: 1rem;
    color: var(--gold);
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 0.8rem;
    margin-bottom: 4px;
}

.update-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-footer {
    background: #0a0505;
    padding: 24px 16px;
    text-align: center;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.page-footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.page-footer .footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.page-footer .footer-links a:hover {
    color: var(--gold);
    background: rgba(255, 215, 0, 0.1);
}

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

/* =====================================================
   ARTICLE STYLES
   ===================================================== */
.article-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.article-content h3 {
    font-size: 0.95rem;
    color: var(--text-white);
    margin: 16px 0 8px;
}

.article-content ol {
    padding-left: 0;
}

.article-content ol li {
    list-style: none;
}

.cta-box {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 140, 0, 0.15) 100%);
    border: 1px solid var(--gold);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    margin-top: 20px;
}

.cta-box p {
    font-size: 0.9rem;
    color: var(--text-white);
    margin-bottom: 12px;
}

.cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%);
    color: #000;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.external-links {
    list-style: none;
    padding: 0;
}

.external-links li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.external-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.external-links a:hover {
    color: var(--gold);
}

.testimonial-box {
    background: var(--card-bg);
    border-left: 3px solid var(--gold);
    padding: 16px;
    margin-bottom: 12px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.testimonial-box p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    margin: 0;
}

.testimonial-box strong {
    color: var(--gold);
    font-style: normal;
}

/* Step boxes for tutorials */
.step-box {
    display: flex;
    gap: 16px;
    background: var(--card-bg);
    padding: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.step-box.success {
    border-color: #00C853;
    background: rgba(0, 200, 83, 0.1);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%);
    color: #000;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 0.9rem;
    color: var(--text-white);
    margin-bottom: 4px;
}

.step-content p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

/* Problem boxes */
.problem-box {
    background: rgba(255, 0, 0, 0.05);
    border-left: 3px solid #ff4444;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.problem-box h4 {
    font-size: 0.85rem;
    color: #ff6b6b;
    margin-bottom: 6px;
}

.problem-box p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}