/* فونت لندینگ – مسیر از داخل assets/css به fonts */
@font-face {
    font-family: 'BYekan';
    src: url('../fonts/BYekan.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* ریست و فونت عمومی همین صفحه */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'BYekan', sans-serif;
}

body {
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    background: #020617;
    color: #f9fafb;
}

/* پس‌زمینه فول‌اسکرین با تصویر */
.bg {
    position: fixed;
    inset: 0;
    background-image: url('../images/futsal-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transform: scale(1.02);
    filter: brightness(0.85) saturate(1.1) contrast(1.1);
    z-index: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .bg {
        background-attachment: scroll;
        background-position: center center;
        transform: scale(1);
    }
}

/* لایه نئونی تیره برای خوانایی */
.overlay {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at top, rgba(14,165,233,0.25), transparent 60%),
        radial-gradient(circle at bottom, rgba(34,197,94,0.25), transparent 55%),
        linear-gradient(to bottom, rgba(15,23,42,0.98), rgba(15,23,42,0.9));
    z-index: 1;
}

/* محتوای متن + دکمه */
.content {
    position: relative;
    z-index: 2;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-right: 10%;
    padding-left: 10%;
    text-align: right;
    gap: 40px;
}

.welcome-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 600px;
}

@media (max-width: 1024px) {
    .content {
        padding-right: 8%;
        padding-left: 8%;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .content {
        padding-right: 5%;
        padding-left: 5%;
        align-items: center;
        text-align: center;
        gap: 25px;
    }
    .welcome-text {
        max-width: 100%;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .content {
        padding-right: 4%;
        padding-left: 4%;
        gap: 20px;
    }
}

h1 {
    font-size: 52px;
    font-weight: 900;
    color: #00f0ff;
    margin: 0;
    text-shadow:
        0 0 20px rgba(0,240,255,0.8),
        0 0 40px rgba(56,189,248,0.6),
        0 0 10px rgba(0,0,0,0.9);
    letter-spacing: 0.5px;
    line-height: 1.4;
    opacity: 0;
    animation: slideUp 0.8s ease-out forwards;
}

@media (max-width: 1024px) {
    h1 {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 24px;
    }
}

/* دکمه گلو سبز/آبی فوتسالی */
.btn-enter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    padding: 14px 48px;
    background: linear-gradient(135deg, #0ea5e9, #00f0ff, #22c55e);
    color: #020617;
    border-radius: 12px;
    border: 2px solid rgba(56,189,248,0.5);
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow:
        0 0 20px rgba(34,197,94,0.8),
        0 0 40px rgba(14,165,233,0.8),
        inset 0 0 20px rgba(255,255,255,0.1);
    transition: all .25s ease;
    opacity: 0;
    animation: fadeIn 1.2s ease-out forwards;
    cursor: pointer;
    min-height: 50px;
}

.btn-enter:hover {
    transform: translateY(-4px) scale(1.05);
    filter: brightness(1.15);
    box-shadow:
        0 0 30px rgba(34,197,94,1),
        0 0 50px rgba(14,165,233,1),
        0 10px 30px rgba(0,0,0,0.4),
        inset 0 0 25px rgba(255,255,255,0.15);
}

.btn-enter:active {
    transform: translateY(-1px) scale(0.98);
}

@media (max-width: 768px) {
    .btn-enter {
        font-size: 16px;
        padding: 12px 40px;
        min-height: 46px;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .btn-enter {
        font-size: 14px;
        padding: 11px 32px;
        min-height: 44px;
        border-radius: 8px;
    }
}

.subtitle {
    font-size: 17px;
    color: #cbd5f5;
    margin: 0;
    margin-top: 16px;
    text-shadow: 
        0 0 10px rgba(15,23,42,0.9),
        0 0 15px rgba(14,165,233,0.3);
    letter-spacing: 0.3px;
    line-height: 1.6;
    opacity: 0;
    animation: slideUp 1.2s ease-out forwards;
}

@media (max-width: 1024px) {
    .subtitle {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .subtitle {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .subtitle {
        font-size: 11px;
        margin-top: 12px;
    }
}

/* انیمیشن‌ها */
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
