* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, var(--light-bg-primary) 0%, var(--white) 50%, var(--light-bg-tertiary) 100%);
    color: var(--light-text);
    min-height: 100vh;
    position: relative;
    direction: ltr;
}

body[dir="rtl"] {
    direction: rtl;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--light-accent-2) 0%, transparent 70%);
    opacity: 0.1;
    top: -200px;
    right: -200px;
    animation: float 6s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--light-primary) 0%, transparent 70%);
    opacity: 0.1;
    bottom: -150px;
    left: -150px;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(30px, 30px) rotate(10deg); }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.prize-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.prize-label {
    font-size: 24px;
    color: var(--light-primary);
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.prize-amount {
    font-size: 120px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--light-primary) 0%, var(--light-accent-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    text-shadow: 0 10px 30px var(--light-shadow);
}

.hero-tagline {
    font-size: 32px;
    color: var(--light-text);
    margin-bottom: 50px;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 16px 48px;
    font-size: 18px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--light-primary) 0%, var(--light-secondary) 100%);
    color: var(--white);
    box-shadow: 0 10px 30px var(--light-shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--light-shadow);
}

.btn-secondary {
    background: var(--white);
    color: var(--light-primary);
    border: 2px solid var(--light-primary);
    box-shadow: 0 5px 20px var(--black-10);
}

.btn-secondary:hover {
    background: var(--light-primary);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--light-primary);
    border: 2px solid var(--light-primary);
    padding: 12px 32px;
    font-size: 16px;
}

.btn-outline:hover {
    background: var(--light-primary);
    color: var(--white);
}

.paths-section {
    padding: 100px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 48px;
    margin-bottom: 60px;
    color: var(--light-text);
    font-weight: 700;
}

.paths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.path-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 40px var(--black-10);
    transition: all 0.3s ease;
    border: 2px solid var(--light-border);
}

.path-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--black-15);
    border-color: var(--light-primary);
}

.path-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
}

.path-icon svg {
    width: 100%;
    height: 100%;
}

.path-title {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--light-text);
    font-weight: 700;
}

.path-description {
    font-size: 16px;
    color: var(--neutral-medium);
    margin-bottom: 30px;
    line-height: 1.6;
}

.lang-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--light-primary) 0%, var(--light-accent-2) 100%);
    color: var(--white);
    border: none;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 30px var(--light-shadow);
    transition: all 0.3s ease;
    z-index: 1000;
}

.lang-toggle:hover {
    transform: scale(1.1);
}

body[dir="rtl"] .lang-toggle {
    right: auto;
    left: 30px;
}

.skeleton {
    background: linear-gradient(90deg, var(--neutral-gray-200) 25%, var(--neutral-gray-100) 50%, var(--neutral-gray-200) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text {
    height: 16px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.skeleton-title {
    height: 32px;
    border-radius: 8px;
    margin-bottom: 20px;
    width: 60%;
}

.skeleton-button {
    height: 48px;
    border-radius: 50px;
    width: 150px;
}

.notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--white);
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 40px var(--black-20);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 9999;
    animation: slideIn 0.3s ease;
    max-width: 400px;
    border-left: 4px solid var(--success-primary);
}

body[dir="rtl"] .notification {
    right: auto;
    left: 30px;
    border-left: none;
    border-right: 4px solid var(--success-primary);
}

.notification.error {
    border-left-color: var(--error-primary);
}

body[dir="rtl"] .notification.error {
    border-right-color: var(--error-primary);
}

.notification.warning {
    border-left-color: var(--warning-primary);
}

body[dir="rtl"] .notification.warning {
    border-right-color: var(--warning-primary);
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

body[dir="rtl"] .notification {
    animation: slideInRTL 0.3s ease;
}

@keyframes slideInRTL {
    from {
        transform: translateX(-400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.notification-message {
    flex: 1;
    font-size: 14px;
    color: var(--light-text);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black-50);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px var(--black-30);
    animation: modalSlide 0.3s ease;
}

@keyframes modalSlide {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.modal-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--light-text);
}

.modal-close {
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--neutral-medium);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--neutral-gray-100);
    color: var(--light-text);
}

.modal-body {
    margin-bottom: 30px;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

body[dir="rtl"] .modal-actions {
    justify-content: flex-start;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--light-text);
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid var(--light-border);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--light-text);
}

.form-input:focus {
    outline: none;
    border-color: var(--light-primary);
    box-shadow: 0 0 0 4px var(--light-shadow);
}

.form-input::placeholder {
    color: var(--neutral-medium);
}

.form-select {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid var(--light-border);
    border-radius: 12px;
    font-size: 16px;
    background: var(--white);
    color: var(--light-text);
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-select:focus {
    outline: none;
    border-color: var(--light-primary);
    box-shadow: 0 0 0 4px var(--light-shadow);
}

.tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.tag-primary {
    background: var(--light-shadow);
    color: var(--light-primary);
}

.tag-success {
    background: var(--success-light);
    color: var(--success-secondary);
}

.tag-error {
    background: var(--error-light);
    color: var(--error-secondary);
}

.tag-warning {
    background: var(--warning-light);
    color: var(--warning-secondary);
}

.tag-info {
    background: var(--info-light);
    color: var(--info-secondary);
}

@media (max-width: 768px) {
    .prize-amount {
        font-size: 80px;
    }
    
    .hero-tagline {
        font-size: 24px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .paths-grid {
        grid-template-columns: 1fr;
    }
}

.sponsors-section {
    padding: 80px 0;
    background: var(--light-bg-tertiary);
}

.sponsors-host,
.sponsors-partners,
.sponsors-sponsors {
    margin-bottom: 60px;
}

.sponsors-host:last-child,
.sponsors-partners:last-child,
.sponsors-sponsors:last-child {
    margin-bottom: 0;
}

.sponsors-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--light-text);
    text-align: center;
    margin-bottom: 40px;
}

.sponsors-carousel {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.sponsors-carousel.single-host {
    justify-content: center;
}

.sponsor-item {
    flex-shrink: 0;
    animation: slideCarousel 15s linear infinite;
}

.sponsors-carousel.single-host .sponsor-item {
    animation: none;
}

.sponsor-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 120px;
    padding: 20px;
    background: var(--white);
    border-radius: 16px;
    border: 2px solid var(--light-border);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

.sponsor-item a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--light-shadow);
    border-color: var(--light-primary);
}

.sponsor-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.sponsor-fallback {
    display: none;
    font-size: 20px;
    font-weight: 700;
    color: var(--light-text);
    text-align: center;
}

@keyframes slideCarousel {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.sponsors-carousel:hover .sponsor-item {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .sponsors-section {
        padding: 60px 0;
    }
    
    .sponsors-title {
        font-size: 24px;
    }
    
    .sponsor-item a {
        width: 150px;
        height: 100px;
    }
    
    .sponsors-carousel {
        gap: 20px;
    }
}