/* ----------------------------------------------------
   8sala Brand Design System & Variables
   ---------------------------------------------------- */
:root {
    /* Color Palette */
    --color-bg-primary: #0a0416;
    --color-bg-secondary: #120926;
    --color-glass-bg: rgba(25, 14, 46, 0.45);
    --color-glass-border: rgba(255, 255, 255, 0.08);
    --color-glass-border-glow: rgba(255, 75, 145, 0.3);
    
    --color-text-main: #ffffff;
    --color-text-muted: #b8afcd;
    --color-text-dark: #6e6488;
    
    --color-accent-pink: #ff4b91;
    --color-accent-orange: #ff763b;
    --color-accent-yellow: #ffd23f;
    --color-accent-purple: #8b5cf6;
    --color-accent-cyan: #06b6d4;
    
    --gradient-hero: linear-gradient(135deg, var(--color-accent-pink), var(--color-accent-orange), var(--color-accent-yellow));
    --gradient-vibe: linear-gradient(135deg, #a855f7, #ec4899);
    --gradient-border: linear-gradient(135deg, rgba(255, 75, 145, 0.5), rgba(255, 210, 63, 0.2));
    --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    
    /* Typography */
    --font-heading: 'Fredoka', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Layout & Spacing */
    --container-max-width: 1200px;
    --border-radius-sm: 12px;
    --border-radius-md: 20px;
    --border-radius-lg: 32px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 50px rgba(139, 92, 246, 0.1);
    --shadow-glow: 0 0 20px rgba(255, 75, 145, 0.4);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg-primary);
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    line-height: 1.6;
}

/* RTL Override Styles */
[dir="rtl"] {
    font-family: 'Cairo', sans-serif;
}
[dir="rtl"] .hero-title,
[dir="rtl"] .section-title,
[dir="rtl"] .product-name,
[dir="rtl"] .slot-item,
[dir="rtl"] .logo-text,
[dir="rtl"] .subscription-card h3 {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
}
[dir="rtl"] input {
    text-align: right;
}

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

/* ----------------------------------------------------
   Background Animations & Blobs
   ---------------------------------------------------- */
.bg-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -2;
    opacity: 0.45;
    pointer-events: none;
    will-change: transform;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--color-accent-pink) 0%, transparent 70%);
    top: -10%;
    left: -10%;
    animation: blob-move-1 25s infinite alternate ease-in-out;
}

.blob-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--color-accent-purple) 0%, transparent 70%);
    bottom: -10%;
    right: -10%;
    animation: blob-move-2 30s infinite alternate ease-in-out;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-accent-orange) 0%, transparent 70%);
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: blob-move-3 20s infinite alternate ease-in-out;
}

@keyframes blob-move-1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(150px, 100px) scale(1.2); }
}

@keyframes blob-move-2 {
    0% { transform: translate(0, 0) scale(1.1); }
    100% { transform: translate(-100px, -150px) scale(0.9); }
}

@keyframes blob-move-3 {
    0% { transform: translate(-50%, -50%) translate(-80px, 80px) scale(0.9); }
    100% { transform: translate(-50%, -50%) translate(80px, -80px) scale(1.1); }
}

/* ----------------------------------------------------
   Floating Interactive Ornaments
   ---------------------------------------------------- */
.floating-item {
    position: fixed;
    font-size: 2.5rem;
    z-index: -1;
    user-select: none;
    pointer-events: none;
    opacity: 0.35;
    will-change: transform;
    animation: float-cycle 12s infinite ease-in-out;
}

.item-1 { top: 15%; left: 8%; animation-delay: 0s; }
.item-2 { top: 65%; left: 5%; animation-delay: 2s; font-size: 3rem; }
.item-3 { top: 25%; right: 7%; animation-delay: 4s; }
.item-4 { top: 75%; right: 9%; animation-delay: 1.5s; font-size: 3.5rem; }
.item-5 { bottom: 15%; left: 45%; animation-delay: 5s; }
.item-6 { top: 45%; left: 88%; animation-delay: 3.5s; }
.item-7 { top: 85%; left: 22%; animation-delay: 6s; }

@keyframes float-cycle {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(15deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* ----------------------------------------------------
   Container & Layout
   ---------------------------------------------------- */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ----------------------------------------------------
   Header
   ---------------------------------------------------- */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
}

.logo-icon {
    font-size: 2.2rem;
    filter: drop-shadow(0 0 10px rgba(255, 75, 145, 0.4));
    animation: pulse-logo 2s infinite ease-in-out;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2.2rem;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff 60%, var(--color-text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.btn-lang {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-lang:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--color-accent-pink);
    transform: translateY(-2px);
}

[dir="rtl"] .btn-lang {
    font-family: var(--font-body); /* force latin style on english trigger */
}

.badge {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-accent-yellow);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    box-shadow: inset 0 0 10px rgba(255, 210, 63, 0.05);
    text-shadow: 0 0 10px rgba(255, 210, 63, 0.2);
    animation: glow-pulse 3s infinite alternate;
}

[dir="rtl"] .badge {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    letter-spacing: 0px;
}

@keyframes pulse-logo {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1) rotate(5deg); }
}

@keyframes glow-pulse {
    0% { border-color: rgba(255, 210, 63, 0.2); box-shadow: 0 0 5px rgba(255, 210, 63, 0.1); }
    100% { border-color: rgba(255, 210, 63, 0.6); box-shadow: 0 0 15px rgba(255, 210, 63, 0.3); }
}

/* ----------------------------------------------------
   Hero Section
   ---------------------------------------------------- */
.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 6rem;
    padding-bottom: 5rem;
}

.hero-section {
    text-align: center;
    max-width: 800px;
    margin: 3rem auto 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(3rem, 6.5vw, 5rem);
    line-height: 1.15;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

[dir="rtl"] .hero-title {
    letter-spacing: 0px;
    line-height: 1.35;
}

.gradient-text {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 12px rgba(255, 75, 145, 0.15));
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--color-text-muted);
    font-weight: 400;
    max-width: 650px;
    margin-bottom: 3.5rem;
    line-height: 1.7;
}

[dir="rtl"] .hero-subtitle {
    line-height: 1.8;
}

/* ----------------------------------------------------
   Countdown Timer
   ---------------------------------------------------- */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    width: 100%;
    max-width: 600px;
}

[dir="rtl"] .countdown-container {
    flex-direction: row-reverse; /* Keep layout logical for days -> seconds from right to left */
}

.countdown-card {
    background: var(--color-glass-bg);
    border: 1px solid var(--color-glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--border-radius-md);
    flex: 1;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.countdown-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-accent-pink), transparent);
    opacity: 0.7;
}

.countdown-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-glass-border-glow);
    box-shadow: 0 20px 40px rgba(255, 75, 145, 0.15), 0 0 20px rgba(139, 92, 246, 0.08);
}

.countdown-value {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.4rem;
    text-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

[dir="rtl"] .countdown-value {
    font-family: 'Outfit', sans-serif; /* Keep digital style fonts for numbers */
}

.countdown-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent-orange);
    font-weight: 600;
}

[dir="rtl"] .countdown-label {
    letter-spacing: 0px;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
}

/* ----------------------------------------------------
   Subscription Card / Form
   ---------------------------------------------------- */
.subscription-card {
    background: var(--color-glass-bg);
    border: 1px solid var(--color-glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    width: 100%;
    max-width: 650px;
    box-shadow: var(--shadow-premium);
    position: relative;
    z-index: 10;
    text-align: center;
    transition: var(--transition-smooth);
}

.subscription-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--border-radius-lg);
    background: var(--gradient-border);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.6;
}

.subscription-card:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 75, 145, 0.1);
}

.subscription-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    background: linear-gradient(135deg, #ffffff, var(--color-accent-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subscription-card p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    margin-bottom: 2.2rem;
}

.subscribe-form {
    width: 100%;
}

.input-group {
    display: flex;
    background: rgba(10, 4, 22, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.4rem;
    border-radius: 100px;
    width: 100%;
    transition: var(--transition-smooth);
}

[dir="rtl"] .input-group {
    flex-direction: row; /* Flex direction remains row, but visual direction will invert due to RTL */
}

.input-group:focus-within {
    border-color: var(--color-accent-pink);
    box-shadow: 0 0 15px rgba(255, 75, 145, 0.25);
}

.input-group input {
    flex-grow: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 0.8rem 1.5rem;
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: #ffffff;
    width: 100%;
}

[dir="rtl"] .input-group input {
    font-family: 'Cairo', sans-serif;
}

.input-group input::placeholder {
    color: var(--color-text-dark);
}

.btn-primary {
    background: var(--gradient-hero);
    border: none;
    outline: none;
    color: #0c0414;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0 2.2rem;
    border-radius: 100px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(255, 75, 145, 0.35);
    white-space: nowrap;
}

[dir="rtl"] .btn-primary {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
}

.btn-primary:hover {
    transform: scale(1.03) translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 75, 145, 0.5);
    filter: brightness(1.15);
}

.btn-primary:active {
    transform: scale(0.98) translateY(0);
}

/* Spinner logic */
.btn-loading-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(12, 4, 20, 0.2);
    border-radius: 50%;
    border-top-color: #0c0414;
    animation: spin 0.8s linear infinite;
    position: absolute;
    display: none;
}

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

.btn-primary.loading .btn-text {
    visibility: hidden;
    opacity: 0;
}

.btn-primary.loading .btn-loading-spinner {
    display: block;
}

.form-feedback {
    margin-top: 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    min-height: 24px;
    transition: var(--transition-smooth);
}

.form-feedback.success {
    color: #4ade80;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.2);
}

.form-feedback.error {
    color: #f87171;
    text-shadow: 0 0 10px rgba(248, 113, 113, 0.2);
}

/* ----------------------------------------------------
   Vibe Matcher Game Section
   ---------------------------------------------------- */
.vibe-section {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    letter-spacing: -1px;
    margin-bottom: 0.8rem;
}

[dir="rtl"] .section-title {
    letter-spacing: 0px;
    line-height: 1.4;
}

.section-description {
    color: var(--color-text-muted);
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    margin-bottom: 3.5rem;
}

.vibe-machine {
    background: var(--color-glass-bg);
    border: 1px solid var(--color-glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--border-radius-lg);
    padding: 3.5rem 2rem;
    box-shadow: var(--shadow-premium);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.2rem;
    position: relative;
    overflow: hidden;
}

.vibe-machine::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-vibe);
}

.vibe-slot-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 600px;
}

[dir="rtl"] .vibe-slot-container {
    flex-direction: row-reverse; /* Maintain slot structure left-to-right or right-to-left layout consistently */
}

.slot-box {
    background: rgba(10, 4, 22, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-md);
    flex: 1;
    height: 100px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 8px 16px rgba(0, 0, 0, 0.6);
}

.slot-box::before,
.slot-box::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 25px;
    z-index: 2;
    pointer-events: none;
}

.slot-box::before {
    top: 0;
    background: linear-gradient(180deg, rgba(10, 4, 22, 0.95), transparent);
}

.slot-box::after {
    bottom: 0;
    background: linear-gradient(360deg, rgba(10, 4, 22, 0.95), transparent);
}

.slot-reel {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    transition: transform 0.1s linear;
    width: 100%;
    align-items: center;
}

.slot-item {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    padding: 0 1rem;
    white-space: nowrap;
}

.slot-divider {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent-pink);
    text-shadow: 0 0 15px rgba(255, 75, 145, 0.6);
    user-select: none;
}

.vibe-match-result {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--color-accent-yellow);
    background: rgba(255, 210, 63, 0.08);
    border: 1px dashed rgba(255, 210, 63, 0.3);
    padding: 1rem 2rem;
    border-radius: 100px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 90%;
    transition: var(--transition-smooth);
    text-shadow: 0 0 8px rgba(255, 210, 63, 0.2);
}

[dir="rtl"] .vibe-match-result {
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
}

.vibe-match-result.matching {
    animation: text-pulse-animation 0.2s infinite alternate;
    color: var(--color-text-muted);
    border-color: rgba(255, 255, 255, 0.1);
    background: transparent;
}

@keyframes text-pulse-animation {
    0% { transform: scale(0.98); opacity: 0.7; }
    100% { transform: scale(1.02); opacity: 1; }
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--color-accent-purple);
    color: #ffffff;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.9rem 2.8rem;
    border-radius: 100px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.15);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

[dir="rtl"] .btn-secondary {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-vibe);
    z-index: -1;
    opacity: 0;
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4), 0 0 15px rgba(236, 72, 153, 0.2);
    border-color: transparent;
}

.btn-secondary:hover::before {
    opacity: 1;
}

.btn-secondary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-secondary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ----------------------------------------------------
   Products Grid Section
   ---------------------------------------------------- */
.products-section {
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: var(--color-glass-bg);
    border: 1px solid var(--color-glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--border-radius-md);
    padding: 2.5rem 1.8rem;
    text-align: center;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent 60%);
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 255, 255, 0.05);
}

.product-icon {
    font-size: 3.5rem;
    margin-bottom: 1.2rem;
    display: inline-block;
    filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.3));
    transition: var(--transition-smooth);
}

.product-card:hover .product-icon {
    transform: scale(1.15) rotate(8deg);
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #ffffff;
}

.product-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

[dir="rtl"] .product-desc {
    line-height: 1.7;
}

/* ----------------------------------------------------
   Footer
   ---------------------------------------------------- */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 0 3rem 0;
    margin-top: auto;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.8rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-logo .logo-icon {
    font-size: 1.6rem;
}

.footer-logo .logo-text {
    font-size: 1.6rem;
}

.footer-tagline {
    color: var(--color-text-dark);
    font-size: 1rem;
    max-width: 300px;
    margin-top: -0.8rem;
}

[dir="rtl"] .footer-tagline {
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.8rem 1.6rem;
    border-radius: 100px;
    transition: var(--transition-smooth);
}

[dir="rtl"] .contact-info {
    flex-direction: row; /* Remains row but visually flows RTL */
}

.contact-info:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 75, 145, 0.25);
}

.contact-label {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

[dir="rtl"] .contact-label {
    font-family: 'Cairo', sans-serif;
}

.contact-email {
    color: var(--color-accent-yellow);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    text-shadow: 0 0 10px rgba(255, 210, 63, 0.15);
}

.contact-email:hover {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    color: var(--color-accent-pink);
    transform: translateY(-2px);
}

.copyright {
    color: var(--color-text-dark);
    font-size: 0.85rem;
    margin-top: 1rem;
}

[dir="rtl"] .copyright {
    font-family: 'Cairo', sans-serif;
    font-size: 0.8rem;
}

/* ----------------------------------------------------
   Responsive Adjustments
   ---------------------------------------------------- */
@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .header {
        padding: 1.5rem 0;
    }
    
    .main-content {
        gap: 4.5rem;
    }
    
    .hero-section {
        margin-top: 1.5rem;
    }
    
    .countdown-container {
        gap: 0.8rem;
    }
    
    .countdown-card {
        padding: 1rem 0.5rem;
    }
    
    .subscription-card {
        padding: 2rem 1.25rem;
    }
    
    .input-group {
        flex-direction: column;
        background: transparent;
        border: none;
        gap: 1rem;
        padding: 0;
    }
    
    .input-group input {
        background: rgba(10, 4, 22, 0.8);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 100px;
        padding: 1rem 1.5rem;
        text-align: center;
    }
    
    .btn-primary {
        padding: 1rem;
        border-radius: 100px;
        width: 100%;
    }
    
    .vibe-machine {
        padding: 2rem 1rem;
    }
    
    .vibe-slot-container {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    [dir="rtl"] .vibe-slot-container {
        flex-direction: column;
    }
    
    .slot-box {
        width: 100%;
        max-width: 280px;
    }
    
    .slot-divider {
        transform: rotate(90deg);
        margin: 0.2rem 0;
    }
    
    .social-links {
        gap: 1.5rem;
    }
}
