/* Reset and Base Styles */
:root {
    --primary: #4361ee;
    --secondary: #3f37c9;
    --accent: #4cc9f0;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --success: #4bb543;
    --instagram: #e1306c;
    --facebook: #1877f2;
    --twitter: #1da1f2;
    --youtube: #ff0000;
    --tiktok: #000000;
    --linkedin: #0077b5;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Tajawal', sans-serif;
    background: linear-gradient(135deg, #0f0c29, #1e1b4b, #24243e);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    line-height: 1.6;
    padding: 20px;
    overflow-x: hidden;
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

.container {
    max-width: 1200px;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
    background-size: 200% auto;
    animation: gradient 3s linear infinite;
    z-index: 2;
}

/* Logo */
.logo {
    position: relative;
    margin-bottom: 3rem;
    display: inline-block;
}

.logo-text {
    font-size: 4.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #fff, #4cc9f0, #4361ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradient 8s ease infinite;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    display: inline-block;
    text-shadow: 0 2px 15px rgba(67, 97, 238, 0.3);
}

.tagline {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.5rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.2) 0%, rgba(108, 99, 255, 0) 70%);
    border-radius: 50%;
    filter: blur(15px);
    z-index: 1;
    animation: pulse 4s ease-in-out infinite;
}

.site-name:hover {
    transform: perspective(500px) rotateX(10deg);
    text-shadow: 0 5px 15px rgba(107, 70, 193, 0.3);
}

.site-name::before,
.site-name::after {
    content: '✧';
    position: absolute;
    color: #9F7AEA;
    font-size: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    animation: twinkle 2s ease-in-out infinite;
}

.site-name::before {
    left: 0;
}

.site-name::after {
    right: 0;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.7; transform: translateY(-50%) scale(1); }
    50% { opacity: 1; transform: translateY(-50%) scale(1.2); }
}

h1 {
    color: #2D3748;
    font-size: 2.8rem;
    margin: 1.5rem 0;
    font-weight: 800;
    position: relative;
    display: inline-block;
    padding: 0 1.5rem;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

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

.subtitle {
    color: #4A5568;
    font-size: 1.4rem;
    margin: 0 0 3rem 0;
    max-width: 600px;
    line-height: 1.6;
    position: relative;
    padding: 0 2rem;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
}

.subtitle::before,
.subtitle::after {
    content: '✦';
    position: absolute;
    color: #9F7AEA;
    font-size: 1rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
    animation: pulse 2s ease-in-out infinite;
}

.subtitle::before {
    left: 0;
}

.subtitle::after {
    right: 0;
}

/* Rocket Animation */
.maintenance-icon {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 2rem auto 4rem;
    perspective: 1000px;
}

.rocket {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
    z-index: 2;
}

.rocket i {
    font-size: 4rem;
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 101, 132, 0.8);
    position: relative;
    z-index: 2;
    animation: bounce 2s ease-in-out infinite;
}

.rocket-flame {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 30px;
    background: linear-gradient(to top, #ff9a9e, #fad0c4);
    border-radius: 50% 50% 0 0;
    filter: blur(5px);
    animation: flame 0.8s ease-in-out infinite alternate;
}

.pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #9F7AEA;
    border-radius: 50%;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0.2;
    transform: scale(1);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.2;
    }
    70% {
        transform: scale(1.5);
        opacity: 0.1;
    }
    100% {
        transform: scale(0.8);
        opacity: 0.2;
    }
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
    padding: 0 1rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-card:nth-child(1) .feature-icon {
    background: linear-gradient(135deg, var(--instagram), #f77737);
}

.feature-card:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, var(--facebook), #0095f6);
}

.feature-card:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, var(--youtube), #ff5e62);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1), rgba(255, 101, 132, 0.1));
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    font-size: 2.5rem;
    color: #fff;
    position: relative;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(108, 99, 255, 0.4);
}

.feature-card h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.icon-container:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.icon-container i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
    background: linear-gradient(135deg, #6B46C1, #9F7AEA);
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(107, 70, 193, 0.4);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.icon-container i::before {
    position: relative;
    z-index: 3;
}

.icon-container i::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.icon-container:nth-child(2) i {
    background: linear-gradient(135deg, #4299E1, #63B3ED);
    box-shadow: 0 10px 25px rgba(66, 153, 225, 0.4);
}

.icon-container:nth-child(3) i {
    background: linear-gradient(135deg, #48BB78, #68D391);
    box-shadow: 0 10px 25px rgba(72, 187, 120, 0.4);
}

.icon-container:hover i {
    color: white;
    transform: rotateY(180deg);
}

.icon-container:hover i::after {
    opacity: 1;
}

.icon-container span {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2D3748;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.icon-container:hover span {
    color: #6B46C1;
    transform: scale(1.1);
}

.pulse-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.1), rgba(142, 68, 173, 0.1));
    z-index: -1;
    opacity: 0;
    transition: all 0.6s ease;
    top: 0;
    left: 0;
}

.icon-container:hover .pulse-effect {
    opacity: 1;
    transform: scale(1.05);
    animation: pulse 2s infinite;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(2deg); }
    50% { transform: translateY(0) rotate(0deg); }
    75% { transform: translateY(-5px) rotate(-2deg); }
}

.icon-container i {
    animation: floatIcon 6s ease-in-out infinite;
}

.icon-container:nth-child(2) i {
    animation-delay: 0.2s;
}

.icon-container:nth-child(3) i {
    animation-delay: 0.4s;
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.countdown-item span:first-child {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, #b1b1ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.countdown-item span:last-child {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes flame {
    0% {
        transform: translateX(-50%) scaleY(0.8);
        opacity: 0.8;
    }
    100% {
        transform: translateX(-50%) scaleY(1.2);
        opacity: 1;
    }
}

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

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

/* Responsive */
@media (max-width: 768px) {
    .logo-text {
        font-size: 2.5rem;
    }
    
    .coming-soon {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .countdown {
        gap: 1rem;
    }
    
    .countdown-item {
        min-width: 70px;
    }
    
    .countdown-item span:first-child {
        font-size: 2rem;
    }
}

.icon-container:nth-child(1) i {
    animation: float 3s ease-in-out infinite;
}

.icon-container:nth-child(2) i {
    animation: float 3s ease-in-out 0.5s infinite;
}

/* Coming Soon Text */
.coming-soon {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #b1b1ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 1rem 0 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    opacity: 0;
    animation: fadeInUp 1s ease 0.2s forwards;
}

/* Social Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin: 2.5rem 0 3rem;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, #48BB78, #4299E1, #9F7AEA, #F6E05E);
    background-size: 300% 300%;
    animation: gradientBG 8s ease infinite;
}

.social-icon i {
    position: relative;
    z-index: 2;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .maintenance-icon {
        font-size: 3rem;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Integrated notice bar (no modal) */
.notice-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    margin: 10px auto 18px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    width: fit-content;
}

.notice-bar i { color: var(--accent); }

.notice-bar span { color: #e5e7eb; font-weight: 500; letter-spacing: 0.3px; }

.chips { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.chip {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(76,201,240,0.12);
    border: 1px solid rgba(76,201,240,0.25);
    color: #c9f1ff;
    font-size: 0.85rem;
}

@media (max-width: 720px){
    .notice-bar { flex-direction: column; gap: 10px; width: 100%; }
}
