:root {
    --primary-gold: #FFD700;
    --gold-gradient: linear-gradient(135deg, #FFD700 0%, #FDB931 100%);
    --dark-bg: #050505;
    --card-bg: #111111;
    /* Slightly lighter than bg */
    --card-border: #222;
    --accent-red: #ff3b3b;
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    --success-green: #00ff88;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-white);
    line-height: 1.6;
    /* Patriotic Background */
    background-image: linear-gradient(rgba(5, 5, 5, 0.85), rgba(5, 5, 5, 0.95)), url('patriotic_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
}

/* Utilities */
.hidden {
    display: none !important;
}

.gold-text {
    background: var(--gold-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Top Bar */
.top-bar {
    background: linear-gradient(90deg, #111 0%, #222 50%, #111 100%);
    color: #fff;
    text-align: center;
    padding: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.status-indicator {
    width: 8px;
    height: 8px;
    background-color: var(--success-green);
    border-radius: 50%;
    box-shadow: 0 0 5px var(--success-green);
}

/* Layout */
.main-container {
    max-width: 900px;
    /* Reduced from 1000px for tighter feel */
    margin: 20px auto;
    padding: 0 15px;
    /* Reduced side padding on mobile */
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

/* Hero */
.hero-section {
    text-align: left;
    margin-bottom: 40px;
}

.badges {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.badge {
    padding: 5px 12px;
    font-size: 0.7rem;
    font-weight: 800;
    border-radius: 4px;
    text-transform: uppercase;
}

.badge-green {
    background: rgba(0, 255, 136, 0.1);
    color: var(--success-green);
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.badge-gold {
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary-gold);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.badge-red {
    background: rgba(255, 59, 59, 0.1);
    color: var(--accent-red);
    border: 1px solid rgba(255, 59, 59, 0.3);
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.highlight-box {
    border-bottom: 3px solid var(--primary-gold);
}

.hero-desc {
    color: var(--text-gray);
    max-width: 800px;
    font-size: 1rem;
}

/* Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    /* Reverted to 2 columns */
    gap: 30px;
    align-items: start;
}

@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
}

/* Coin Display Section */
.coin-display-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: -40px;
    /* Slight overlap for integration */
    position: relative;
    z-index: 10;
    /* Above cards */
    padding: 20px 0;
}

.coin-image {
    width: 100%;
    max-width: 320px;
    /* Larger size */
    filter: drop-shadow(0 10px 30px rgba(255, 215, 0, 0.3));
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .coin-image {
        max-width: 240px;
        /* Smaller on mobile but still decent */
        margin-bottom: 0px;
    }

    .coin-display-container {
        margin-bottom: 0;
    }
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px) rotateY(0deg);
    }

    50% {
        transform: translateY(-15px) rotateY(5deg);
    }

    100% {
        transform: translateY(0px) rotateY(0deg);
    }
}

.floating-large {
    animation: float 5s ease-in-out infinite;
}

/* Cards */
.price-card,
.action-card,
.live-status-card,
.info-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Price Card */
.bundle-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-item.right {
    text-align: right;
}

.label {
    font-size: 0.75rem;
    color: var(--text-gray);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.value {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
}

.sub-value {
    font-size: 0.8rem;
    color: var(--success-green);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.price-label {
    text-transform: uppercase;
    font-weight: 700;
    color: var(--primary-gold);
}

.price-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-gray);
    font-size: 1.2rem;
}

.new-price {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--success-green);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
}

.price-sub {
    font-size: 0.8rem;
    color: var(--text-gray);
}

/* Action Card */
.action-card h3,
.live-status-card h3,
.info-card h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--primary-gold);
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: 1px;
}

.step-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.glow-button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(to bottom, #FFD700 0%, #FDB931 50%, #CFA000 100%);
    border: 1px solid #FFFFAA;
    border-radius: 6px;
    color: #4a3b00;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.1rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 0 #b38b00, 0 5px 15px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.glow-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(to bottom, #FFE033 0%, #FFD700 50%, #E6B300 100%);
    box-shadow: 0 6px 0 #b38b00, 0 10px 25px rgba(255, 215, 0, 0.4);
}

.glow-button:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #b38b00, 0 2px 5px rgba(0, 0, 0, 0.4);
}

/* Right Col Stuff */
.stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9rem;
    font-weight: 600;
}

.stat-value {
    color: #fff;
    font-weight: 800;
}

.progress-track {
    background: #333;
    height: 6px;
    border-radius: 3px;
    margin-bottom: 20px;
    overflow: hidden;
}

.progress-fill {
    background: var(--success-green);
    height: 100%;
    border-radius: 3px;
    box-shadow: 0 0 10px var(--success-green);
}

.alert-box {
    background: rgba(255, 59, 59, 0.1);
    border: 1px solid rgba(255, 59, 59, 0.3);
    color: #ff8888;
    padding: 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    line-height: 1.4;
}

.info-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* POPUP CSS */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.popup-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.popup-content {
    background: #111;
    border: 1px solid var(--primary-gold);
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.15);
    text-align: center;
}

.popup-header h2 {
    color: var(--primary-gold);
    font-size: 1.4rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.qfs-progress-container {
    background: #222;
    height: 12px;
    border-radius: 6px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.qfs-progress-bar {
    background: var(--gold-gradient);
    height: 100%;
    width: 0%;
    border-radius: 6px;
    transition: width 0.1s linear;
}

.popup-body p {
    color: #fff;
    font-weight: 600;
}

.steps-list {
    text-align: left;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.step-item {
    font-size: 0.9rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s;
}

.step-item.active {
    color: #fff;
}

.check {
    font-weight: bold;
}

.check.pending {
    color: #555;
}

.check.done {
    color: var(--success-green);
}

/* Presidential Briefing Styles */
.briefing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.briefing-card {
    background: linear-gradient(145deg, rgba(10, 20, 40, 0.9), rgba(5, 10, 20, 0.95));
    border: 1px solid var(--primary-gold);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.briefing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.2);
}

.briefing-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.briefing-card h4 {
    color: var(--primary-gold);
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 5px;
    display: inline-block;
}

.briefing-card p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #f0f0f0;
    line-height: 1.6;
}

.interactive-invite {
    background: linear-gradient(rgba(5, 10, 20, 0.95), rgba(10, 20, 40, 0.95)), url('patriotic_bg.png');
    /* Overlay on BG */
    background-size: cover;
    border: 2px solid var(--primary-gold);
    text-align: center;
    padding: 40px;
    margin: 40px auto;
    /* Center with auto margins */
    max-width: 100%;
    /* Don't exceed container */
    width: 100%;
    box-sizing: border-box;
    /* Prevent padding overflow */
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.invite-header {
    color: var(--text-gray);
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.highlight-box-invite {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--primary-gold);
    color: #fff;
    padding: 15px;
    margin: 20px auto;
    max-width: 600px;
    font-size: 1.1rem;
    border-radius: 4px;
}

.invite-sub {
    color: var(--success-green);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Presidential Style for Bottom Cards */
.price-card,
.action-card,
.live-status-card,
.info-card,
.activation-container,
.hero-section {
    background: linear-gradient(145deg, rgba(8, 15, 30, 0.95), rgba(4, 8, 16, 0.98));
    border: 1px solid rgba(255, 215, 0, 0.3);
    /* Gold tint border */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.activation-container {
    background: linear-gradient(145deg, rgba(10, 25, 50, 0.95), rgba(5, 12, 25, 0.98));
    border-top: 4px solid var(--primary-gold);
}

.info-panel h4,
.steps-panel h4 {
    color: var(--primary-gold);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    padding-bottom: 10px;
}

.btn-secondary {
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    background: transparent;
}

.btn-secondary:hover {
    background: rgba(255, 215, 0, 0.1);
    color: #fff;
}

.speech-section {
    text-align: center;
    padding: 40px 0;
    position: relative;
    z-index: 5;
}

.official-header {
    font-family: 'Times New Roman', serif;
    color: var(--text-gray);
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--primary-gold);
    display: inline-block;
    padding-bottom: 5px;
    text-transform: uppercase;
}

/* Layout Fix - Constrain text width on PC */
/* Layout Fix - Constrain text width on PC */
.main-container {
    max-width: 750px;
    /* Tighter width to fix "stretched" look */
    width: 95%;
    /* Responsive */
    margin: 30px auto;
    padding: 0 20px;
    overflow-x: visible;
    box-sizing: border-box;
}

/* Video Section Styles */
.video-headline {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    margin: 20px 0 15px 0;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.video-container {
    margin-bottom: 25px;
    border: 1px solid var(--primary-gold);
    border-radius: 12px;
    padding: 5px;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.video-btn {
    font-size: 1.4rem;
    padding: 20px;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(255, 59, 59, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 59, 59, 0);
    }
}

.value-text-below {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ccc;
    margin-top: 15px;
}

.money-text-gold {
    color: var(--primary-gold);
    font-size: 1.3rem;
    font-weight: 900;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

/* Aggressive CTA Button */
.aggressive-btn {
    font-size: 1.3rem;
    /* Larger font */
    background: linear-gradient(to bottom, #ff3b3b 0%, #aa0000 100%);
    /* Red for aggression */
    border: 1px solid #ff7777;
    color: #fff;
    box-shadow: 0 4px 0 #770000, 0 5px 20px rgba(255, 0, 0, 0.4);
    display: block;
    text-decoration: none;
    text-align: center;
    margin: 30px 0;
}

.aggressive-btn:hover {
    background: linear-gradient(to bottom, #ff5555 0%, #cc0000 100%);
    box-shadow: 0 6px 0 #770000, 0 10px 30px rgba(255, 0, 0, 0.5);
    transform: translateY(-2px);
}

.sub-btn-text {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.9;
    margin-top: 5px;
}

/* Value Guarantee Styles */
.value-guarantee {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--success-green);
    color: var(--success-green);
    padding: 10px 20px;
    display: inline-block;
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 1rem;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
}

.money-text {
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 5px var(--success-green);
}

/* Speech Content Width Fix */
.speech-content {
    max-width: 700px;
    /* Constrain reading width */
    margin: 0 auto;
    text-align: left;
}


/* Mobile & Tablet Optimizations */
@media (max-width: 1024px) {
    .content-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
        /* Slightly smaller base font */
    }

    .main-container {
        margin: 10px auto;
        padding: 0 15px;
    }

    .hero-section {
        margin-bottom: 20px;
        text-align: center;
        /* Center align title on mobile */
    }

    .hero-section h1 {
        font-size: 1.8rem;
        /* Smaller headline */
    }

    .hero-section h2 {
        font-size: 1.4rem;
    }

    .coin-display-container {
        margin-bottom: -20px;
        padding: 10px 0;
    }

    .coin-image {
        max-width: 220px;
    }

    .briefing-grid {
        grid-template-columns: 1fr;
        /* Stack cards */
        gap: 15px;
        margin: 20px 0;
    }

    .briefing-card {
        padding: 15px;
    }

    .speech-section {
        padding: 20px 10px;
    }

    .special-announcement {
        padding: 20px;
        margin: 20px 0;
    }

    .special-announcement h3 {
        font-size: 1.1rem;
    }

    .interactive-invite {
        padding: 25px 15px;
        margin: 25px 0;
    }

    .highlight-box-invite {
        font-size: 1rem;
        padding: 12px;
    }

    .bundle-info {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .info-item.right {
        text-align: center;
    }

    .price-row {
        flex-direction: column;
        gap: 10px;
    }

    .price-box {
        justify-content: center;
    }

    .badges {
        flex-wrap: wrap;
        /* Allow badges to wrap */
        justify-content: center;
    }

    .step-box,
    .stat-row,
    .info-card p,
    .price-sub {
        text-align: center;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.5rem;
    }

    .coin-image {
        max-width: 180px;
    }

    .value {
        font-size: 1.2rem;
    }

    /* Official Letter Styles */
    .letter-container {
        background: #fffdf8;
        /* Off-white paper */
        color: #1a1a1a;
        padding: 60px;
        border-radius: 4px;
        box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
        max-width: 800px;
        margin: 40px auto;
        font-family: 'Times New Roman', serif;
        position: relative;
        border: 1px solid #e0e0e0;
    }

    .official-seal-container {
        text-align: center;
        margin-bottom: 20px;
    }

    .president-seal {
        width: 120px;
        height: auto;
    }

    .letter-header {
        text-align: center;
        margin-bottom: 40px;
        font-family: 'Times New Roman', serif;
        color: #0d2c5e;
        /* Official Blue */
    }

    .letter-header h2 {
        font-size: 1.4rem;
        font-weight: 500;
        letter-spacing: 2px;
        margin-bottom: 5px;
        color: #0d2c5e;
    }

    .letter-header h3 {
        font-size: 0.9rem;
        font-weight: 400;
        letter-spacing: 1px;
        margin-bottom: 20px;
        color: #0d2c5e;
    }

    .letter-header p {
        font-style: italic;
        color: #444;
    }

    .letter-body {
        font-size: 1.15rem;
        line-height: 1.8;
        color: #222;
        text-align: justify;
    }

    .letter-body p {
        margin-bottom: 20px;
    }

    .signature-section {
        margin-top: 50px;
        text-align: center;
    }

    .trump-sig {
        width: 250px;
        transform: rotate(-2deg);
    }

    /* Post Letter Section */
    .post-letter-section {
        text-align: center;
        margin-top: 40px;
        padding: 20px;
    }

    .value-guarantee-large {
        background: linear-gradient(135deg, #004d26 0%, #007038 100%);
        border: 2px solid #00ff88;
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
        color: #fff;
        font-size: 1.5rem;
        font-weight: 800;
        padding: 20px 40px;
        border-radius: 50px;
        display: inline-block;
        margin-bottom: 30px;
        transform: scale(1.1);
    }

    .aggressive-btn-large {
        background: linear-gradient(to bottom, #ff2222 0%, #cc0000 100%);
        border: 2px solid #ff5555;
        padding: 25px 40px;
        border-radius: 8px;
        display: block;
        max-width: 600px;
        margin: 0 auto;
        text-align: center;
        text-decoration: none;
        box-shadow: 0 10px 0 #880000, 0 20px 40px rgba(0, 0, 0, 0.6);
        transition: all 0.2s;
    }

    .aggressive-btn-large:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 0 #880000, 0 25px 50px rgba(0, 0, 0, 0.7);
        background: linear-gradient(to bottom, #ff4444 0%, #dd0000 100%);
    }

    .aggressive-btn-large:active {
        transform: translateY(6px);
        box-shadow: 0 4px 0 #880000;
    }

    .btn-main-text {
        display: block;
        color: #fff;
        font-size: 2rem;
        font-weight: 900;
        text-transform: uppercase;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
        margin-bottom: 5px;
    }

    .btn-sub-text {
        display: block;
        color: #ffcccc;
        font-size: 1rem;
        font-weight: 600;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    .scarcity-text {
        color: #ff5555;
        font-weight: 700;
        margin-top: 15px;
        font-size: 0.9rem;
        text-transform: uppercase;
    }

    .arrow-down-animate {
        font-size: 3rem;
        color: var(--primary-gold);
        animation: bounce 2s infinite;
        margin-bottom: 15px;
    }

    @keyframes bounce {

        0%,
        20%,
        50%,
        80%,
        100% {
            transform: translateY(0);
        }

        40% {
            transform: translateY(-20px);
        }

        60% {
            transform: translateY(-10px);
        }
    }

    /* Mobile Optimizations for Letter */
    @media (max-width: 768px) {
        .letter-container {
            padding: 30px 20px;
            margin: 20px 10px;
        }

        .letter-body {
            font-size: 1rem;
        }

        .value-guarantee-large {
            font-size: 1.1rem;
            padding: 15px 25px;
            width: 100%;
        }

        .btn-main-text {
            font-size: 1.4rem;
        }

        .trump-sig {
            width: 180px;
        }
    }