/* Welcome Page Styles - Ascaron Online */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Performance optimizations */
.welcome-content::before,
.download-card::before,
.wiki-card::before,
.btn-welcome::before {
    will-change: transform;
}

/* Main Container */
.welcome-page {
    min-height: 100vh;
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(43, 28, 61, 0.4) 0%, rgba(23, 13, 34, 0.8) 100%);
}

.welcome-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

/* Progress Bar */
.welcome-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    position: relative;
}

.welcome-progress::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.welcome-progress-line {
    position: absolute;
    top: 20px;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #B758FF, #7672FF, #61D5FF, #FFCA61);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.progress-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.progress-step-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #2B1C3D;
    border: 3px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.4s ease;
}

.progress-step.active .progress-step-circle {
    background: linear-gradient(135deg, #B758FF, #7672FF);
    border-color: #B758FF;
    color: #FFF;
    box-shadow: 0 0 20px rgba(183, 88, 255, 0.5);
    transform: scale(1.1);
}

.progress-step.completed .progress-step-circle {
    background: #23BA34;
    border-color: #23BA34;
    color: #FFF;
}

.progress-step-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    max-width: 100px;
    transition: color 0.3s ease;
}

.progress-step.active .progress-step-label {
    color: #FFCA61;
    font-weight: 600;
}

.progress-step.completed .progress-step-label {
    color: #23BA34;
}

/* Welcome Content */
.welcome-content {
    background: rgba(43, 28, 61, 0.6);
    border: 1px solid rgba(255, 202, 97, 0.2);
    border-radius: 24px;
    padding: 48px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.welcome-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(183, 88, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.welcome-step {
    display: none;
    animation: fadeInUp 0.6s ease;
}

.welcome-step.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.welcome-step-title {
    font-weight: 800;
    font-size: 36px;
    line-height: 110%;
    color: #FFF;
    text-align: center;
    margin-bottom: 16px;
}

.welcome-step-subtitle {
    font-size: 18px;
    line-height: 140%;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 32px;
}

/* Registration Layout - Two Columns */
.registration-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.registration-form-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.registration-video-column {
    position: sticky;
    top: 20px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.video-container-registration {
    border-radius: 16px;
    overflow: hidden;
    background: #170D22;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(183, 88, 255, 0.2);
    position: relative;
    aspect-ratio: 16/9;
}

.video-container-registration video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Password Group Wrapper with Single Toggle */
.password-group-wrapper {
    position: relative;
}

.password-toggle-single {
    position: absolute;
    right: 16px;
    top: 10px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    z-index: 10;
}

.password-toggle-single:hover {
    color: #FFCA61;
}

.password-toggle-single:active {
    transform: scale(0.95);
}

/* Video Support Block */
.video-support-block {
    background: rgba(23, 13, 34, 0.6);
    border: 2px solid rgba(183, 88, 255, 0.2);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.support-title {
    font-size: 16px;
    font-weight: 600;
    color: #FFCA61;
    margin: 0 0 16px 0;
}

.support-links {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.support-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(23, 13, 34, 0.8);
    border: 2px solid rgba(183, 88, 255, 0.3);
    border-radius: 12px;
    color: #FFF;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.support-link:hover {
    background: rgba(183, 88, 255, 0.2);
    border-color: #B758FF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(183, 88, 255, 0.3);
}

.support-link.telegram:hover {
    border-color: #0088cc;
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}

.support-link.discord:hover {
    border-color: #5865F2;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
}

.support-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.support-link:active {
    transform: translateY(0);
}

/* Video Overlay */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(23, 13, 34, 0.5);
    backdrop-filter: blur(2px);
    transition: opacity 0.3s ease;
    z-index: 2;
}

.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.video-play-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.video-play-btn:hover {
    transform: scale(1.1);
}

.video-play-btn:active {
    transform: scale(0.95);
}

.video-play-btn svg {
    display: block;
}

/* Video Controls */
.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(23, 13, 34, 0.95), transparent);
    padding: 20px 16px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.video-container-registration:hover .video-controls,
.video-controls:hover {
    opacity: 1;
}

.video-control-btn {
    background: none;
    border: none;
    color: #FFCA61;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-radius: 8px;
}

.video-control-btn:hover {
    background: rgba(255, 202, 97, 0.1);
    transform: scale(1.1);
}

.video-control-btn:active {
    transform: scale(0.95);
}

/* Progress Bar */
.video-progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    transition: height 0.2s ease;
}

.video-progress-bar:hover {
    height: 8px;
}

.video-progress-filled {
    height: 100%;
    background: linear-gradient(90deg, #B758FF, #FFCA61);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
    position: relative;
}

.video-progress-filled::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #FFCA61;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.video-progress-bar:hover .video-progress-filled::after {
    opacity: 1;
}

/* Volume Control */
.video-volume-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-volume-slider {
    width: 0;
    opacity: 0;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    outline: none;
}

.video-volume-control:hover .video-volume-slider {
    width: 80px;
    opacity: 1;
}

.video-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: #FFCA61;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.video-volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 0 4px rgba(255, 202, 97, 0.2);
}

.video-volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: #FFCA61;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.video-volume-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 0 4px rgba(255, 202, 97, 0.2);
}

/* Form Styles */
.welcome-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: #FFCA61;
    transition: color 0.3s ease;
}

.form-input {
    padding: 14px 24px;
    font-size: 16px;
    color: #FFF;
    background: #170D22;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    height: 56px;
    box-sizing: border-box;
    font-family: inherit;
}

.form-input:hover {
    border-color: rgba(183, 88, 255, 0.3);
}

.form-input:focus {
    outline: none;
    border-color: #B758FF;
    box-shadow: 0 0 0 3px rgba(183, 88, 255, 0.2);
    background: rgba(23, 13, 34, 0.9);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-input.error {
    border-color: #FF6161;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.password-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    align-items: stretch;
}

.password-wrapper .form-input {
    padding-right: 50px;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 4px;
    transition: all 0.3s ease;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle:hover {
    color: #FFCA61;
    transform: translateY(-50%) scale(1.1);
}

.password-toggle:active {
    transform: translateY(-50%) scale(0.95);
}

.dual-input-wrapper {
    display: flex;
    align-items: stretch;
    gap: 12px;
    width: 100%;
}

.dual-input-wrapper .form-input {
    flex: 1 1 0; /* Равный размер для всех полей */
    min-width: 0;
    width: 0; /* Принудительно равная ширина */
}

.dual-input-wrapper .password-wrapper {
    flex: 1 1 0; /* Равный размер */
    min-width: 0;
    width: 0; /* Принудительно равная ширина */
    display: flex;
    align-items: stretch; /* Выравнивание по высоте */
}

.dual-input-wrapper .password-wrapper .form-input {
    width: 100%; /* Пароль занимает всю ширину wrapper */
    flex: 1;
    height: 100%; /* Занимает всю высоту wrapper */
}

.input-separator {
    color: rgba(255, 255, 255, 0.25);
    font-size: 14px;
    font-weight: 400;
    flex-shrink: 0;
    padding: 0 2px;
    display: flex;
    align-items: center;
    line-height: 1;
    margin: 0 2px;
    width: 12px;
    justify-content: center;
}

.form-hint {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* Responsive для мобильных */
@media (max-width: 768px) {
    .registration-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .registration-video-column {
        position: static;
        order: -1;
    }
    
    .video-container-registration {
        max-width: 100%;
    }
    
    .video-support-block {
        padding: 20px;
    }
    
    .support-links {
        flex-direction: column;
    }
    
    .support-link {
        width: 100%;
        justify-content: center;
    }
    
    .dual-input-wrapper {
        flex-direction: column;
        gap: 16px;
    }
    
    .input-separator {
        display: none;
    }
}

.captcha-group {
    display: flex;
    gap: 12px;
    align-items: center;
}

.captcha-img {
    flex: 1;
    height: 68px;
    border-radius: 12px;
    border: 2px solid rgba(183, 88, 255, 0.3);
    object-fit: cover;
    background: #170D22;
}

.captcha-refresh {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: #170D22;
    border: 2px solid #B758FF;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #B758FF;
}

.captcha-refresh:hover {
    background: #B758FF;
    color: #170D22;
    transform: rotate(180deg);
}

.captcha-refresh:active {
    transform: rotate(180deg) scale(0.9);
}

.form-checkbox {
    display: flex;
    align-items: start;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.form-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 24px;
    height: 24px;
    min-width: 24px;
    background: #170D22;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
    margin-top: 2px;
}

.form-checkbox input[type="checkbox"]:hover {
    border-color: rgba(183, 88, 255, 0.5);
}

.form-checkbox input[type="checkbox"]:checked {
    background: #23BA34;
    border-color: #23BA34;
}

.form-checkbox input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FFF;
    font-size: 16px;
    font-weight: bold;
}

.form-checkbox label {
    font-size: 14px;
    line-height: 140%;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
}

.form-checkbox label a {
    color: #FFCA61;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.form-checkbox label a:hover {
    color: #FFA900;
    text-decoration: none;
}

/* Download Cards */
.download-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.download-card {
    background: rgba(23, 13, 34, 0.6);
    border: 2px solid rgba(255, 202, 97, 0.2);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: block;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 202, 97, 0.15), transparent);
    transition: left 0.6s ease;
}

.download-card:hover::before {
    left: 100%;
}

.download-card:hover {
    border-color: #FFCA61;
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(255, 202, 97, 0.4);
}

.download-card:active {
    transform: translateY(-4px);
}

.download-card-icon {
    font-size: 48px;
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.download-card:hover .download-card-icon {
    transform: scale(1.1);
}

.download-card-title {
    font-weight: 700;
    font-size: 18px;
    color: #FFF;
    margin-bottom: 8px;
}

.download-card-size {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* Welcome Download Section - New Style like download page */
.welcome-download-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 24px;
}

.welcome-download-card {
    background: rgba(23, 13, 34, 0.6);
    border: 2px solid rgba(255, 202, 97, 0.2);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.welcome-download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 202, 97, 0.1), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.welcome-download-card:hover::before {
    left: 100%;
}

.welcome-download-card:hover {
    border-color: #FFCA61;
    box-shadow: 0 8px 24px rgba(255, 202, 97, 0.3);
}

.welcome-download-header {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.welcome-download-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(23, 13, 34, 0.8);
    border-radius: 12px;
    border: 2px solid rgba(255, 202, 97, 0.3);
}

.welcome-download-info {
    flex: 1;
}

.welcome-download-name {
    font-size: 24px;
    font-weight: 700;
    color: #FFF;
    margin: 0 0 8px 0;
}

.welcome-download-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 12px 0;
    line-height: 1.5;
}

.welcome-download-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.welcome-download-size,
.welcome-download-version {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #FFCA61;
    font-weight: 600;
}

.welcome-download-mirrors {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.welcome-mirrors-title {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 16px 0;
}

.welcome-mirrors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
}

.welcome-mirror-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(23, 13, 34, 0.6);
    border: 2px solid rgba(183, 88, 255, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.welcome-mirror-card:hover {
    border-color: #B758FF;
    background: rgba(23, 13, 34, 0.8);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(183, 88, 255, 0.3);
}

.welcome-mirror-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-mirror-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.welcome-mirror-name {
    font-size: 14px;
    font-weight: 600;
    color: #FFF;
}

.welcome-mirror-hint {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.welcome-mirror-arrow {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.welcome-mirror-card:hover .welcome-mirror-arrow {
    transform: translateX(4px);
}

/* Video Player */
.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 24px;
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Wiki Cards */
.wiki-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.wiki-card {
    background: rgba(23, 13, 34, 0.6);
    border: 2px solid rgba(183, 88, 255, 0.3);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    display: block;
    position: relative;
    overflow: hidden;
}

.wiki-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(183, 88, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.wiki-card:hover::before {
    left: 100%;
}

.wiki-card:hover {
    border-color: #B758FF;
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(183, 88, 255, 0.4);
}

.wiki-card:active {
    transform: translateY(-4px);
}

.wiki-card-icon {
    font-size: 42px;
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.wiki-card:hover .wiki-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.wiki-card-title {
    font-weight: 700;
    font-size: 18px;
    color: #FFF;
    margin-bottom: 8px;
}

.wiki-card-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Buttons */
.welcome-buttons {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-welcome {
    padding: 14px 40px;
    font-weight: 700;
    font-size: 18px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    font-family: inherit;
}

.btn-welcome::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-welcome:active::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, #FFCA61, #FFA900);
    color: #170D22;
    box-shadow: 0 4px 12px rgba(255, 202, 97, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #FFA900, #FF8C00);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 202, 97, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #FFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #FFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn-secondary:active {
    transform: translateY(0);
}

.btn-success {
    background: linear-gradient(135deg, #23BA34, #1a8a27);
    color: #FFF;
    box-shadow: 0 4px 12px rgba(35, 186, 52, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, #1a8a27, #156b1f);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(35, 186, 52, 0.5);
}

.btn-success:active {
    transform: translateY(0);
}

/* Pulse animation for download button */
.btn-welcome.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 8px 20px rgba(35, 186, 52, 0.5) !important;
}

@keyframes pulse {
    0%, 100% {
        transform: translateY(-2px) scale(1);
        box-shadow: 0 8px 20px rgba(35, 186, 52, 0.5);
    }
    50% {
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 12px 28px rgba(35, 186, 52, 0.7);
    }
}

/* Alert Messages */
#step2AlertContainer {
    margin-bottom: 20px;
}

.alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 140%;
    animation: slideDown 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
}

.alert::before {
    content: '';
    width: 4px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 12px 0 0 12px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-error {
    background: rgba(255, 97, 97, 0.15);
    border: 1px solid rgba(255, 97, 97, 0.4);
    color: #FF6161;
}

.alert-error::before {
    background: #FF6161;
}

.alert-success {
    background: rgba(35, 186, 52, 0.15);
    border: 1px solid rgba(35, 186, 52, 0.4);
    color: #23BA34;
}

.alert-success::before {
    background: #23BA34;
}

.alert-info {
    background: rgba(97, 213, 255, 0.15);
    border: 1px solid rgba(97, 213, 255, 0.4);
    color: #61D5FF;
}

.alert-info::before {
    background: #61D5FF;
}

.alert-warning {
    background: rgba(255, 202, 97, 0.15);
    border: 1px solid rgba(255, 202, 97, 0.4);
    color: #FFCA61;
}

.alert-warning::before {
    background: #FFCA61;
}

/* Countdown in alerts */
#countdown {
    font-weight: 700;
    color: inherit;
    animation: pulse-text 1s ease-in-out infinite;
}

@keyframes pulse-text {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #FFF;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Gift Content (Step 4) - Centered gift claim page */
.gift-content-wrapper {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 32px;
}

.gift-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(35, 186, 52, 0.15), rgba(255, 202, 97, 0.15));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    position: relative;
    animation: gift-float 3s ease-in-out infinite;
}

@keyframes gift-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.gift-icon svg {
    width: 80px;
    height: 80px;
}

.gift-title {
    font-size: 36px;
    font-weight: 700;
    color: #FFF;
    margin: 0 0 16px 0;
    background: linear-gradient(135deg, #23BA34, #FFCA61);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gift-description {
    font-size: 18px;
    line-height: 160%;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 40px 0;
}

/* Gift Timer */
.gift-timer {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.timer-block {
    background: rgba(43, 28, 61, 0.6);
    border: 2px solid rgba(255, 202, 97, 0.3);
    border-radius: 16px;
    padding: 20px 24px;
    min-width: 100px;
}

.timer-value {
    font-size: 48px;
    font-weight: 700;
    color: #FFCA61;
    line-height: 1;
    text-shadow: 0 0 20px rgba(255, 202, 97, 0.5);
}

.timer-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timer-separator {
    font-size: 48px;
    font-weight: 700;
    color: rgba(255, 202, 97, 0.5);
    line-height: 1;
    animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

/* Gift Benefits */
.gift-benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 100%;
    margin: 0 auto 32px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(35, 186, 52, 0.1);
    border: 1px solid rgba(35, 186, 52, 0.3);
    border-radius: 12px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.benefit-item svg {
    flex-shrink: 0;
}

.benefit-main {
    background: linear-gradient(135deg, rgba(35, 186, 52, 0.2), rgba(255, 202, 97, 0.15));
    border: 2px solid rgba(35, 186, 52, 0.5);
    font-size: 20px;
    font-weight: 600;
    padding: 20px 24px;
}

/* Gift Payment Button */
.btn-gift-payment {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 20px 32px;
    background: linear-gradient(135deg, #23BA34, #1e9e2d);
    border: none;
    border-radius: 16px;
    color: #FFF;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 24px rgba(35, 186, 52, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-gift-payment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-gift-payment:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(35, 186, 52, 0.6);
    background: linear-gradient(135deg, #1e9e2d, #188f26);
}

.btn-gift-payment:hover::before {
    transform: translateX(100%);
}

.btn-gift-payment:active {
    transform: translateY(0);
}

.btn-gift-payment svg {
    flex-shrink: 0;
}

/* Pulse animation for final button */
.btn-pulse {
    animation: pulse-button 2s ease-in-out infinite;
}

@keyframes pulse-button {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(35, 186, 52, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(35, 186, 52, 0);
    }
}

/* Beginners Guide Content (Step 3) */
.beginners-guide-wrapper {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 32px;
}

.beginners-guide-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(255, 202, 97, 0.15), rgba(183, 88, 255, 0.15));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    position: relative;
    animation: guide-float 3s ease-in-out infinite;
    border: 2px solid rgba(255, 202, 97, 0.3);
}

@keyframes guide-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.beginners-guide-icon svg {
    width: 80px;
    height: 80px;
}

.beginners-guide-title {
    font-size: 36px;
    font-weight: 700;
    color: #FFF;
    margin: 0 0 32px 0;
    background: linear-gradient(135deg, #FFCA61, #B758FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 8px rgba(255, 202, 97, 0.3);
}

.beginners-guide-content {
    margin-bottom: 32px;
}

.beginners-guide-card {
    background: linear-gradient(135deg, rgba(43, 28, 61, 0.8), rgba(23, 13, 34, 0.9));
    border: 2px solid rgba(255, 202, 97, 0.3);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 40px rgba(255, 202, 97, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.beginners-guide-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #B758FF, #7672FF, #61D5FF, #FFCA61);
    background-size: 200% 100%;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.beginners-guide-card:hover {
    border-color: rgba(255, 202, 97, 0.5);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 60px rgba(255, 202, 97, 0.2);
    transform: translateY(-4px);
}

.beginners-guide-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.beginners-guide-header svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.beginners-guide-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #FFCA61;
    margin: 0;
    text-shadow: 0 2px 8px rgba(255, 202, 97, 0.3);
}

.beginners-guide-text {
    text-align: left;
    color: rgba(255, 255, 255, 0.9);
    line-height: 180%;
}

.beginners-guide-intro {
    font-size: 17px;
    margin: 0 0 24px 0;
    color: rgba(255, 255, 255, 0.85);
}

.beginners-guide-highlight {
    background: linear-gradient(135deg, rgba(255, 202, 97, 0.15), rgba(183, 88, 255, 0.15));
    border: 2px solid rgba(255, 202, 97, 0.4);
    border-radius: 16px;
    padding: 20px 24px;
    margin: 24px 0;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.beginners-guide-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #FFCA61, #B758FF);
}

.beginners-guide-highlight svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    margin-top: 2px;
}

.beginners-guide-highlight strong {
    display: block;
    font-size: 20px;
    color: #FFCA61;
    margin-bottom: 8px;
    font-weight: 700;
}

.beginners-guide-highlight p {
    margin: 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 160%;
}

.beginners-guide-support {
    font-size: 16px;
    margin: 24px 0 0 0;
    color: rgba(255, 255, 255, 0.8);
}

.beginners-guide-support a {
    color: #61D5FF;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.beginners-guide-support a:hover {
    color: #FFCA61;
    border-bottom-color: #FFCA61;
}

.btn-beginners-guide {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, #FFCA61, #FFB84D);
    border: none;
    border-radius: 16px;
    color: #170D22;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 24px rgba(255, 202, 97, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin-top: 24px;
}

.btn-beginners-guide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-beginners-guide:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 202, 97, 0.6);
    background: linear-gradient(135deg, #FFB84D, #FFA633);
}

.btn-beginners-guide:hover::before {
    transform: translateX(100%);
}

.btn-beginners-guide:active {
    transform: translateY(0);
}

.btn-beginners-guide svg {
    flex-shrink: 0;
}

/* Social Content (Step 3) - Centered without border */
.social-content-wrapper {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 32px;
}

.social-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 202, 97, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.social-icon svg {
    width: 64px;
    height: 64px;
}

.social-title {
    font-size: 32px;
    font-weight: 700;
    color: #FFF;
    margin: 0 0 16px 0;
    text-shadow: 0 2px 8px rgba(255, 202, 97, 0.3);
}

.social-description {
    font-size: 17px;
    line-height: 160%;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 32px 0;
}

.social-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-social {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-social::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-social:hover::before {
    transform: translateX(100%);
}

.btn-social svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.btn-social:hover svg {
    transform: scale(1.1) rotate(-5deg);
}

.btn-discord {
    background: linear-gradient(135deg, #5865F2, #4752C4);
    color: #FFF;
    box-shadow: 0 4px 16px rgba(88, 101, 242, 0.4);
}

.btn-discord:hover {
    background: linear-gradient(135deg, #4752C4, #3c45a5);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(88, 101, 242, 0.6);
}

.btn-telegram {
    background: linear-gradient(135deg, #2AABEE, #229ED9);
    color: #FFF;
    box-shadow: 0 4px 16px rgba(42, 171, 238, 0.4);
}

.btn-telegram:hover {
    background: linear-gradient(135deg, #229ED9, #1a8fc7);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(42, 171, 238, 0.6);
}

.btn-social:active {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .welcome-container {
        padding: 0 30px;
    }
    
    .welcome-content {
        padding: 40px 32px;
    }
}

@media (max-width: 768px) {
    .welcome-page {
        padding: 120px 0 60px;
    }
    
    .welcome-container {
        padding: 0 20px;
    }
    
    .welcome-content {
        padding: 32px 24px;
        border-radius: 20px;
    }
    
    .welcome-step-title {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .welcome-step-subtitle {
        font-size: 16px;
        margin-bottom: 24px;
    }
    
    .welcome-buttons {
        flex-direction: column;
    }
    
    .btn-welcome {
        width: 100%;
        justify-content: center;
    }
    
    .progress-step-label {
        font-size: 12px;
        max-width: 80px;
    }
    
    .download-cards,
    .wiki-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    /* Social content responsive */
    .social-content-wrapper {
        max-width: 100%;
    }
    
    .social-icon {
        width: 80px;
        height: 80px;
    }
    
    .social-icon svg {
        width: 56px;
        height: 56px;
    }
    
    .social-title {
        font-size: 28px;
    }
    
    .social-description {
        font-size: 16px;
    }
    
    /* Gift content responsive */
    .gift-icon {
        width: 100px;
        height: 100px;
    }
    
    .gift-icon svg {
        width: 70px;
        height: 70px;
    }
    
    .gift-title {
        font-size: 32px;
    }
    
    .gift-description {
        font-size: 17px;
    }
    
    .timer-block {
        min-width: 90px;
        padding: 16px 20px;
    }
    
    .timer-value {
        font-size: 42px;
    }
    
    .timer-separator {
        font-size: 42px;
    }
    
    .benefit-main {
        font-size: 18px;
        padding: 18px 20px;
    }
    
    .btn-gift-payment {
        font-size: 18px;
        padding: 18px 28px;
    }
    
    .form-input {
        padding: 12px 20px;
        font-size: 15px;
        height: 50px;
    }
    
    .form-label {
        font-size: 13px;
    }
    
    /* Welcome download cards responsive */
    .welcome-download-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .welcome-download-icon {
        width: 56px;
        height: 56px;
    }
    
    .welcome-download-name {
        font-size: 20px;
    }
    
    .welcome-download-meta {
        justify-content: center;
    }
    
    .welcome-mirrors-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .welcome-page {
        padding: 100px 0 40px;
    }
    
    .welcome-container {
        padding: 0 16px;
    }
    
    .welcome-content {
        padding: 24px 20px;
        border-radius: 16px;
    }
    
    .welcome-step-title {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .welcome-step-subtitle {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .progress-step-circle {
        width: 36px;
        height: 36px;
        font-size: 14px;
        border-width: 2px;
    }
    
    .progress-step-label {
        font-size: 11px;
        max-width: 70px;
    }
    
    .btn-welcome {
        padding: 12px 24px;
        font-size: 16px;
    }
    
    .form-input {
        padding: 10px 16px;
        font-size: 14px;
        height: 46px;
    }
    
    .form-group {
        gap: 6px;
    }
    
    .welcome-form {
        gap: 16px;
    }
    
    .captcha-img {
        height: 56px;
    }
    
    .captcha-refresh {
        width: 42px;
        height: 42px;
    }
    
    /* Welcome download cards for mobile */
    .welcome-download-card {
        padding: 20px 16px;
    }
    
    .welcome-download-header {
        gap: 16px;
        margin-bottom: 20px;
    }
    
    .welcome-download-icon {
        width: 48px;
        height: 48px;
    }
    
    .welcome-download-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .welcome-download-name {
        font-size: 18px;
    }
    
    .welcome-download-description {
        font-size: 13px;
    }
    
    .welcome-download-meta {
        font-size: 13px;
        gap: 12px;
    }
    
    .welcome-mirrors-title {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .welcome-mirror-card {
        padding: 12px;
        gap: 10px;
    }
    
    .welcome-mirror-icon {
        width: 32px;
        height: 32px;
    }
    
    .welcome-mirror-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .welcome-mirror-name {
        font-size: 13px;
    }
    
    .welcome-mirror-hint {
        font-size: 11px;
    }
    
    /* Social content mobile */
    .social-icon {
        width: 72px;
        height: 72px;
    }
    
    .social-icon svg {
        width: 48px;
        height: 48px;
    }
    
    .social-title {
        font-size: 24px;
    }
    
    .social-description {
        font-size: 15px;
        margin-bottom: 24px;
    }
    
    .social-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-social {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 16px;
    }
    
    /* Gift content mobile */
    .gift-content-wrapper {
        max-width: 100%;
    }
    
    .gift-icon {
        width: 80px;
        height: 80px;
    }
    
    .gift-icon svg {
        width: 60px;
        height: 60px;
    }
    
    .gift-title {
        font-size: 26px;
    }
    
    .gift-description {
        font-size: 15px;
        margin-bottom: 32px;
    }
    
    .gift-timer {
        gap: 8px;
        margin-bottom: 32px;
    }
    
    .timer-block {
        min-width: 70px;
        padding: 12px 16px;
    }
    
    .timer-value {
        font-size: 32px;
    }
    
    .timer-label {
        font-size: 11px;
    }
    
    .timer-separator {
        font-size: 32px;
    }
    
    .gift-benefits {
        gap: 12px;
        margin-bottom: 24px;
    }
    
    .benefit-item {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .benefit-item svg {
        width: 20px;
        height: 20px;
    }
    
    .benefit-main {
        font-size: 16px;
        padding: 16px 20px;
    }
    
    .benefit-main svg {
        width: 24px;
        height: 24px;
    }
    
    .btn-gift-payment {
        font-size: 16px;
        padding: 16px 24px;
        letter-spacing: 0.3px;
    }
    
    .btn-gift-payment svg {
        width: 20px;
        height: 20px;
    }
}

/* Print Styles */
@media print {
    .welcome-page {
        background: white;
        padding: 20px;
    }
    
    .welcome-content::before {
        display: none;
    }
    
    .btn-welcome,
    .welcome-progress {
        display: none;
    }
}

/* Accessibility */
.btn-welcome:focus-visible,
.form-input:focus-visible,
.form-checkbox input[type="checkbox"]:focus-visible {
    outline: 3px solid #FFCA61;
    outline-offset: 2px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .form-input {
        border-width: 3px;
    }
    
    .btn-welcome {
        border: 3px solid currentColor;
    }
    
    .alert {
        border-width: 2px;
    }
}

