@font-face {
    font-family: 'Inter';
    src: url('fonts/inter-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('fonts/inter-medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Cormorant Infant';
    src: url('fonts/cormorant-infant-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Cormorant Infant';
    src: url('fonts/CormorantInfant-Bold.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #0a0a0a;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: #ffffff;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url('images/texture.svg'),
        linear-gradient(to bottom right, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.8) 100%);
    background-repeat: repeat, no-repeat;
    background-attachment: fixed, fixed;
    z-index: -1;
}

.container {
    background: #111111;
    max-width: 700px;
    width: 100%;
    padding: 60px 50px;
    border: 3px solid transparent;
    border-image: linear-gradient(227deg,#e2af40 16.09%,#e9bc60 23.06%,#f5d294 35.68%,#fce0b4 45.19%,#ffe5c0 50.43%,#fadba9 56.98%,#edc370 70.57%,#e0aa34 83.4%) 1;
}

h1 {
    text-align: center;
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 2em;
    font-weight: 600;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    font-family: 'Cormorant Infant', serif;
}

.subtitle {
    text-align: center;
    color: #888888;
    margin-bottom: 50px;
    font-size: 0.95em;
    font-weight: 400;
}

h2 {
    color: #ffffff;
    margin: 40px 0 25px;
    padding-bottom: 12px;
    border-bottom: 1px solid #333333;
    font-size: 1.1em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

h2:first-of-type {
    margin-top: 0;
}

.form-group {
    margin-bottom: 24px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #aaaaaa;
    font-weight: 500;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

label .hint {
    font-size: .65em;
    text-transform: none;
    font-weight: 300;
}

.required::after {
    content: " *";
    color: #ff4444;
}

input, textarea, select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #333333;
    background: #0a0a0a;
    color: #ffffff;
    font-size: 0.95em;
    transition: all 0.2s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #ffd700;
    background: #111111;
}

select {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23ffffff' d='M6 8 0 0h12z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

input::placeholder, textarea::placeholder {
    color: #555555;
}

textarea { 
    resize: vertical; 
    min-height: 80px; 
}

.row { 
    display: flex; 
    gap: 20px; 
}

.row .form-group { 
    flex: 1; 
}

.captcha-input {
    max-width: 140px;
    text-align: center;
    letter-spacing: 2px;
}

.consent-box {
    background: #0a0a0a;
    border: 1px solid #333333;
    padding: 25px;
    margin: 40px 0;
}

.consent-box h3 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.consent-box p {
    color: #aaaaaa;
    line-height: 1.7;
    font-size: 0.9em;
    margin-bottom: 12px;
}

.consent-box p:last-child {
    margin-bottom: 0;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: #ffd700;
    cursor: pointer;
}

.checkbox-group label {
    font-weight: 500;
    color: #ffffff;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 0;
}

button {
    width: 100%;
    padding: 16px;
    background: #ffd700;
    color: #0a0a0a;
    border: none;
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    margin-top: 30px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.2s ease;
}

button:hover {
    background: #ffed4e;
}

.error {
    background: rgba(255, 68, 68, 0.1);
    color: #ff4444;
    padding: 14px 16px;
    margin-bottom: 25px;
    border-left: 3px solid #ff4444;
    font-weight: 500;
}

@media (max-width: 768px) {
    .container {
        padding: 40px 30px;
    }
    
    h1 {
        font-size: 1.6em;
    }
    
    .row {
        flex-direction: column;
        gap: 0;
    }
}
