:root {
    --primary: #d4af37; /* Gold - represents mining/industry */
    --secondary: #2c3e50; /* Dark blue - represents stability */
    --accent: #7d3c98; /* Purple accent */
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --gray: #6c757d;
    --white: #ffffff;
}

/* Montserrat Arabic Font Face */
@font-face {
    font-family: 'Montserrat Arabic';
    src: url('fonts/MontserratArabic-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat Arabic';
    src: url('fonts/MontserratArabic-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat Arabic';
    src: url('fonts/MontserratArabic-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat Arabic';
    src: url('fonts/MontserratArabic-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Montserrat Arabic', 'Montserrat Alternates', sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Force Arabic font for RTL content */
body[dir="rtl"] {
    font-family: 'Montserrat Arabic', sans-serif;
}

/* Force English/French to use Montserrat Alternates */
body[dir="ltr"] {
    font-family: 'Montserrat Alternates', sans-serif;
}

.language-selector {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 100;
}

.language-selector .btn-group {
    display: flex;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: white;
    padding: 4px;
    transition: all 0.3s ease;
}

.language-selector .btn {
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 50px;
    text-align: center;
}

.language-selector .btn:not(.active) {
    background: transparent;
    color: var(--gray);
}

.language-selector .btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
    transform: scale(1.05);
}

.language-selector .btn:hover:not(.active) {
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary);
}

.main-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.content-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    text-align: center;
    max-width: 700px;
    width: 90%;
    position: relative;
    overflow: hidden;
}

.logo-placeholder {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.logo-placeholder i {
    font-size: 3rem;
}

h1 {
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.subtitle {
    color: var(--gray);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2.5rem 0;
}

.countdown-item {
    background: var(--light);
    border-radius: 10px;
    padding: 1rem;
    min-width: 80px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.countdown-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.countdown-label {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 0.5rem;
}

footer {
    background: var(--secondary);
    color: white;
    padding: 1.5rem 0;
    text-align: center;
    margin-top: auto;
}

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

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-logo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 2rem;
}

.skeleton-title {
    height: 2.5rem;
    width: 70%;
    margin: 0 auto 1rem;
}

.skeleton-text {
    height: 1.2rem;
    width: 90%;
    margin: 0 auto 0.5rem;
}

.skeleton-text.short {
    width: 60%;
}

.skeleton-countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2.5rem 0;
}

.skeleton-countdown-item {
    background: #f0f0f0;
    border-radius: 10px;
    padding: 1rem;
    min-width: 80px;
    height: 5rem;
}

/* Hide content during loading */
.content-loading {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .content-card {
        padding: 2rem 1.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .countdown {
        gap: 0.5rem;
    }
    
    .countdown-item {
        min-width: 70px;
        padding: 0.75rem 0.5rem;
    }
    
    .countdown-value {
        font-size: 1.5rem;
    }
    
    .language-selector {
        left: 15px;
        top: 15px;
    }
    
    .language-selector .btn {
        padding: 6px 12px;
        font-size: 0.8rem;
        min-width: 45px;
    }
}