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

:root {
    --primary: #96bf32;
    --primary-dark: #7a9e28;
    --primary-light: #a8d13c;
    --secondary: #5a5a5a;
    --accent: #96bf32;
    --success: #7bbc4b;
    --error: #c0392b;
    --warning: #f5a623;
    --bg-primary: #1a1a1a;
    --bg-secondary: rgba(30, 30, 30, 0.92);
    --bg-tertiary: #3d3d3d;
    --bg-card: #ffffff;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-muted: #999999;
    --text-on-dark: #e8e8e8;
    --border: #dddddd;
    --border-light: #eeeeee;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.4);
    --radius: 6px;
    --radius-sm: 4px;
    --transition: all 0.3s ease;
    --font-main: 'PT Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background:
        linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.55)),
        url('img/background/bg_kostyli.png') center/cover fixed;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    flex: 1;
}

.header {
    background: var(--bg-secondary);
    border-bottom: 3px solid var(--primary);
    padding: 0.75rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-on-dark);
    letter-spacing: -0.5px;
}

.menu-handler {
    display: flex;
    align-items: center;
}

.menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.menu a {
    color: var(--text-on-dark);
    text-decoration: none;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.menu a:hover,
.menu a.active {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

.menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.menu .right {
    margin-left: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    flex: 1;
    width: 100%;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 560px;
    width: 100%;
}

.hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #ffffff;
}

.hero-subtitle {
    color: var(--text-on-dark);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.form-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2.5rem;
    width: 100%;
    transition: var(--transition);
}

.form-container:hover {
    border-color: var(--primary);
}

.beta-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 0.9375rem;
}

.required {
    color: var(--error);
}

.form-group input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: #f5f5f5;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(150, 191, 50, 0.2);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group input.valid {
    border-color: var(--success);
}

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

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 3.5rem;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.toggle-password:hover {
    color: var(--primary);
}

.password-strength {
    margin-top: 0.5rem;
}

.strength-bar {
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    width: 0%;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.strength-fill.weak { width: 25%; background: var(--error); }
.strength-fill.fair { width: 50%; background: var(--warning); }
.strength-fill.good { width: 75%; background: #3b82f6; }
.strength-fill.strong { width: 100%; background: var(--success); }

.strength-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    display: block;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.125rem;
    accent-color: var(--primary);
    flex-shrink: 0;
}

.checkbox-group label {
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.5;
    cursor: pointer;
    color: var(--text-secondary);
}

.checkbox-group a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.checkbox-group a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.error-message {
    display: block;
    color: var(--error);
    font-size: 0.8125rem;
    margin-top: 0.375rem;
    min-height: 1.25rem;
    opacity: 0;
    transform: translateY(-4px);
    transition: var(--transition);
}

.error-message.visible {
    opacity: 1;
    transform: translateY(0);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(150, 191, 50, 0.3);
}

.btn-primary:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(150, 191, 50, 0.4);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-hint {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--text-on-dark);
    opacity: 0.6;
    margin-top: 0.75rem;
    transition: var(--transition);
}

.form-hint.hidden {
    opacity: 0;
    height: 0;
    margin: 0;
    overflow: hidden;
}

.btn-loader {
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.form-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.form-footer a {
    color: var(--primary);
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}

.benefits {
    margin-top: 2rem;
}

.benefits h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: #f9f9f9;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-align: left;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    transition: var(--transition);
}

.benefits-list li:hover {
    border-color: var(--primary);
    background: #f0f7e6;
    color: var(--text-primary);
    transform: translateX(4px);
}

.benefits-list svg {
    color: var(--success);
    flex-shrink: 0;
}

.footer {
    background: var(--bg-secondary);
    border-top: 3px solid var(--primary);
    padding: 1.5rem 2rem;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-on-dark);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.tg-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary) !important;
}

.tg-link:hover {
    color: var(--primary-dark) !important;
}

.copyright {
    font-size: 0.8125rem;
    color: var(--text-on-dark);
    opacity: 0.7;
}

.success-container {
    text-align: center;
    padding: 3rem 2rem;
    max-width: 560px;
    margin: 0 auto;
}

.success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(150, 191, 50, 0.3);
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.success-icon svg {
    width: 50px;
    height: 50px;
    color: white;
}

.success-container h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.success-message {
    font-size: 1.125rem;
    color: var(--text-on-dark);
    opacity: 0.9;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.success-message strong {
    color: #ffffff;
}

.tg-info {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: left;
}

.tg-info h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.tg-info p {
    color: var(--text-on-dark);
    opacity: 0.85;
    line-height: 1.7;
}

.tg-info a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.tg-info a:hover {
    text-decoration: underline;
}

.signature {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--text-on-dark);
    opacity: 0.6;
    font-style: italic;
}

.profile-container {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 2rem;
}

.profile-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    color: var(--text-primary);
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.profile-email {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.profile-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-on-dark);
    border: 1px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-danger {
    background: linear-gradient(135deg, var(--error) 0%, #a93226 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(192, 57, 43, 0.4);
}

.btn-danger:hover {
    box-shadow: 0 6px 20px rgba(192, 57, 43, 0.5);
}

.auth-required {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-required h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.auth-required p {
    color: var(--text-on-dark);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.toast-container {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toast {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-lg);
    min-width: 300px;
    max-width: 400px;
    animation: slideIn 0.3s ease-out;
    color: var(--text-primary);
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.toast.success { border-left: 4px solid var(--success); }
.toast.error { border-left: 4px solid var(--error); }
.toast.warning { border-left: 4px solid var(--warning); }
.toast.info { border-left: 4px solid var(--secondary); }

.toast-icon {
    flex-shrink: 0;
}

.toast-message {
    flex: 1;
    font-size: 0.9375rem;
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
    flex-shrink: 0;
}

.toast-close:hover {
    color: var(--text-primary);
}

@media (max-width: 640px) {
    .header {
        padding: 1rem;
    }
    
    .container {
        padding: 1.5rem 1rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .benefits-list li {
        padding: 0.75rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .toast-container {
        left: 1rem;
        right: 1rem;
        top: auto;
        bottom: 1.5rem;
    }
    
    .toast {
        min-width: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-contrast: high) {
    :root {
        --border: #333333;
        --text-secondary: #444444;
    }
}

/* Legal Pages */
.legal-hero {
    max-width: 800px;
}

.legal-meta {
    color: var(--text-on-dark);
    opacity: 0.7;
    font-size: 0.875rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.legal-article {
    text-align: left;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: var(--text-on-dark);
}

.legal-article:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-article h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.legal-article p {
    color: var(--text-on-dark);
    opacity: 0.9;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-article ul {
    color: var(--text-on-dark);
    opacity: 0.9;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-article li {
    margin-bottom: 0.5rem;
}

.legal-article strong {
    color: #ffffff;
}

.legal-article a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.legal-article a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.legal-date {
    color: var(--text-on-dark);
    opacity: 0.7;
    font-size: 0.875rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.legal-section {
    text-align: left;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.legal-section p {
    color: var(--text-on-dark);
    opacity: 0.9;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-section ul {
    color: var(--text-on-dark);
    opacity: 0.9;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

.legal-section strong {
    color: #ffffff;
}

.legal-section a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.legal-section a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* Auth Hero */
.auth-hero .form-container {
    max-width: 420px;
    margin: 0 auto 2rem;
}

.auth-content .form-footer {
    margin-top: 1rem;
}

/* Error Page */
.error-hero {
    max-width: 480px;
}

.error-code {
    font-size: 8rem;
    font-weight: 700;
    line-height: 1;
    color: var(--primary);
    margin-bottom: 1rem;
}

.error-content h1 {
    margin-bottom: 1rem;
    color: #ffffff;
}

.error-content > p {
    color: var(--text-on-dark);
    opacity: 0.9;
    margin-bottom: 1rem;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.error-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.error-links a {
    color: var(--text-on-dark);
    opacity: 0.7;
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.error-links a:hover {
    color: var(--primary);
    opacity: 1;
}

/* Loading State */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 3rem;
    color: var(--text-on-dark);
}

.loading-state .spinner {
    color: var(--primary);
}

/* Info Cards */
.info-card {
    display: flex;
    gap: 1rem;
    background: #f9f9f9;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: left;
    color: var(--text-primary);
}

.info-card .info-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}

.info-card .info-icon svg {
    width: 24px;
    height: 24px;
}

.info-card .info-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.info-card .info-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.info-card .info-content a {
    font-weight: 600;
}

.warning-card {
    border-color: var(--warning);
}

.warning-card .info-icon {
    background: var(--warning);
}

.warning-card h3 {
    color: var(--warning);
}

.btn-profile {
    margin-top: 1rem;
}

.success-title {
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.success-desc {
    color: var(--text-on-dark);
    opacity: 0.8;
    margin: 0;
}

@media (max-width: 640px) {
    .error-code {
        font-size: 5rem;
    }
    
    .info-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .info-card .info-icon {
        margin-bottom: 0.5rem;
    }
}

/* Landing Hero */
.landing-hero {
    padding: 4rem 2rem 2rem;
}

.landing-hero .hero-content {
    max-width: 680px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Slider */
.slider-section {
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.slider-container {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16 / 9;
    max-height: 560px;
    background: #000;
    border: 3px solid var(--primary);
}

.slider {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 0;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
}

.slide-overlay h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.slide-overlay p {
    font-size: 1rem;
    opacity: 0.9;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0,0,0,0.5);
    border: none;
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.slider-btn:hover {
    background: rgba(0,0,0,0.8);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev { left: 1rem; }
.slider-btn.next { right: 1rem; }

.slider-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.dot.active {
    background: white;
    border-color: white;
    transform: scale(1.2);
}

.dot:hover {
    border-color: white;
}

/* About Section */
.about-section {
    padding: 4rem 2rem;
}

.about-card {
    max-width: 780px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 3rem 3.5rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-card:hover {
    border-color: var(--primary);
}

.about-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.about-text {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.about-text:last-child {
    margin-bottom: 0;
}

.about-signature {
    font-weight: 600;
    color: var(--primary);
    margin-top: 0.5rem;
}

/* CTA Section */
.cta-section {
    padding: 2rem 2rem 4rem;
}

.cta-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--primary);
    border-radius: var(--radius);
    padding: 3rem 2rem;
    text-align: center;
    color: var(--text-primary);
}

.cta-card h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.cta-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

/* Textarea */
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: #f5f5f5;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    resize: vertical;
    min-height: 120px;
}

.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(150, 191, 50, 0.2);
}

.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea.valid {
    border-color: var(--success);
}

.form-group textarea.invalid {
    border-color: var(--error);
}

.char-count {
    display: block;
    text-align: right;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 0.375rem;
}

.application-info {
    text-align: left;
    padding: 1.5rem;
    margin: 1.5rem 0;
    background: #f9f9f9;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    color: var(--text-primary);
}

.application-info h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.application-desc {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
    white-space: pre-wrap;
}

.application-note {
    font-size: 0.875rem;
    color: var(--primary);
    padding: 0.75rem;
    background: #f0f7e6;
    border-radius: var(--radius-sm);
    border: 1px solid var(--primary);
}

@media (max-width: 640px) {
    .slider-container {
        aspect-ratio: 4 / 3;
    }
    .slider-btn {
        width: 36px;
        height: 36px;
    }
    .slide-overlay h2 {
        font-size: 1.125rem;
    }
    .slide-overlay p {
        font-size: 0.875rem;
    }
    .about-section {
        padding: 2rem 1rem;
    }
    .about-card {
        padding: 2rem 1.5rem;
    }
    .landing-hero {
        padding: 2rem 1rem 1rem;
    }
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .hero-actions .btn {
        width: 100%;
        max-width: 320px;
    }
}

@keyframes easterFall {
    0% {
        transform: translateY(-20vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(105vh) rotate(1080deg);
        opacity: 0;
    }
}

.easter-falling-img {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    pointer-events: none;
    will-change: transform;
    animation: easterFall linear both;
}