/* ========================================
   PROMO MEDIA - Coming Soon Page
   Premium dark theme with gold accents
   ======================================== */

/* CSS Custom Properties */
:root {
    --gold-light: #f5d77a;
    --gold: #d4a528;
    --gold-dark: #b8860b;
    --gold-deep: #8b6914;
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --text-muted: rgba(255, 255, 255, 0.35);
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-hover: rgba(255, 255, 255, 0.08);
    --gold-glow: rgba(212, 165, 40, 0.15);
    --gold-glow-strong: rgba(212, 165, 40, 0.35);
    --shadow-gold: 0 0 60px rgba(212, 165, 40, 0.12);
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Tajawal', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background gradient overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 0%, rgba(212, 165, 40, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(184, 134, 11, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(10, 10, 15, 0.95) 0%, var(--bg-primary) 100%);
    pointer-events: none;
    z-index: 0;
}

/* Particles Canvas */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Floating Orbs */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 165, 40, 0.2), transparent);
    top: -100px;
    right: -100px;
    animation: float-orb 15s ease-in-out infinite;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(184, 134, 11, 0.15), transparent);
    bottom: -50px;
    left: -50px;
    animation: float-orb 18s ease-in-out infinite reverse;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(245, 215, 122, 0.1), transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float-orb 20s ease-in-out infinite;
}

.orb-4 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212, 165, 40, 0.12), transparent);
    top: 30%;
    right: 20%;
    animation: float-orb 12s ease-in-out infinite reverse;
}

@keyframes float-orb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(40px, 30px) scale(1.05); }
}

/* Main Container */
.container {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 24px;
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    animation: fadeInUp 1s var(--transition-smooth) forwards;
}

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

/* Logo Section */
.logo-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 0.8s var(--transition-smooth) 0.2s both;
}

.logo-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--gold-glow-strong), transparent 70%);
    animation: pulse-glow 3s ease-in-out infinite;
    z-index: 0;
}

@keyframes pulse-glow {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.5; 
    }
    50% { 
        transform: scale(1.3); 
        opacity: 0.8; 
    }
}

.logo {
    position: relative;
    width: 250px;
    height: auto;
    z-index: 1;
    filter: drop-shadow(0 0 30px rgba(212, 165, 40, 0.25));
    transition: transform 0.6s var(--transition-smooth), filter 0.6s var(--transition-smooth);
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 50px rgba(212, 165, 40, 0.4));
}

/* Coming Soon Text */
.coming-soon-text {
    animation: fadeInUp 0.8s var(--transition-smooth) 0.4s both;
}

.coming-soon-text h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.coming-soon-text h1 .line-1 {
    display: block;
    background: linear-gradient(135deg, var(--text-primary) 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.coming-soon-text h1 .line-2 {
    display: block;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3.5rem;
}

.subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto;
}

/* Countdown Timer */
.countdown-container {
    display: flex;
    align-items: center;
    gap: 12px;
    direction: ltr;
    animation: fadeInUp 0.8s var(--transition-smooth) 0.6s both;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.countdown-glass {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--transition-smooth);
}

.countdown-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent);
    border-radius: 20px 20px 0 0;
    pointer-events: none;
}

.countdown-glass:hover {
    border-color: rgba(212, 165, 40, 0.25);
    background: rgba(212, 165, 40, 0.05);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}

.countdown-number {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(180deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-variant-numeric: tabular-nums;
}

.countdown-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.countdown-separator {
    font-size: 2rem;
    color: var(--gold);
    font-weight: 300;
    margin-bottom: 30px;
    opacity: 0.5;
    animation: blink-separator 1s ease-in-out infinite;
}

@keyframes blink-separator {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.1; }
}

/* Subscribe Section */
.subscribe-section {
    width: 100%;
    max-width: 520px;
    animation: fadeInUp 0.8s var(--transition-smooth) 0.8s both;
}

.subscribe-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 400;
}

.subscribe-form {
    width: 100%;
}

.input-wrapper {
    display: flex;
    align-items: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 6px;
    transition: all 0.4s var(--transition-smooth);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.input-wrapper:focus-within {
    border-color: rgba(212, 165, 40, 0.35);
    box-shadow: 0 0 0 4px rgba(212, 165, 40, 0.08), var(--shadow-gold);
}

.input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 14px 18px;
    font-size: 1rem;
    color: var(--text-primary);
    font-family: 'Tajawal', sans-serif;
    direction: rtl;
}

.input-wrapper input::placeholder {
    color: var(--text-muted);
}

.input-wrapper button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--bg-primary);
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: 'Tajawal', sans-serif;
    cursor: pointer;
    transition: all 0.4s var(--transition-smooth);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.input-wrapper button::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.6s var(--transition-smooth);
}

.input-wrapper button:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(212, 165, 40, 0.3);
}

.input-wrapper button:hover::before {
    left: 100%;
}

.input-wrapper button:active {
    transform: scale(0.97);
}

.btn-icon {
    display: flex;
    align-items: center;
    transform: rotate(180deg);
}

/* Success Message */
.success-message {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    padding: 16px 24px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 12px;
    color: #4ade80;
    font-size: 0.95rem;
    font-weight: 500;
    animation: slideUp 0.5s var(--transition-bounce) forwards;
}

.success-message.show {
    display: flex;
}

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

/* Social Links */
.social-links {
    display: flex;
    gap: 16px;
    animation: fadeInUp 0.8s var(--transition-smooth) 1s both;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.4s var(--transition-smooth);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.social-link:hover {
    color: var(--gold);
    border-color: rgba(212, 165, 40, 0.3);
    background: rgba(212, 165, 40, 0.06);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(212, 165, 40, 0.12);
}

/* Footer */
.footer {
    animation: fadeInUp 0.8s var(--transition-smooth) 1.2s both;
}

.footer p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* ========================================
   Responsive Design
   ======================================== */

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

    .logo {
        width: 170px;
    }

    .logo-glow {
        width: 150px;
        height: 150px;
    }

    .coming-soon-text h1 {
        font-size: 2.2rem;
    }

    .coming-soon-text h1 .line-2 {
        font-size: 2.4rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .countdown-glass {
        width: 72px;
        height: 72px;
        border-radius: 16px;
    }

    .countdown-number {
        font-size: 1.8rem;
    }

    .countdown-separator {
        font-size: 1.5rem;
        margin-bottom: 24px;
    }

    .countdown-label {
        font-size: 0.75rem;
    }

    .input-wrapper {
        flex-direction: column;
        padding: 8px;
        gap: 0;
    }

    .input-wrapper input {
        width: 100%;
        text-align: center;
        padding: 12px 16px;
    }

    .input-wrapper button {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }

    .orb-1 { width: 250px; height: 250px; }
    .orb-2 { width: 200px; height: 200px; }
    .orb-3 { width: 150px; height: 150px; }
    .orb-4 { display: none; }
}

@media (max-width: 480px) {
    .coming-soon-text h1 {
        font-size: 1.8rem;
    }

    .coming-soon-text h1 .line-2 {
        font-size: 2rem;
    }

    .countdown-container {
        gap: 8px;
    }

    .countdown-glass {
        width: 62px;
        height: 62px;
        border-radius: 14px;
    }

    .countdown-number {
        font-size: 1.5rem;
    }

    .countdown-separator {
        font-size: 1.2rem;
    }

    .social-link {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }
}

/* Smooth scrollbar for webkit */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: rgba(212, 165, 40, 0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 165, 40, 0.5);
}

/* Selection Color */
::selection {
    background: rgba(212, 165, 40, 0.3);
    color: var(--text-primary);
}
