/* =========================================================
   WHYNOT WIFI
   YEŞİL + LATTE + ALTIN
========================================================= */

:root{

    --green:#4F8A5B;
    --green-light:#79A982;
    --green-dark:#315E3A;
    --green-deep:#23462B;

    --latte:#D2B69A;
    --latte-soft:#DEC7AF;
    --latte-light:#EAD8C6;
    --latte-cream:#F3E6D6;

    --gold:#C5A35B;
    --gold-light:#DEC27A;
    --gold-dark:#9F7D3E;

    --bg:#D2B69A;

    --card:#E3CBB4;
    --card-2:#EAD8C6;

    --text:#29402F;
    --text-soft:#6B6258;

    --accent:#4F8A5B;
    --accent-dark:#315E3A;

    --border:
        rgba(49,94,58,.16);

}


/* =========================================================
   RESET
========================================================= */

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}


html{

    min-height:100%;

}


body{

    min-height:100vh;

    font-family:
        "Poppins",
        sans-serif;

    background:

        radial-gradient(
            circle at 50% -5%,
            rgba(255,244,225,.55),
            transparent 38%
        ),

        radial-gradient(
            circle at 8% 90%,
            rgba(79,138,91,.13),
            transparent 34%
        ),

        radial-gradient(
            circle at 95% 65%,
            rgba(197,163,91,.10),
            transparent 30%
        ),

        var(--bg);

    color:
        var(--text);

}


/* =========================================================
   FORM FONT
========================================================= */

button,
input{

    font-family:inherit;

}


/* =========================================================
   SAYFA
========================================================= */

.wifi-page{

    min-height:100vh;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:
        25px;

    position:relative;

    overflow:hidden;

}


/* =========================================================
   ARKA PLAN DEKORLARI
========================================================= */

.wifi-page::before{

    content:"";

    position:absolute;

    width:430px;
    height:430px;

    top:-180px;
    right:-150px;

    border-radius:50%;

    background:

        radial-gradient(
            circle,
            rgba(79,138,91,.17),
            transparent 68%
        );

    pointer-events:none;

}


.wifi-page::after{

    content:"";

    position:absolute;

    width:360px;
    height:360px;

    bottom:-180px;
    left:-140px;

    border-radius:50%;

    background:

        radial-gradient(
            circle,
            rgba(197,163,91,.14),
            transparent 68%
        );

    pointer-events:none;

}


/* =========================================================
   WIFI KART
========================================================= */

.wifi-card{

    width:
        min(
            520px,
            100%
        );

    padding:
        48px 38px;

    text-align:center;

    position:relative;

    z-index:2;

    background:

        linear-gradient(
            145deg,
            rgba(255,247,235,.38),
            transparent 42%
        ),

        linear-gradient(
            180deg,
            rgba(227,203,180,.96),
            rgba(218,190,163,.96)
        );

    border:
        1px solid
        rgba(49,94,58,.17);

    border-radius:
        32px;

    box-shadow:

        0 30px 90px
        rgba(79,58,39,.16),

        inset
        0 1px 0
        rgba(255,255,255,.24);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);

}


/* HAFİF YEŞİL IŞIK */

.wifi-card::before{

    content:"";

    position:absolute;

    inset:0;

    border-radius:
        inherit;

    background:

        radial-gradient(
            circle at 50% 0%,
            rgba(79,138,91,.10),
            transparent 38%
        );

    pointer-events:none;

}


/* =========================================================
   WHYNOT BRAND
========================================================= */

.wifi-brand{

    display:block;

    position:relative;

    z-index:2;

    color:
        var(--gold-dark);

    font-size:10px;

    letter-spacing:5px;

    font-weight:600;

    margin-bottom:22px;

}


/* =========================================================
   WIFI ICON
========================================================= */

.wifi-icon{

    width:72px;
    height:72px;

    margin:
        0 auto 24px;

    position:relative;

    z-index:2;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:

        linear-gradient(
            145deg,
            rgba(79,138,91,.15),
            rgba(49,94,58,.08)
        );

    color:
        var(--green-dark);

    font-size:34px;

    border:
        1px solid
        rgba(49,94,58,.20);

    box-shadow:
        0 10px 30px
        rgba(49,94,58,.10);

}


/* =========================================================
   BAŞLIKLAR
========================================================= */

.wifi-card h1,
.wifi-card h2{

    position:relative;

    z-index:2;

    font-family:
        "DM Serif Display",
        serif;

    font-weight:400;

    color:
        var(--green-deep);

}


.wifi-card h1{

    font-size:50px;

}


.wifi-card h2{

    font-size:42px;

}


/* =========================================================
   AÇIKLAMALAR
========================================================= */

.wifi-card p{

    position:relative;

    z-index:2;

    color:
        var(--text-soft);

    line-height:1.7;

    font-size:12px;

    margin-top:12px;

}


/* =========================================================
   INPUT
========================================================= */

.wifi-input-wrapper{

    margin-top:28px;

    position:relative;

    z-index:2;

    display:flex;

    border:
        1px solid
        rgba(49,94,58,.16);

    border-radius:16px;

    background:
        rgba(239,220,200,.74);

    overflow:hidden;

    transition:
        border-color .3s ease,
        box-shadow .3s ease,
        background .3s ease;

}


.wifi-input-wrapper:focus-within{

    border-color:
        rgba(49,94,58,.58);

    background:
        rgba(244,228,211,.90);

    box-shadow:
        0 0 0 4px
        rgba(79,138,91,.08);

}


.wifi-input-wrapper input{

    flex:1;

    min-width:0;

    padding:
        16px 18px;

    border:none;

    outline:none;

    background:
        transparent;

    color:
        var(--green-deep);

    font-size:13px;

}


.wifi-input-wrapper input::placeholder{

    color:
        #817466;

}


/* =========================================================
   GÖZ BUTONU
========================================================= */

.eye-btn{

    width:52px;

    border:none;

    background:
        transparent;

    color:
        var(--green-dark);

    cursor:pointer;

    transition:
        .3s ease;

}


.eye-btn:hover{

    background:
        rgba(79,138,91,.08);

}


/* =========================================================
   ANA BUTONLAR
========================================================= */

.continue-btn,
.copy-btn{

    width:100%;

    margin-top:18px;

    padding:
        16px 18px;

    position:relative;

    z-index:2;

    border:none;

    border-radius:15px;

    background:

        linear-gradient(
            135deg,
            var(--green),
            var(--green-dark)
        );

    color:#fff;

    cursor:pointer;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    font-size:13px;

    font-weight:500;

    box-shadow:
        0 12px 28px
        rgba(49,94,58,.19);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        background .3s ease;

}


.continue-btn:hover,
.copy-btn:hover{

    background:

        linear-gradient(
            135deg,
            #5D9867,
            #284F31
        );

    transform:
        translateY(-2px);

    box-shadow:
        0 16px 34px
        rgba(49,94,58,.23);

}


/* =========================================================
   HATA
========================================================= */

.error-message{

    min-height:18px;

    color:
        #A34E48 !important;

    font-size:
        10px !important;

    margin-top:
        9px !important;

}


/* =========================================================
   WIFI SONUÇ
========================================================= */

.wifi-result{

    display:none;

}


.wifi-result.active{

    display:block;

    animation:
        resultReveal
        .5s ease;

}


@keyframes resultReveal{

    from{

        opacity:0;

        transform:
            translateY(15px);

    }

    to{

        opacity:1;

        transform:
            translateY(0);

    }

}


/* =========================================================
   SUCCESS
========================================================= */

.success-mini{

    display:block;

    position:relative;

    z-index:2;

    color:
        var(--gold-dark);

    font-size:9px;

    letter-spacing:3px;

    font-weight:600;

    margin-bottom:10px;

}


/* =========================================================
   WIFI BİLGİ KUTUSU
========================================================= */

.wifi-info-box{

    margin-top:28px;

    position:relative;

    z-index:2;

    border:
        1px solid
        rgba(49,94,58,.14);

    border-radius:20px;

    overflow:hidden;

    background:
        rgba(239,220,200,.75);

    box-shadow:
        inset
        0 1px 0
        rgba(255,255,255,.17);

}


.wifi-info-row{

    padding:18px;

    text-align:left;

    border-bottom:
        1px solid
        rgba(49,94,58,.11);

}


.wifi-info-row:last-child{

    border-bottom:none;

}


.wifi-info-row > span{

    display:block;

    color:
        var(--text-soft);

    font-size:9px;

    letter-spacing:.4px;

    margin-bottom:6px;

}


.wifi-info-row strong{

    color:
        var(--green-deep);

    font-size:13px;

    font-weight:600;

}


/* =========================================================
   ŞİFRE SATIRI
========================================================= */

.wifi-password-row{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:15px;

}


.wifi-password-row button{

    border:none;

    padding:
        6px 9px;

    border-radius:8px;

    background:
        rgba(79,138,91,.09);

    color:
        var(--green-dark);

    cursor:pointer;

    font-size:10px;

    transition:.3s ease;

}


.wifi-password-row button:hover{

    background:
        var(--green);

    color:#fff;

}


/* =========================================================
   COPY MESSAGE
========================================================= */

.copy-message{

    min-height:18px;

    font-size:
        10px !important;

    color:
        var(--green-dark) !important;

}


/* =========================================================
   ANA SAYFAYA DÖN
========================================================= */

.back-home{

    display:inline-block;

    position:relative;

    z-index:2;

    margin-top:28px;

    color:
        var(--text-soft);

    text-decoration:none;

    font-size:10px;

    transition:
        color .3s ease,
        transform .3s ease;

}


.back-home:hover{

    color:
        var(--green-dark);

    transform:
        translateX(-3px);

}


/* =========================================================
   ALTIN DETAY
========================================================= */

.wifi-card::after{

    content:"";

    position:absolute;

    left:50%;

    bottom:16px;

    width:50px;
    height:2px;

    transform:
        translateX(-50%);

    border-radius:10px;

    background:

        linear-gradient(
            90deg,
            transparent,
            var(--gold),
            transparent
        );

    opacity:.45;

}


/* =========================================================
   MOBİL
========================================================= */

@media(max-width:600px){

    .wifi-page{

        padding:
            18px;

    }


    .wifi-card{

        padding:
            38px 22px;

        border-radius:
            28px;

    }


    .wifi-card h1{

        font-size:
            43px;

    }


    .wifi-card h2{

        font-size:
            36px;

    }


    .wifi-icon{

        width:64px;
        height:64px;

        font-size:29px;

    }


    .wifi-input-wrapper input{

        padding:
            15px 15px;

    }


    .continue-btn,
    .copy-btn{

        padding:
            15px 16px;

    }

}


/* =========================================================
   ÇOK KÜÇÜK TELEFON
========================================================= */

@media(max-width:390px){

    .wifi-card{

        padding:
            34px 18px;

    }


    .wifi-card h1{

        font-size:
            38px;

    }


    .wifi-card h2{

        font-size:
            32px;

    }

}