/* ========================================
   CUSTOMIZATION SECTION - COLORS & SETTINGS
   ======================================== */
:root {
    /* Main Colors - Change these to match your brand */
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --background-color: #0f172a;
    --text-color: #ffffff;
    --secondary-text: #94a3b8;
    
    /* Button Colors */
    --button-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --button-hover: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    
    /* Countdown Page Colors */
    --waiting-bg: #1e293b;
    --progress-color: #10b981;
    
    /* Ad Placeholder Colors */
    --ad-bg: #1e293b;
    --ad-border: #334155;
    --ad-text: #64748b;
    
    /* Section Colors */
    --section-bg: #1e293b;
    --card-bg: #334155;
}

/* ========================================
   GLOBAL STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--background-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: all 0.3s ease;
}

/* ========================================
   AD SECTIONS
   ======================================== */
.ad-top {
    width: 100%;
    min-height: 250px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-bottom {
    width: 100%;
    min-height: 250px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-side {
    position: fixed;
    width: 160px;
    height: 600px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}

#ad-left {
    left: 10px;
}

#ad-right {
    right: 10px;
}

/* ========================================
   MAIN CONTENT
   ======================================== */
main {
    flex: 1;
    margin: 0 180px;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    text-align: center;
    padding: 4rem 20px 2rem;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--secondary-text);
    margin-bottom: 2rem;
}

/* ========================================
   LINKS SECTION
   ======================================== */
.links-section {
    padding: 3rem 20px;
}

.links-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.section-description {
    text-align: center;
    color: var(--secondary-text);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.button-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.link-button {
    background: var(--button-bg);
    border: none;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.link-button:hover {
    background: var(--button-hover);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

.link-button:active {
    transform: translateY(-2px);
}

.button-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.button-text {
    font-size: 1.2rem;
}

.button-status {
    font-size: 0.9rem;
    color: #10b981;
    font-weight: 600;
}

/* ========================================
   ARTICLE SECTION
   ======================================== */
.article-section {
    padding: 4rem 20px;
    background: var(--section-bg);
}

.article-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    text-align: center;
}

.article-content {
    max-width: 900px;
    margin: 0 auto;
}

.article-content h3 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.article-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--secondary-text);
}

.article-content ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 1rem;
    color: var(--secondary-text);
    font-size: 1.05rem;
}

.article-content strong {
    color: var(--text-color);
}

.cta-box {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.cta-box h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-section {
    padding: 4rem 20px;
}

.faq-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.faq-question {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.faq-answer p {
    color: var(--secondary-text);
    line-height: 1.7;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    padding: 4rem 20px;
    background: var(--section-bg);
}

.contact-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 2rem auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2rem;
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 10px;
}

.contact-item h4 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-item p {
    color: var(--secondary-text);
}

.contact-form {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 8px;
    background: var(--background-color);
    color: var(--text-color);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--button-bg);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--button-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

/* ========================================
   WAITING PAGE
   ======================================== */
.waiting-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--waiting-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 0.3s ease;
}

.waiting-page.hidden {
    display: none;
    opacity: 0;
}

.waiting-container {
    text-align: center;
    padding: 3rem;
    max-width: 600px;
}

.loading-spinner {
    width: 80px;
    height: 80px;
    border: 6px solid rgba(99, 102, 241, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 2rem;
}

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

.waiting-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.waiting-message {
    font-size: 1.2rem;
    color: var(--secondary-text);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.countdown-display {
    margin-bottom: 2rem;
}

.countdown-number {
    font-size: 5rem;
    font-weight: 800;
    color: var(--progress-color);
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.countdown-text {
    font-size: 1.2rem;
    color: var(--secondary-text);
    margin-top: 0.5rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.progress-fill {
    height: 100%;
    background: var(--progress-color);
    border-radius: 10px;
    transition: width 0.3s linear;
    box-shadow: 0 0 10px var(--progress-color);
}

.redirect-info {
    font-size: 1rem;
    color: var(--secondary-text);
}

#destinationName {
    color: var(--primary-color);
    font-weight: 600;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--section-bg);
    padding: 2rem 20px;
    text-align: center;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
}

.footer p {
    color: var(--secondary-text);
    margin: 0.5rem 0;
}

.disclaimer {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE
   ======================================== */
@media (max-width: 1200px) {
    .ad-side {
        position: static;
        width: 100%;
        height: 100px;
        transform: none;
        margin: 10px 0;
    }
    
    #ad-left, #ad-right {
        left: auto;
        right: auto;
    }
    
    main {
        margin: 0;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--background-color);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .links-section h2,
    .article-section h2,
    .faq-section h2,
    .contact-section h2 {
        font-size: 2rem;
    }
    
    .button-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .link-button {
        padding: 2rem 1.5rem;
        font-size: 1.1rem;
    }
    
    .button-icon {
        font-size: 2rem;
    }
    
    .article-content h3 {
        font-size: 1.5rem;
    }
    
    .article-content p,
    .article-content li {
        font-size: 1rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .ad-top, .ad-bottom {
        height: 60px;
        font-size: 12px;
    }
    
    .waiting-container {
        padding: 2rem 1.5rem;
    }
    
    .waiting-container h2 {
        font-size: 1.8rem;
    }
    
    .waiting-message {
        font-size: 1rem;
    }
    
    .countdown-number {
        font-size: 4rem;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.5rem;
    }
    
    .link-button {
        padding: 1.5rem 1rem;
    }
    
    .countdown-number {
        font-size: 3rem;
    }
    
    .article-content h3 {
        font-size: 1.3rem;
    }
}
