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


body {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at top,
            #171321 0%,
            #0b0a0f 45%,
            #09090c 100%
        );

    color: #ffffff;

    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}


/* HEADER */

.header {
    max-width: 1160px;

    margin: 0 auto;

    padding: 34px 28px 28px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


.brand {
    display: flex;

    align-items: center;

    gap: 16px;
}


.brand-icon {
    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #7c3aed,
            #5b21b6
        );

    font-size: 25px;

    box-shadow:
        0 10px 30px
        rgba(124, 58, 237, 0.25);
}


.brand h1 {
    font-size: 28px;

    font-weight: 750;

    letter-spacing: -0.5px;
}


.brand p {
    margin-top: 5px;

    color: #92909e;

    font-size: 14px;
}


/* LOGIN */

.login-button {
    border: 1px solid #383541;

    background: #15141b;

    color: #ffffff;

    padding: 11px 18px;

    border-radius: 9px;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    transition: 0.2s ease;
}


.login-button:hover {
    border-color: #7c3aed;

    background: #1b1824;
}


/* MAIN */

.container {
    max-width: 1160px;

    margin: 0 auto;

    padding: 0 28px 60px;
}


/* GENERATOR */

.generator-grid {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 24px;
}


.control-panel,
.output-panel {
    background: rgba(19, 18, 24, 0.92);

    border: 1px solid #302e39;

    border-radius: 18px;

    padding: 26px;

    box-shadow:
        0 18px 50px
        rgba(0, 0, 0, 0.22);
}


.control-panel label {
    display: block;

    margin-bottom: 9px;

    color: #d9d6e4;

    font-size: 14px;

    font-weight: 700;
}


textarea,
select {
    width: 100%;

    border: 1px solid #3a3743;

    outline: none;

    background: #0b0a0f;

    color: #ffffff;

    border-radius: 11px;

    font-family: inherit;

    font-size: 14px;

    transition: 0.2s ease;
}


textarea {
    min-height: 132px;

    padding: 14px;

    resize: vertical;

    line-height: 1.5;

    margin-bottom: 22px;
}


textarea::placeholder {
    color: #666371;
}


textarea:focus,
select:focus {
    border-color: #7c3aed;

    box-shadow:
        0 0 0 3px
        rgba(124, 58, 237, 0.12);
}


.settings-row {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 14px;

    margin-bottom: 22px;
}


.setting-group select {
    height: 48px;

    padding: 0 13px;

    cursor: pointer;
}


/* GENERATE */

.generate-button {
    width: 100%;

    height: 48px;

    border: none;

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            #7c3aed,
            #9333ea
        );

    color: #ffffff;

    font-size: 14px;

    font-weight: 750;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}


.generate-button:hover {
    transform: translateY(-1px);

    box-shadow:
        0 10px 25px
        rgba(124, 58, 237, 0.28);
}


.generate-button:disabled {
    cursor: not-allowed;

    opacity: 0.55;

    transform: none;

    box-shadow: none;
}


/* STATUS */

.status {
    min-height: 20px;

    margin-top: 14px;

    color: #a8a5b2;

    font-size: 13px;

    line-height: 1.45;

    text-align: center;
}


.status.error {
    color: #ff7b8b;
}


.status.success {
    color: #8ee6b0;
}


/* OUTPUT */

.output-panel {
    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    min-height: 590px;
}


.video-placeholder {
    width: 100%;

    min-height: 500px;

    border-radius: 13px;

    background: #08080c;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 30px;
}


.video-icon {
    font-size: 43px;

    margin-bottom: 22px;
}


.video-placeholder h2 {
    font-size: 19px;

    margin-bottom: 9px;
}


.video-placeholder p {
    color: #7e7b89;

    font-size: 14px;
}


.video-player {
    width: 100%;

    max-height: 500px;

    border-radius: 13px;

    background: #000000;

    display: block;
}


.download-button {
    width: 100%;

    margin-top: 14px;

    height: 46px;

    border: 1px solid #403b4c;

    border-radius: 10px;

    background: #17151e;

    color: #ffffff;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    transition: 0.2s ease;
}


.download-button:hover {
    background: #211d2c;

    border-color: #7c3aed;
}


/* EXAMPLES */

.examples {
    margin-top: 48px;
}


.examples h2 {
    font-size: 22px;

    margin-bottom: 18px;
}


.example-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 14px;
}


.example-card {
    min-height: 120px;

    border: 1px solid #302e39;

    border-radius: 14px;

    background: #131219;

    color: #ffffff;

    padding: 18px;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    justify-content: space-between;

    gap: 15px;

    text-align: left;

    cursor: pointer;

    transition: 0.2s ease;
}


.example-card:hover {
    transform: translateY(-2px);

    border-color: #6d38c8;

    background: #17151f;
}


.example-icon {
    font-size: 25px;
}


.example-card span:last-child {
    font-size: 14px;

    font-weight: 650;

    color: #d6d3df;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .generator-grid {
        grid-template-columns: 1fr;
    }

    .output-panel {
        min-height: 500px;
    }

    .example-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }
}


@media (max-width: 600px) {

    .header {
        padding: 24px 18px;

        align-items: flex-start;

        flex-direction: column;
    }

    .container {
        padding: 0 18px 40px;
    }

    .control-panel,
    .output-panel {
        padding: 18px;
    }

    .settings-row {
        grid-template-columns: 1fr;
    }

    .example-grid {
        grid-template-columns: 1fr;
    }

    .brand h1 {
        font-size: 23px;
    }

    .login-button {
        width: 100%;
    }
}