/* ============================================
   EXPO TIMES - COMING SOON / UPDATING PAGE
   ============================================ */

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

:root {
    --red: #e63946;
    --red-dark: #c1121f;
    --red-light: #ff4d5a;
    --dark-bg: #0a0a0a;
    --dark-card: #141414;
    --dark-card-2: #1a1a1a;
    --dark-border: #2a2a2a;
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
    --text-light-gray: #cccccc;
    --glass-bg: rgba(20, 20, 20, 0.8);
    --glass-border: rgba(255, 255, 255, 0.06);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-red: 0 0 30px rgba(230, 57, 70, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Vazirmatn', 'Tahoma', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-white);
    min-height: 100vh;
    overflow-x: hidden;
    direction: rtl;
    line-height: 1.8;
}

/* Background Particles */
.bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: var(--red);
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: translateY(-10vh) scale(1);
    }
}

/* Ambient glow effects */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    right: -30%;
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.06) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    bottom: -30%;
    left: -20%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.04) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

/* Main Container */
.main-container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ============ HEADER ============ */
.header {
    padding: 20px 0;
    animation: fadeInDown 0.8s ease-out;
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 12px;
    filter: drop-shadow(0 0 10px rgba(230, 57, 70, 0.3));
}

.logo-title {
    font-family: 'Vazirmatn', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--text-white);
    line-height: 1.1;
}

.logo-title .red {
    color: var(--red);
}

.logo-subtitle {
    font-size: 0.7rem;
    color: var(--text-gray);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 300;
}

/* ============ HERO SECTION ============ */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 40px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-text {
    animation: fadeInRight 1s ease-out 0.3s both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.main-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.5;
    margin-bottom: 10px;
}

.red-text {
    color: var(--red);
    position: relative;
}

.red-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--red), transparent);
    border-radius: 2px;
}

.sub-title {
    font-size: 1.2rem;
    color: var(--text-light-gray);
    margin-bottom: 35px;
    font-weight: 400;
}

.bracket {
    color: var(--red);
    font-weight: 700;
    font-size: 1.4rem;
}

/* Countdown Timer */
.countdown-wrapper {
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

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

.countdown {
    display: flex;
    gap: 10px;
    align-items: center;
    direction: ltr;
}

.countdown-item {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 15px 20px;
    text-align: center;
    min-width: 85px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.countdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
    opacity: 0.5;
}

.countdown-item:hover {
    border-color: var(--red);
    box-shadow: var(--shadow-red);
    transform: translateY(-3px);
}

.count-number {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--red);
    line-height: 1.2;
    font-family: 'Vazirmatn', monospace;
}

.count-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-gray);
    margin-top: 5px;
    font-weight: 400;
}

.countdown-separator {
    font-size: 2rem;
    color: var(--red);
    font-weight: 700;
    opacity: 0.5;
    animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0; }
}

/* Features */
.features {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: default;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item:hover .feature-icon {
    border-color: var(--red);
    box-shadow: var(--shadow-red);
    color: var(--red);
}

.feature-icon {
    width: 55px;
    height: 55px;
    border: 1px solid var(--dark-border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--text-gray);
    background: var(--dark-card);
    transition: var(--transition);
}

.feature-label {
    font-size: 0.75rem;
    color: var(--text-gray);
    text-align: center;
    font-weight: 400;
    max-width: 80px;
    line-height: 1.5;
}

/* Hero Image */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInLeft 1s ease-out 0.5s both;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.updating-screen {
    position: relative;
    width: 100%;
    max-width: 450px;
}

.screen-frame {
    background: linear-gradient(145deg, #1a1a1a, #111111);
    border: 2px solid var(--dark-border);
    border-radius: 20px;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow),
                0 0 60px rgba(230, 57, 70, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.screen-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red-dark), var(--red), var(--red-dark));
}

.screen-frame::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 35px,
        rgba(230, 57, 70, 0.02) 35px,
        rgba(230, 57, 70, 0.02) 70px
    );
    pointer-events: none;
}

.screen-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.gear-icon {
    font-size: 4rem;
    color: var(--red);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(230, 57, 70, 0.4));
}

.screen-content h3 {
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 6px;
    color: var(--text-light-gray);
    margin-bottom: 5px;
    font-family: 'Vazirmatn', sans-serif;
}

.screen-content h2 {
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: 8px;
    color: var(--text-white);
    margin-bottom: 10px;
    font-family: 'Vazirmatn', sans-serif;
    text-shadow: 0 0 30px rgba(230, 57, 70, 0.3);
}

.screen-content p {
    font-size: 0.9rem;
    letter-spacing: 5px;
    color: var(--text-gray);
    font-weight: 300;
}

/* Construction Elements */
.construction-elements {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    opacity: 0.8;
}

.cone {
    position: relative;
}

.cone i {
    font-size: 2.5rem;
    color: var(--red);
    filter: drop-shadow(0 0 8px rgba(230, 57, 70, 0.3));
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.barrier {
    display: flex;
    gap: 5px;
    padding: 8px 25px;
    background: var(--dark-card);
    border-radius: 8px;
    border: 1px solid var(--dark-border);
}

.barrier-stripe {
    width: 20px;
    height: 8px;
    background: repeating-linear-gradient(
        45deg,
        var(--red),
        var(--red) 4px,
        var(--dark-bg) 4px,
        var(--dark-bg) 8px
    );
    border-radius: 2px;
}

/* ============ INFO SECTION ============ */
.info-section {
    padding: 30px 0;
    animation: fadeInUp 1s ease-out 1s both;
}

.website-card {
    background: var(--dark-card);
    border: 1px solid var(--red);
    border-radius: 16px;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.website-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.05), transparent);
    pointer-events: none;
}

.website-card:hover {
    box-shadow: var(--shadow-red);
}

.card-right {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.globe-icon {
    width: 50px;
    height: 50px;
    border: 1px solid var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--red);
    flex-shrink: 0;
}

.card-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-gray);
    font-weight: 400;
}

.card-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
    direction: ltr;
    text-align: right;
}

.card-left {
    text-align: left;
    position: relative;
    z-index: 1;
}

.card-left p {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 3px;
}

.follow-link {
    color: var(--red);
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
}

.follow-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: var(--transition);
}

.follow-link:hover::after {
    width: 100%;
}

.follow-link:hover {
    color: var(--red-light);
}

/* Social Cards */
.social-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.social-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 22px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--text-white);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.03), transparent);
    opacity: 0;
    transition: var(--transition);
}

.social-card:hover {
    border-color: var(--red);
    transform: translateY(-3px);
    box-shadow: var(--shadow-red);
}

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

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.social-icon.instagram {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
}

.social-handle {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    direction: ltr;
    text-align: right;
}

.social-desc {
    display: block;
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-top: 3px;
    font-weight: 400;
}

/* ============ FOOTER ============ */
.footer {
    padding: 30px 0 20px;
    text-align: center;
    border-top: 1px solid var(--dark-border);
    margin-top: 20px;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.footer-tags {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    direction: ltr;
}

.footer-tags span {
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: var(--text-gray);
    font-weight: 400;
}

.red-dot {
    color: var(--red) !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
}

.divider {
    color: var(--dark-border) !important;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 20px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border: 1px solid var(--dark-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    border-color: var(--red);
    color: var(--red);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.2);
}

.copyright {
    font-size: 0.75rem;
    color: var(--text-gray);
    opacity: 0.6;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Large tablets / small desktops */
@media (max-width: 1200px) {
    .main-title {
        font-size: 2.3rem;
    }

    .hero-content {
        gap: 40px;
    }

    .screen-content h2 {
        font-size: 2.2rem;
    }
}

/* Tablets */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text {
        order: 1;
    }

    .hero-image {
        order: 2;
    }

    .features {
        justify-content: center;
    }

    .countdown {
        justify-content: center;
    }

    .main-title {
        font-size: 2rem;
    }

    .updating-screen {
        max-width: 380px;
    }

    .website-card {
        flex-direction: column;
        text-align: center;
    }

    .card-right {
        flex-direction: column;
    }

    .card-left {
        text-align: center;
    }

    .card-value {
        text-align: center;
    }
}

/* Mobile Landscape & Small Tablets */
@media (max-width: 768px) {
    .main-container {
        padding: 15px;
    }

    .logo-title {
        font-size: 1.8rem;
    }

    .main-title {
        font-size: 1.7rem;
    }

    .sub-title {
        font-size: 1rem;
    }

    .social-cards {
        grid-template-columns: 1fr;
    }

    .features {
        gap: 15px;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }

    .feature-label {
        font-size: 0.7rem;
    }

    .screen-frame {
        padding: 35px 25px;
    }

    .screen-content h2 {
        font-size: 2rem;
        letter-spacing: 5px;
    }

    .screen-content h3 {
        font-size: 1.1rem;
        letter-spacing: 4px;
    }

    .gear-icon {
        font-size: 3rem;
    }

    .countdown-item {
        min-width: 70px;
        padding: 12px 15px;
    }

    .count-number {
        font-size: 1.6rem;
    }

    .footer-tags span {
        font-size: 0.7rem;
        letter-spacing: 2px;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .main-container {
        padding: 10px;
    }

    .header {
        padding: 15px 0;
    }

    .logo-img {
        width: 45px;
        height: 45px;
    }

    .logo-title {
        font-size: 1.5rem;
    }

    .logo-subtitle {
        font-size: 0.6rem;
        letter-spacing: 2px;
    }

    .hero {
        padding: 20px 0;
    }

    .main-title {
        font-size: 1.4rem;
        line-height: 1.8;
    }

    .sub-title {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }

    .countdown {
        gap: 6px;
    }

    .countdown-item {
        min-width: 60px;
        padding: 10px 10px;
        border-radius: 12px;
    }

    .count-number {
        font-size: 1.4rem;
    }

    .count-label {
        font-size: 0.65rem;
    }

    .countdown-separator {
        font-size: 1.5rem;
    }

    .countdown-wrapper {
        margin-bottom: 30px;
    }

    .features {
        gap: 12px;
    }

    .feature-icon {
        width: 42px;
        height: 42px;
        font-size: 1rem;
        border-radius: 10px;
    }

    .feature-label {
        font-size: 0.65rem;
        max-width: 65px;
    }

    .updating-screen {
        max-width: 300px;
    }

    .screen-frame {
        padding: 30px 20px;
        border-radius: 14px;
    }

    .gear-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .screen-content h3 {
        font-size: 0.9rem;
        letter-spacing: 3px;
    }

    .screen-content h2 {
        font-size: 1.6rem;
        letter-spacing: 4px;
    }

    .screen-content p {
        font-size: 0.75rem;
        letter-spacing: 3px;
    }

    .construction-elements {
        gap: 12px;
        margin-top: 18px;
    }

    .cone i {
        font-size: 1.8rem;
    }

    .barrier {
        padding: 6px 15px;
    }

    .barrier-stripe {
        width: 15px;
        height: 6px;
    }

    .website-card {
        padding: 20px;
        border-radius: 12px;
    }

    .globe-icon {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }

    .card-value {
        font-size: 0.95rem;
    }

    .social-card {
        padding: 18px 20px;
        border-radius: 12px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .social-handle {
        font-size: 0.9rem;
    }

    .social-desc {
        font-size: 0.73rem;
    }

    .footer-social a {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    .footer-tags {
        gap: 8px;
    }

    .footer-tags span {
        font-size: 0.6rem;
        letter-spacing: 1.5px;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .countdown-item {
        min-width: 52px;
        padding: 8px 8px;
    }

    .count-number {
        font-size: 1.2rem;
    }

    .countdown-separator {
        font-size: 1.2rem;
    }

    .main-title {
        font-size: 1.25rem;
    }

    .features {
        gap: 8px;
    }

    .feature-icon {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    .feature-label {
        font-size: 0.6rem;
        max-width: 55px;
    }
}

/* Loading animation for page */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Hover glow effect on interactive elements */
.social-card::after,
.website-card::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, transparent 40%, rgba(230, 57, 70, 0.1) 50%, transparent 60%);
    background-size: 200% 200%;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: -1;
}

.social-card:hover::after,
.website-card:hover::after {
    opacity: 1;
    animation: shimmer 2s linear infinite;
}

/* Smooth scroll indicator */
@media (min-height: 900px) {
    .hero {
        min-height: 60vh;
    }
}

/* Print styles */
@media print {
    .bg-particles,
    body::before,
    body::after {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}
