﻿/* ==========================================================================
   Ligat Ha'al - Registration Page 
   Theme: Dark Football Luxury + Golden Premium Header
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700;900&display=swap');

:root {
    --accent-gold: #d4af37;
    --accent-green: #00ff41;
}

/* עיצוב כללי לעמוד */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    font-family: 'Assistant', 'Segoe UI', sans-serif;
    background-color: #0f1012;
    padding: 20px;
    background-image: url('../../images/IMG_0234.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    direction: ltr;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

    body::before {
        content: "";
        position: fixed;
        inset: 0;
        background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.85) 100%);
        z-index: -1;
    }

.glowing-wave-header {
    font-size: clamp(42px, 8vw, 80px); /* גודל אדפטיבי למסכים שונים */
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 12px;
    margin: 60px 0;
    /* גרדיאנט מוזהב עם אפקט מתכתי */
    background: linear-gradient( to bottom, #ffffff 0%, var(--accent-gold) 50%, #8a6d3b 100% );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* צללים ליצירת עומק תלת-ממדי */
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.8));
    position: relative;
    animation: titleEntrance 1.5s ease-out;
}

    /* אפקט נצנוץ שעובר על הטקסט */
    .glowing-wave-header::before {
        content: attr(data-text); /* דורש להוסיף data-text="LIGAT HA'AL" ב-HTML */
        position: absolute;
        inset: 0;
        background: linear-gradient( 45deg, transparent 45%, rgba(255, 255, 255, 0.6) 50%, transparent 55% );
        background-size: 200% 100%;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: shine 4s infinite linear;
        z-index: 1;
    }

    /* פס תחתון מעוצב (The Wave) */
    .glowing-wave-header::after {
        content: "";
        display: block;
        width: 100px;
        height: 5px;
        background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
        margin: 20px auto;
        border-radius: 50px;
        box-shadow: 0 0 20px var(--accent-gold);
        transition: width 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .glowing-wave-header:hover::after {
        width: 400px;
    }

/* --- אנימציות --- */
@keyframes titleEntrance {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
        letter-spacing: 25px;
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        letter-spacing: 12px;
    }
}

@keyframes shine {
    0% {
        background-position: -100% 0;
    }

    100% {
        background-position: 100% 0;
    }
}

/* --- עיצוב הטופס (זכוכית כהה) --- */
.form-wrapper {
    background: rgba(30, 32, 38, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    width: 800px;
    max-width: 90%;
    box-sizing: border-box;
    margin: 40px auto;
    direction: rtl;
    text-align: right;
    color: #ffffff;
}

h1 {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 30px;
}

table {
    width: 100%;
    table-layout: fixed;
    border-spacing: 0 15px;
}

td:first-child, th {
    text-align: right;
    font-size: 18px;
    padding: 10px;
    font-weight: bold;
    color: var(--accent-gold); /* תוויות בזהב */
    width: 30%;
    vertical-align: middle;
}

input[type="text"],
input[type="password"],
input[type="email"],
select,
.form-control {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 16px;
    direction: rtl;
    transition: all 0.3s ease;
}

    input:focus, select:focus {
        border-color: var(--accent-green);
        background: rgba(255, 255, 255, 0.08);
        box-shadow: 0 0 10px rgba(0, 255, 65, 0.2);
        outline: none;
    }

input[type="submit"], input[type="reset"], input[type="button"] {
    width: 100%;
    padding: 14px;
    background-color: #2e7d32;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s ease;
}

    input[type="submit"]:hover {
        background-color: var(--accent-green);
        color: #000;
        transform: scale(1.02);
        box-shadow: 0 0 20px rgba(0, 255, 65, 0.4);
    }

/* --- פוטר (מודבק לתחתית הדף) --- */
footer, .footer {
    margin-top: auto;
    width: 100%;
    text-align: center;
    padding: 20px 0;
    background: rgba(15, 16, 18, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
