* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow: hidden;
    background: #000;
    padding: 0px;
    margin: 0px;
}

body {
    font-family: 'Vazirmatn', 'Tahoma', 'Arial', sans-serif;
    direction: rtl;
    height: 100vh;
    width: 100vw;
}

#canvas {
    cursor: crosshair;
    z-index: 2;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: auto;
}

#overlay {
    background: radial-gradient(ellipse at center, rgba(0,0,0,.0) 10%, rgba(0,0,0,.8) 80%, rgba(0,0,0,1) 90%, rgba(0,0,0,1) 100%);
    z-index: 3;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    pointer-events: auto;
}

#overlay:hover {
    cursor: pointer;
}

#bg_glow {
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

#info {
    z-index: 4;
    position: absolute;
    color: #fff;
    top: 0px;
    left: 0px;
    background: rgba(60,60,60,.6);
    padding: 5px;
    display: none;
}

#fps {
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: 5;
    display: none;
}

.container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 10;
    pointer-events: none;
}

.content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 20px;
    max-width: 800px;
    width: 100%;
    pointer-events: auto;
}

.title {
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5),
                 0 0 20px rgba(139, 21, 56, 0.5);
    animation: fadeInDown 1s ease-out;
}

.slogan {
    font-size: 1.5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 50px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
    direction: ltr;
    flex-direction: row;
}

.countdown-item {
    background: rgba(128, 128, 128, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 20px 25px;
    min-width: 100px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
    background: rgba(128, 128, 128, 0.35);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px rgba(139, 21, 56, 0.8),
                 0 0 20px rgba(139, 21, 56, 0.5);
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
}

.countdown-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-separator {
    font-size: 2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 5px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

.contact-btn {
    display: inline-block;
    padding: 18px 50px;
    background: rgba(128, 128, 128, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.9s both;
    cursor: pointer;
    margin-top: 30px;
    position: relative;
    z-index: 20;
}

.contact-btn:hover {
    transform: translateY(-3px);
    background: rgba(128, 128, 128, 0.35);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.contact-btn:active {
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }
    
    .slogan {
        font-size: 1.2rem;
        margin-bottom: 40px;
    }
    
    .countdown-container {
        gap: 10px;
        margin-bottom: 40px;
    }
    
    .countdown-item {
        padding: 15px 18px;
        min-width: 80px;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .countdown-label {
        font-size: 0.75rem;
    }
    
    .countdown-separator {
        font-size: 1.5rem;
        margin: 0 3px;
    }
    
    .contact-btn {
        padding: 15px 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2rem;
    }
    
    .slogan {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .countdown-container {
        gap: 8px;
    }
    
    .countdown-item {
        padding: 12px 15px;
        min-width: 70px;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
    
    .countdown-label {
        font-size: 0.65rem;
    }
    
    .countdown-separator {
        font-size: 1.2rem;
        margin: 0 2px;
    }
    
    .contact-btn {
        padding: 12px 35px;
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    .countdown-item {
        padding: 10px 12px;
        min-width: 60px;
    }
    
    .countdown-number {
        font-size: 1.3rem;
    }
    
    .countdown-separator {
        display: none;
    }
}

