/* ============================
   Askhodjaev MUN — Минимализм
   ============================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #fff;
    color: #000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---- Секции ---- */
.section {
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    position: relative;
}

/* ============================
   Hero
   ============================ */
.hero {
    min-height: 80vh;
    text-align: center;
    gap: 0;
}

.hero-question {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
}

.hero-prove {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 0;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.15s forwards;
}

.hero-prize {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-top: -5px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.3s forwards;
}

.prize-amount {
    font-size: clamp(4rem, 14vw, 10rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.prize-currency {
    font-size: clamp(1rem, 3vw, 1.8rem);
    font-weight: 400;
    opacity: 0.6;
    align-self: flex-end;
    margin-bottom: 0.15em;
}

.hero-sub {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 300;
    margin-top: 10px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.45s forwards;
}

.hero-footer {
    position: absolute;
    bottom: 40px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.6s forwards;
}

.hero-footer strong {
    font-weight: 700;
}

.hero-support {
    font-size: 0.7rem;
    opacity: 0.5;
    margin-top: 2px;
}

/* ============================
   About
   ============================ */
.about {
    text-align: center;
    gap: 24px;
}

.about-label {
    font-size: clamp(0.75rem, 2vw, 0.9rem);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.4;
}

.about-count {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
}

.about-topic {
    max-width: 600px;
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    font-weight: 300;
    line-height: 1.7;
    opacity: 0.7;
}

/* ============================
   Prizes
   ============================ */
.prizes {
    gap: 40px;
}

.section-title {
    font-size: clamp(0.7rem, 1.5vw, 0.85rem);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.35;
}

.prize-card {
    text-align: center;
}

.prize-card-amount {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.prize-card-label {
    font-size: clamp(0.85rem, 2vw, 1rem);
    font-weight: 300;
    opacity: 0.5;
    margin-top: 4px;
}

/* ============================
   Details
   ============================ */
.details {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 60px;
    padding-top: 100px;
    padding-bottom: 100px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.detail-item span:first-child {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.4;
}

.detail-item span:last-child {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 400;
    letter-spacing: -0.02em;
}

.detail-dot {
    display: none; /* Убираем точки */
}

@media (max-width: 768px) {
    .details {
        flex-direction: column;
        gap: 40px;
    }
}

.detail-links {
    margin-top: 20px;
}

.detail-links a {
    color: #000;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    border-bottom: 1px solid #000;
    padding-bottom: 2px;
    transition: opacity 0.2s ease;
}

.detail-links a:hover {
    opacity: 0.5;
}

/* ============================
   Statement
   ============================ */
.statement {
    text-align: center;
}

.statement-text {
    font-size: clamp(2rem, 7vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

/* ============================
   Apply Form
   ============================ */
.apply {
    gap: 40px;
    padding-bottom: 120px;
}

.apply-form {
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.4;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    background: transparent;
    font-size: 1.1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    outline: none;
    border-radius: 0;
}



.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-bottom-color: #000;
}

.field-note {
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.4;
    margin-top: 6px;
    line-height: 1.4;
}

.form-group select {
    cursor: pointer;
}

/* Checkbox styling */
.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.checkbox-container:hover {
    opacity: 0.7;
}

.checkbox-container input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    min-height: 18px !important;
    margin: 0;
    margin-top: 1px;
    cursor: pointer;
    accent-color: #000;
    border-bottom: none !important;
    padding: 0 !important;
}

.checkbox-text {
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.4;
    text-transform: none;
    letter-spacing: normal;
    opacity: 1;
    color: #333;
}

.submit-btn {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 16px 32px;
    background: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    letter-spacing: 0.02em;
    margin-top: 12px;
    transition: opacity 0.2s ease, transform 0.15s ease;
}

.submit-btn:hover {
    opacity: 0.8;
}

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

/* Success state */
.form-success {
    display: none;
    text-align: center;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.form-success.show {
    display: flex;
}

.success-check {
    font-size: 3rem;
    font-weight: 300;
    line-height: 1;
}

.success-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.success-sub {
    font-size: 0.95rem;
    font-weight: 300;
    opacity: 0.5;
}

/* ============================
   Footer
   ============================ */
.footer {
    padding: 40px 24px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.3;
    border-top: 1px solid #eee;
}

.footer-support {
    margin-top: 4px;
    font-size: 0.7rem;
}

/* ============================
   Animations
   ============================ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================
   Responsive
   ============================ */
.rules-link {
    text-decoration: underline;
    cursor: pointer;
    font-weight: 500;
}

.rules-link:hover {
    opacity: 0.6;
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: #fff;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    position: relative;
    border: 1px solid #000;
    max-height: 85vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.8rem;
    font-weight: 200;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    opacity: 0.5;
}

.modal-title {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 25px;
    padding-right: 30px;
}

.modal-body {
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 300;
}

.rule-block {
    margin-bottom: 18px;
}

.rule-block h3 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
}

.rule-block p {
    opacity: 0.7;
}

@media (max-width: 480px) {
    .modal-content {
        padding: 25px 20px;
        width: 92%;
    }
}
