/* ═══════════════════════════════════════════════════════════════════════════
   GEO Script Lander - Landing Page Styles
   Version: 2.0 | Last Updated: January 2026
   ═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   RESET & BASE STYLES
   ═══════════════════════════════════════════════════════════════════════════ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 50%, #0d0d1a 100%);
    color: #ffffff;
    min-height: 100vh;
    padding-bottom: 120px; /* Space for anchor ad */
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CONTAINER
   ═══════════════════════════════════════════════════════════════════════════ */
.container {
    max-width: 520px;
    margin: 0 auto;
    padding: 8px 12px;
}

@media (min-width: 768px) {
    .container {
        max-width: 600px;
        padding: 20px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   URGENCY BANNER
   ═══════════════════════════════════════════════════════════════════════════ */
.urgency-banner {
    background: linear-gradient(90deg, #ff4444 0%, #cc0000 50%, #ff4444 100%);
    background-size: 200% 100%;
    color: white;
    padding: 14px 20px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    animation: shimmer 3s infinite, pulse 2s infinite;
    position: sticky;
    top: 0;
    z-index: 1000;
    overflow: hidden;
}

.urgency-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: slide 2s infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes slide {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.9; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   HEADLINE SECTION
   ═══════════════════════════════════════════════════════════════════════════ */
.headline-section {
    text-align: center;
    padding: 4px 0 2px 0;
}

.main-headline {
    font-size: 24px;
    line-height: 1.35;
    margin: 15px 0;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 480px) {
    .main-headline {
        font-size: 28px;
    }
}

.sub-headline {
    text-align: center;
    color: #a0a0a0;
    font-size: 13px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.live-indicator {
    color: #ff4444;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    animation: blink 1.5s infinite;
}

.live-indicator::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #ff4444;
    border-radius: 50%;
    animation: pulse-dot 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.7); }
    50% { transform: scale(1.1); box-shadow: 0 0 0 5px rgba(255, 68, 68, 0); }
}

.viewer-count {
    font-weight: 600;
    color: #00ff88;
}

/* ═══════════════════════════════════════════════════════════════════════════
   VIDEO PLAYER SECTION
   ═══════════════════════════════════════════════════════════════════════════ */
.video-section {
    margin: 8px 0 15px 0;
}

.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-container:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.15),
        0 0 30px rgba(255, 0, 0, 0.2);
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}

.video-container:hover .video-thumbnail {
    filter: brightness(0.7);
}

/* Placeholder for thumbnail */
.video-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2a2a4e 0%, #1a1a3e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 
        0 10px 30px rgba(255, 0, 0, 0.4),
        0 0 0 4px rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.video-container:hover .play-button {
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 
        0 15px 40px rgba(255, 0, 0, 0.5),
        0 0 0 6px rgba(255, 255, 255, 0.3);
}

.video-container.playing .play-button {
    display: none;
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.duration {
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.fake-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
}

.progress-bar {
    height: 100%;
    width: 35%;
    background: linear-gradient(90deg, #ff0000, #ff4444);
    transition: width 0.3s ease;
}

.video-caption {
    text-align: center;
    margin: 15px 0;
    color: #888;
    font-size: 14px;
}

/* Video Playing State */
.video-container.playing .video-placeholder,
.video-container.playing .video-thumbnail {
    display: none;
}

.video-container.playing {
    background: #000;
}

.video-embed {
    width: 100%;
    height: 100%;
    border: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   AD SECTIONS
   ═══════════════════════════════════════════════════════════════════════════ */
.ad-section {
    margin: 10px 0;
    min-height: 250px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.ad-section::before {
    content: 'Advertisement';
    position: absolute;
    top: 8px;
    left: 12px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

#display-ad-container {
    width: 100%;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HIGH CPM CONTENT SECTION
   ═══════════════════════════════════════════════════════════════════════════ */
.high-cpm-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 16px;
    padding: 25px 20px;
    margin: 30px 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.high-cpm-content h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #00ff88;
    font-weight: 700;
    line-height: 1.4;
}

.high-cpm-content h3 {
    font-size: 17px;
    margin: 20px 0 12px;
    color: #ffcc00;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.high-cpm-content h4 {
    font-size: 15px;
    margin: 15px 0 8px;
    color: #ffffff;
    font-weight: 600;
}

.high-cpm-content p {
    color: #c0c0c0;
    line-height: 1.7;
    font-size: 14px;
    margin-bottom: 12px;
}

.high-cpm-content ul {
    margin: 10px 0 15px 20px;
    color: #c0c0c0;
}

.high-cpm-content li {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.6;
}

.high-cpm-content a {
    color: #00aaff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.high-cpm-content a:hover {
    color: #00ff88;
    text-decoration: underline;
}

.high-cpm-content strong {
    color: #ffffff;
}

/* Card Comparison */
.card-comparison {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 15px;
    margin: 15px 0;
}

.card-comparison h4 {
    color: #00ff88;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

/* Related Topics Tags */
.related-topics {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.15) 0%, rgba(0, 170, 255, 0.15) 100%);
    color: #00ff88;
    padding: 8px 14px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(0, 255, 136, 0.2);
    transition: all 0.2s ease;
    cursor: pointer;
}

.tag:hover {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.25) 0%, rgba(0, 170, 255, 0.25) 100%);
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════════════════════
   VIDEO SECTION ENHANCEMENTS
   ═══════════════════════════════════════════════════════════════════════════ */
.video-header {
    text-align: center;
    margin-bottom: 20px;
}

.video-badge {
    display: inline-block;
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    color: #000;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.video-title {
    font-size: 18px;
    color: #ffffff;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.video-desc {
    font-size: 14px;
    color: #a0a0a0;
    margin: 0;
}

.video-placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.video-placeholder .video-icon {
    font-size: 48px;
}

.video-placeholder .video-text {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.video-placeholder .video-subtext {
    font-size: 12px;
    color: #888;
}

.video-quality {
    background: #00ff88;
    color: #000;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    margin-left: 8px;
}

.video-topics {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.topic-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #c0c0c0;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 11px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CTA BUTTONS
   ═══════════════════════════════════════════════════════════════════════════ */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    color: #000 !important;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.3s ease;
    margin-top: 10px;
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.3);
}

.cta-button-small {
    display: inline-block;
    background: linear-gradient(135deg, #00aaff 0%, #0088cc 100%);
    color: #ffffff !important;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.cta-button-small:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0, 170, 255, 0.3);
    color: #ffffff !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LOAN & INSURANCE COMPARISON
   ═══════════════════════════════════════════════════════════════════════════ */
.loan-comparison,
.insurance-comparison,
.investment-comparison,
.mortgage-comparison {
    display: grid;
    gap: 12px;
    margin: 20px 0;
}

.loan-item,
.insurance-item,
.invest-item,
.mortgage-item {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 15px 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    transition: all 0.2s ease;
}

.loan-item:hover,
.insurance-item:hover,
.invest-item:hover,
.mortgage-item:hover {
    border-color: rgba(0, 255, 136, 0.2);
    background: rgba(0, 0, 0, 0.3);
}

.loan-item strong,
.insurance-item strong,
.invest-item strong,
.mortgage-item strong {
    color: #ffffff;
    font-size: 15px;
    flex: 1 1 100%;
}

@media (min-width: 400px) {
    .loan-item strong,
    .insurance-item strong,
    .invest-item strong,
    .mortgage-item strong {
        flex: 1 1 auto;
    }
}

.loan-item span,
.insurance-item span,
.invest-item span,
.mortgage-item span {
    color: #888;
    font-size: 13px;
    flex: 1 1 100%;
}

@media (min-width: 400px) {
    .loan-item span,
    .insurance-item span,
    .invest-item span,
    .mortgage-item span {
        flex: 1 1 auto;
        text-align: center;
    }
}

/* Compare Link */
.compare-link {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.compare-link a {
    color: #00aaff !important;
    font-weight: 600;
}

.compare-link a:hover {
    color: #00ff88 !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   DISCLAIMER NOTICE
   ═══════════════════════════════════════════════════════════════════════════ */
.disclaimer-notice {
    background: rgba(255, 204, 0, 0.1);
    border: 1px solid rgba(255, 204, 0, 0.2);
    border-radius: 10px;
    padding: 15px 18px;
    margin: 25px 0;
}

.disclaimer-notice p {
    color: #c0c0c0;
    font-size: 12px;
    line-height: 1.7;
    margin: 0;
}

.disclaimer-notice a {
    color: #ffcc00;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ENHANCED FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 0 30px;
    margin-top: 40px;
}

.footer-brand {
    text-align: center;
    margin-bottom: 30px;
}

.footer-brand h3 {
    color: #00ff88;
    font-size: 20px;
    margin: 0 0 8px 0;
}

.footer-brand p {
    color: #888;
    font-size: 14px;
    margin: 0;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.footer-column h4 {
    color: #ffffff;
    font-size: 14px;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column li {
    margin-bottom: 8px;
}

.footer-column a {
    color: #888;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: #00ff88;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: #666;
    font-size: 12px;
    margin: 0 0 10px 0;
}

.footer-disclaimer {
    color: #555 !important;
    font-size: 11px !important;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ANCHOR AD CLOSE BUTTON - TINY & HARD TO CLICK
   ═══════════════════════════════════════════════════════════════════════════ */
.google-auto-placed button,
.google-auto-placed [role="button"],
div[id*="anchor"] button,
div[id*="anchor"] [role="button"],
[data-anchor-status] button,
.adsbygoogle-close-button {
    width: 10px !important;
    height: 10px !important;
    min-width: 10px !important;
    min-height: 10px !important;
    max-width: 10px !important;
    max-height: 10px !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 5px !important;
    line-height: 10px !important;
    opacity: 0.2 !important;
    background: transparent !important;
    border: none !important;
    color: #888 !important;
    overflow: hidden !important;
    cursor: default !important;
    position: absolute !important;
    top: -5px !important;
    right: 2px !important;
}

.google-auto-placed button span,
.google-auto-placed button svg,
div[id*="anchor"] button span,
div[id*="anchor"] button svg {
    display: none !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */
.footer {
    text-align: center;
    padding: 30px 20px;
    color: #666;
    font-size: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 30px;
}

.footer a {
    color: #888;
    text-decoration: none;
}

.footer a:hover {
    color: #00aaff;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LOADING SPINNER
   ═══════════════════════════════════════════════════════════════════════════ */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: #00ff88;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ═══════════════════════════════════════════════════════════════════════════
   GEO INDICATOR (Debug Mode)
   ═══════════════════════════════════════════════════════════════════════════ */
.geo-indicator {
    position: fixed;
    bottom: 120px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: #00ff88;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-family: monospace;
    z-index: 9999;
    display: none; /* Show only in debug mode */
}

body.debug-mode .geo-indicator {
    display: block;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE ADJUSTMENTS
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 360px) {
    .main-headline {
        font-size: 20px;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .high-cpm-content {
        padding: 15px;
    }
    
    .high-cpm-content h2 {
        font-size: 17px;
    }
    
    .tag {
        padding: 6px 10px;
        font-size: 11px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   DARK MODE OPTIMIZATIONS
   ═══════════════════════════════════════════════════════════════════════════ */
@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #0a0a15 0%, #12122a 50%, #080810 100%);
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRINT STYLES (Hide ads when printing)
   ═══════════════════════════════════════════════════════════════════════════ */
@media print {
    .ad-section,
    .urgency-banner,
    .geo-indicator,
    .google-auto-placed {
        display: none !important;
    }
}
