/* --------------------------------------------------
   GLOBAL VARIABLES
-------------------------------------------------- */
:root {
    --primary: #7b5cff;
    --rainbow: linear-gradient(90deg, #ff6ec7, #7b5cff, #00eaff, #00ff9d);
    --bg: #0d0f12;
    --card-bg: rgba(255,255,255,0.06);
    --text: #e6e6e6;
    --radius: 14px;
}

/* --------------------------------------------------
   BASE STYLES
-------------------------------------------------- */
body {
    margin: 0;
    font-family: 'Roboto', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
}

p {
	line-height:1.4;
    }

h2 {
    font-size: 26px;
    margin-top: 0;
	margin-bottom:30px;
    background: var(--rainbow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
	text-align: center;
	line-height:1.4;
}

/* --------------------------------------------------
   HEADER
-------------------------------------------------- */
header {
    text-align: center;
    padding: 17px 20px 20px 20px;
    background: var(--rainbow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

header .logo {
    line-height: 0;
    margin: 0;
    padding: 0;
}

header h1 {
    margin: 0;
    font-size: 42px;
    font-weight: 700;
}

/* --------------------------------------------------
   MAIN CARD
-------------------------------------------------- */
main {
    max-width: 900px;
    margin: 0 auto 20px auto;
    background: var(--card-bg);
    padding: 30px 40px;
    border-radius: var(--radius);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 0 40px rgba(0,0,0,0.4);
}

.output-page {
    text-align: center;
}


/* --------------------------------------------------
   BUTTONS & LINKS
-------------------------------------------------- */
a.button,
.download-btn,
button {
    display: inline-block;
    padding: 14px 24px;
    background: var(--rainbow);
    color: #000;
    text-decoration: none;
    border-radius: var(--radius);
    font-size: 17px;
    font-weight: 600;
    box-shadow: 0 0 12px rgba(255,255,255,0.2);
    cursor: pointer;
}

a.button:hover,
.download-btn:hover,
button:hover {
    opacity: 0.85;
}

/* --------------------------------------------------
   FORMS
-------------------------------------------------- */
input,
select {
    padding: 12px;
    width: 100%;
    margin-bottom: 18px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
    color: var(--text);
    font-size: 16px;
    box-sizing: border-box;
}

input[type="file"] {
    background: rgba(255,255,255,0.15);
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: none !important;
    box-shadow: none !important;
}

select option {
    color: #000 !important;
    background: #fff !important;
}

.hint {
    margin-top: -10px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #bbb;
    opacity: 0.85;
    background: rgba(255,255,255,0.05);
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
}
.hint strong {
    color: #fff;
}


/* --------------------------------------------------
   IMAGES
-------------------------------------------------- */
img {
    max-width: 100%;
    border-radius: var(--radius);
    display: block;
    margin: 0 auto;
}

/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */
footer {
    text-align: center;
    padding: 0 10px 20px 10px;
    color: #777;
    font-size: 14px;
}

/* --------------------------------------------------
   RESPONSIVE
-------------------------------------------------- */
@media (max-width: 1000px) {
    main {
        margin: 0 20px 20px 20px;
        padding: 15px 25px;
    }
}

@media (max-width: 600px) {
    p {
        font-size: 18px;
		line-height:1.35;
    }
	h2 {
    font-size: 30px;
	margin-bottom:12px;
	line-height:1.3;
}
}
