*{
    box-sizing:border-box;
}

body{
    font-family:Segoe UI,Arial;
    background:linear-gradient(180deg,#6b8fbf,#8b7cf6,#4f46e5);
    margin:0;
    color:white;
}

.hero{
    text-align:center;
    margin-bottom:32px 0 18px;
}

.hero-title{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:18px;
}

.hero-icon{
    width:62px;
    height:auto;
}

.hero h1{
    margin:0;
    font-size:46px;
    color:#0f0f11;
    line-height:1.1;
}

.subtitle{
    font-size:18px;
    margin-top:6px;
    color:#0f0f11;
    opacity:0.85;
}

.note{
    max-width:760px;
    margin:18px auto 0;
    text-align:center;
    line-height:1.6;
}

.top-layout{
    max-width:1100px;
    margin:0 auto 30px;
}

        /* CONTAINER */
        .container {
            max-width: 1200px;
            margin: auto;
            padding: 30px 20px;
        }

        /* TYPO */
        h1 {
            text-align: center;
            font-size: 42px;
            margin-bottom: 10px;
            color: #0f0f11;
        }

        .subtitle {
            text-align: center;
            font-size: 18px;
            margin-bottom: 10px;
            color: #0f0f11;
        }

        .note {
            text-align: center;
            font-size: 14px;
            margin-bottom: 20px;
            opacity: 0.9;
            color: #0f0f11;
        }

        /* PANELS */
.panel{
    background:rgba(15,23,42,0.88);
    padding:18px;
    border-radius:16px;
    margin-bottom:18px;
    box-shadow:0 8px 24px rgba(0,0,0,0.25);
}

.panel h3 {
    margin-top: 0;
    margin-bottom: 14px;
    font-size:24px;
}

        /* GRID */
.grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;
    margin-top:24px;
    align-items:start;
}

        /* INPUTS */
        label {
            display: block;
            font-size: 13px;
            margin-top: 6px;
            opacity: 0.85;
        }

select,
input,
textarea{
    width:100%;
    padding:10px 14px;
    margin-top:6px;
    margin-bottom:12px;
    border-radius:10px;
    border:none;
    font-size:15px;
    background:rgba(255,255,255,0.92);
    color:#0f172a;
}

        /* PROMPT */
        .prompt-area {
            max-width: 1000px;
            margin: 0 auto;
            text-align: center;
        }

        /* BUTTON ROWS */
        .button-row{
            display:flex;
            justify-content:center;
            flex-wrap:wrap;
            gap:10px;
            margin-bottom:12px;
        }

        /* BUTTONS */
        button{
            padding:12px 18px;
            border:none;
            border-radius:10px;
            cursor:pointer;
            font-weight:600;
            transition:all 0.2s ease;
        }

        button:hover{
            transform:translateY(-1px);
            opacity:0.96;
        }

        button:active{
            transform:translateY(0);
        }

        .generate {
            background: #ffffff;
            color: #0f172a;
        }

        .lock {
            background: #f59e0b;
            color: #0f172a;
        }

        .save {
            background: #FFD700;
            color: #0f172a;
        }

        .copy {
            background: #14f1d9;
            color: #0f172a;
        }

        textarea {
            height: 200px;
        }

        /* FOOTER */
        .footer {
            text-align: center;
            margin-top: 40px;
            font-size: 14px;
            opacity: 0.8;
            color: #0f0f11;
        }

/* =========================
   MOBILE
========================= */

@media(max-width:768px){

    .container{
        padding:20px 14px 50px;
    }

    .hero{
        padding:18px 0 12px;
    }

    .hero-title{
        flex-direction:column;
        gap:10px;
    }

    .hero-icon{
        width:52px;
    }

    .hero h1{
        font-size:32px;
        text-align:center;
    }

    .subtitle{
        font-size:16px;
        text-align:center;
    }

    .note{
        font-size:13px;
        padding:0 4px;
    }

    .grid{
        grid-template-columns:1fr;
        gap:14px;
    }

    .panel{
        padding:16px;
    }

    select,
    input,
    textarea{
        font-size:14px;
        padding:10px 12px;
    }

    textarea{
        height:180px;
    }

    .button-row{
        flex-direction:column;
        align-items:stretch;
        gap:10px;
    }

    button{
        width:100%;
    }

    .footer{
        font-size:12px;
        line-height:1.5;
    }

}