:root {
    --bg-dark: #120c08;
    --card-bg: #1c140e;
    --gold-primary: #d4a359;
    --gold-light: #f5d796;
    --gold-accent: #8c622b;
    --text-main: #e8d8c8;
    --text-muted: #a08c78;
    --border-color: #3d2a1b;
    --input-bg: #120c08;
    --success: #4CAF50;
    --error: #f44336;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

a {
    outline-offset: 2px;
}

:focus-visible {
    outline: 2px solid var(--gold-primary);
    outline-offset: 2px;
}

header {
    text-align: center;
    padding: 40px 20px 20px;
    width: 100%;
    max-width: 1200px;
}

.logo-container {
    margin-bottom: 15px;
}

.logo-container img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid var(--gold-primary);
    box-shadow: 0 0 25px rgba(212, 163, 89, 0.25);
    object-fit: cover;
}

h1 {
    font-size: 2.5rem;
    color: var(--gold-light);
    letter-spacing: 3px;
    margin: 10px 0 5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    text-transform: uppercase;
}

p.subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 0;
}

.back-link {
    color: var(--gold-primary);
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
}

.back-link:hover,
.back-link:focus-visible {
    text-decoration: underline;
}

.divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    width: 80%;
    max-width: 600px;
    margin: 20px auto 30px;
}

.section-title {
    color: var(--gold-light);
    font-size: 1.5rem;
    margin: 30px 0 15px;
    width: 90%;
    max-width: 900px;
    border-left: 4px solid var(--gold-primary);
    padding-left: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 95%;
    max-width: 1250px;
    padding-bottom: 50px;
    align-items: stretch;
}

.grid.media-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    max-width: 900px;
    padding-bottom: 20px;
}

@media (max-width: 1100px) {
    .grid:not(.media-grid) {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .grid {
        grid-template-columns: 1fr;
    }
    .logo-container img {
        width: 140px;
        height: 140px;
    }
    h1 {
        font-size: 1.8rem;
        letter-spacing: 1.5px;
    }
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s, border-color 0.2s;
    height: 100%;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--gold-primary);
}

@media (prefers-reduced-motion: reduce) {
    .card {
        transition: none;
    }
    .card:hover {
        transform: none;
    }
}

.card h3 {
    color: var(--gold-primary);
    margin-top: 0;
    font-size: 1.2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.card p {
    color: var(--text-main);
    font-size: 0.9rem;
    line-height: 1.4;
    flex-grow: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.field-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: -4px;
}

input[type="text"] {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background-color: var(--input-bg);
    color: var(--text-main);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}

input[type="text"]:focus {
    border-color: var(--gold-primary);
}

input.invalid {
    border-color: var(--error);
}

.field-error {
    font-size: 0.78rem;
    color: var(--error);
    min-height: 14px;
}

.btn {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-accent));
    color: #0d0805;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: opacity 0.2s, transform 0.1s;
    text-align: center;
    text-decoration: none;
    margin-top: 10px;
    display: inline-block;
}

.btn:hover {
    opacity: 0.9;
}

.btn:active {
    transform: scale(0.98);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn.btn-soon {
    background: var(--card-bg);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    cursor: default;
}

#responseMsg {
    margin-top: 8px;
    font-size: 0.85rem;
    font-weight: bold;
    min-height: 15px;
}

.media-box {
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
    background-color: #000;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-box img, .media-box video {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    display: block;
}

.footer-note {
    margin-top: auto;
    padding: 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
    width: 100%;
}

.footer-note a {
    color: var(--gold-primary);
    text-decoration: none;
    font-weight: bold;
}
