/* =================================================
   PREMIUM CONTACT CSS
   GameMarket 2026
   Ortada markazlangan, hover & gradient
================================================= */

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0d0d0d;
    color: #fff;
    line-height: 1.6;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    min-height: 100vh; /* ekranning to‘liq balandligi */
    display: flex;
    flex-direction: column;
    justify-content: center; /* vertikal markazlash */
    align-items: center;     /* gorizontal markazlash */
    padding: 40px 20px;
    text-align: center;
}

.contact-section h1 {
    font-size: 2.8rem;
    color: #ff4c00;
    margin-bottom: 10px;
    text-shadow: 1px 1px 6px rgba(255,76,0,0.6);
    animation: fadeInUp 1s ease forwards;
}

.contact-section p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #ccc;
    animation: fadeInUp 1.2s ease forwards;
}

/* ===== CONTACT OPTIONS ===== */
.contact-options {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px; /* kartalar orasidagi bo‘shliq */
    flex-wrap: wrap;
}

/* ===== CONTACT CARD ===== */
.contact-card {
    background: #1b1b1b;
    border-radius: 18px;
    padding: 30px 25px;
    width: 220px;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #ff4c00, #ffb84c);
    opacity: 0.05;
    z-index: 0;
}

.contact-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 35px rgba(255,76,0,0.4);
}

/* ===== ICONS ===== */
.contact-card i {
    font-size: 2.5rem;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #ff4c00, #ffb84c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.4s ease;
    z-index: 1;
}

.contact-card:hover i {
    transform: scale(1.2) rotate(12deg);
}

/* ===== CARD HEADINGS ===== */
.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #fff;
    z-index: 1;
    position: relative;
}

.contact-card p {
    font-size: 0.95rem;
    color: #ccc;
    z-index: 1;
    position: relative;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px);}
    100% { opacity: 1; transform: translateY(0);}
}

/* ===== RESPONSIVE ===== */
@media(max-width: 768px){
    .contact-options {
        flex-direction: column;
        gap: 20px;
    }

    .contact-card {
        width: 200px;
        padding: 25px 20px;
    }

    .contact-card i {
        font-size: 2.2rem;
    }

    .contact-section h1 {
        font-size: 2.4rem;
    }

    .contact-section p {
        font-size: 1rem;
    }
}

/* ===== MICRO-HOVER EFFECTS ===== */
.contact-card::after {
    content: '';
    position: absolute;
    inset: -50%;
    background: rgba(255,255,255,0.03);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.contact-card:hover::after {
    inset: -10%;
}
/* EMAIL va boshqa kartalar uchun matn ixcham qilish */
.contact-card h3 {
    font-size: 1.1rem;       /* kichikroq font */
    word-break: break-word;   /* uzun matnni keyingi qatordan boshlash */
    text-align: center;
    margin-bottom: 6px;
}

.contact-card p {
    font-size: 0.85rem;      /* kichikroq p yozuv */
    color: #ccc;
    text-align: center;
    line-height: 1.2;
    word-break: break-word;
}

/* Mobil uchun yanada ixcham */
@media(max-width:768px){
    .contact-card h3 {
        font-size: 1rem;
    }
    .contact-card p {
        font-size: 0.8rem;
    }
    .contact-card { width: 200px; padding: 20px 15px; }
}
/* ORQAGA TUGMASI */
.back-btn {
    margin-top: 40px;
    text-align: center;
}

.back-btn a {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #ff4c00, #ffb84c);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 76, 0, 0.3);
}

.back-btn a:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 76, 0, 0.5);
    background: linear-gradient(135deg, #ffb84c, #ff4c00);
}