/* Graphik Arabic Font Family */
@font-face {
    font-family: 'Graphik Arabic';
    src: url('./fonts/Graphik Arabic Thin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Graphik Arabic';
    src: url('fonts/Graphik Arabic Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Graphik Arabic';
    src: url('fonts/Graphik Arabic Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Adobe Arabic';
    src: url('fonts/22016-adobearabic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Graphik Arabic';
    src: url('./fonts/Graphik Arabic SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Graphik Arabic';
    src: url('./fonts/Graphik Arabic Super.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Graphik Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #000000;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    overflow-x: hidden;
}

.coming-soon-container {
    max-width: 1200px;
    width: 100%;
}

.coming-soon-text {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 40px;
    line-height: 1.2;
    letter-spacing: 0.1em;
    font-family: 'Graphik Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.coming-soon-texth1 {
    font-size: 4rem;
    font-weight: 600;
    margin: 10px 0;
    text-align: center;
    letter-spacing: 0.1em;
    font-family: 'Graphik Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.coming-soon-english {
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: 0.15em;
}

.coming-soon-arabic {
    color: #10aa5f;
    margin-bottom: 15px;
    direction: rtl;
    text-align: center;
    font-family: 'Courier New', monospace;
    font-size: 12rem;
    letter-spacing: 0;
}

.coming-soon-berber {
    color: #c9dd6b;
    margin-bottom: 15px;
    letter-spacing: 0.4em;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    margin-top: 30px;
    line-height: 1.6;
    direction: rtl;
    text-align: center;
    letter-spacing: 0.05em;
    font-family: 'Graphik Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.dots-animation {
    display: inline-block;
    margin-left: 5px;
}

.dot {
    display: inline-block;
    color: rgba(255, 255, 255, 0.2);
    transition: color 0.3s ease;
}

.dot1 {
    animation: dotPulse 2s infinite;
}

.dot2 {
    animation: dotPulse 2s infinite 0.3s;
}

.dot3 {
    animation: dotPulse 2s infinite 0.6s;
}

@keyframes dotPulse {
    0%, 70% {
        color: rgba(255, 255, 255, 0.2);
    }
    15%, 55% {
        color: rgba(255, 255, 255, 1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .coming-soon-text {
        font-size: 2.4rem;
        margin-bottom: 6px;
    }
    
    .coming-soon-text.coming-soon-arabic {
        font-size: 7rem !important;
    }
    
    .subtitle {
        font-size: 1.15rem;
        margin-top: 12px;
        margin-bottom: 12px;
    }
    
    .coming-soon-container {
        height: 100vh;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 15px;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .coming-soon-text {
        font-size: 2.3rem;
        margin-bottom: 8px;
    }
    
    .coming-soon-text.coming-soon-arabic {
        font-size: 4.5rem !important;
        margin-bottom: 12px;
    }
    
    .subtitle {
        font-size: 1rem;
        margin-top: 16px;
        margin-bottom: 16px;
        line-height: 1.35;
    }
    
    body {
        padding: 8px;
        overflow: hidden;
    }
}

/* Glitch Animation */
@keyframes glitch {
    0%, 100% {
        transform: translate(0);
    }
    2% {
        transform: translate(-3px, -2px);
    }
    4% {
        transform: translate(2px, 3px);
    }
    6% {
        transform: translate(-2px, 2px);
    }
    8% {
        transform: translate(3px, -3px);
    }
    10% {
        transform: translate(-2px, -1px);
    }
    12% {
        transform: translate(2px, 2px);
    }
    14% {
        transform: translate(-3px, 1px);
    }
    16% {
        transform: translate(1px, -2px);
    }
    18% {
        transform: translate(-1px, -3px);
    }
    20% {
        transform: translate(0);
    }
}

@keyframes glitch-shadow {
    0%, 100% {
        text-shadow: 0 0 0 transparent;
    }
    2% {
        text-shadow: -3px 0 rgba(255, 0, 0, 0.6), 3px 0 rgba(0, 255, 255, 0.6);
    }
    4% {
        text-shadow: -2px 0 rgba(255, 0, 0, 0.5), 2px 0 rgba(0, 255, 255, 0.5);
    }
    6% {
        text-shadow: -4px 0 rgba(255, 0, 0, 0.7), 4px 0 rgba(0, 255, 255, 0.7);
    }
    8% {
        text-shadow: -2px 0 rgba(255, 0, 0, 0.4), 2px 0 rgba(0, 255, 255, 0.4);
    }
    10% {
        text-shadow: -3px 0 rgba(255, 0, 0, 0.6), 3px 0 rgba(0, 255, 255, 0.6);
    }
    12% {
        text-shadow: -2px 0 rgba(255, 0, 0, 0.5), 2px 0 rgba(0, 255, 255, 0.5);
    }
    14% {
        text-shadow: -4px 0 rgba(255, 0, 0, 0.8), 4px 0 rgba(0, 255, 255, 0.8);
    }
    16% {
        text-shadow: -1px 0 rgba(255, 0, 0, 0.3), 1px 0 rgba(0, 255, 255, 0.3);
    }
    18% {
        text-shadow: -3px 0 rgba(255, 0, 0, 0.6), 3px 0 rgba(0, 255, 255, 0.6);
    }
    20% {
        text-shadow: 0 0 0 transparent;
    }
}

@keyframes zoomInFromDepth {
    0% {
        opacity: 0;
        transform: scale(0.3);
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0px);
    }
}

.coming-soon-text {
    position: relative;
    animation: zoomInFromDepth 0.8s cubic-bezier(0.16, 1, 0.3, 1), glitch 3s infinite 2s, glitch-shadow 3s infinite 2s;
}

.coming-soon-english {
    animation: zoomInFromDepth 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both, glitch 3s infinite 2.5s, glitch-shadow 3s infinite 2.5s;
}

.coming-soon-arabic {
    animation: zoomInFromDepth 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both, glitch 3s infinite 3s, glitch-shadow 3s infinite 3s;
}

.coming-soon-berber {
    animation: zoomInFromDepth 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both, glitch 3s infinite 3.5s, glitch-shadow 3s infinite 3.5s;
}

.subtitle {
    animation: zoomInFromDepth 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

/* Glitch overlay effect */
.coming-soon-text::before,
.coming-soon-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.coming-soon-text::before {
    animation: glitch-overlay-1 3s infinite 2s;
    color: #ff0000;
    z-index: -1;
}

.coming-soon-text::after {
    animation: glitch-overlay-2 3s infinite 2s;
    color: #00ffff;
    z-index: -2;
}

@keyframes glitch-overlay-1 {
    0% { opacity: 0; transform: translate(0); }
    10% { opacity: 0.2; transform: translate(-0.5px, 0.3px); }
    20% { opacity: 0; transform: translate(0); }
    30% { opacity: 0.15; transform: translate(0.3px, -0.3px); }
    40% { opacity: 0; transform: translate(0); }
    50% { opacity: 0.2; transform: translate(-0.3px, 0.5px); }
    60% { opacity: 0; transform: translate(0); }
    70% { opacity: 0.1; transform: translate(0.5px, -0.3px); }
    80% { opacity: 0; transform: translate(0); }
    90% { opacity: 0.2; transform: translate(-0.3px, 0.3px); }
    100% { opacity: 0; transform: translate(0); }
}

@keyframes glitch-overlay-2 {
    0% { opacity: 0; transform: translate(0); }
    15% { opacity: 0.15; transform: translate(0.5px, -0.3px); }
    25% { opacity: 0; transform: translate(0); }
    35% { opacity: 0.2; transform: translate(-0.3px, 0.5px); }
    45% { opacity: 0; transform: translate(0); }
    55% { opacity: 0.1; transform: translate(0.3px, -0.5px); }
    65% { opacity: 0; transform: translate(0); }
    75% { opacity: 0.2; transform: translate(-0.5px, 0.3px); }
    85% { opacity: 0; transform: translate(0); }
    95% { opacity: 0.15; transform: translate(0.3px, 0.3px); }
    100% { opacity: 0; transform: translate(0); }
}
