/* Enkabe Language Selection Page Styles */
:root {
    --primary-blue: #1a5490;
    --secondary-blue: #4a9eff;
    --light-blue: #e3f2fd;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --dark-text: #2c3e50;
    --medium-text: #5a6c7d;
    --light-text: #8a9bae;
    --accent-green: #4CAF50;
    --border-light: #e0e6ed;
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Always LTR and centered on this page */
html { direction: ltr !important; }
.selection-container,
.welcome-section,
.company-info,
.flags-container,
.logos-container { direction: ltr; }
.welcome-section, .welcome-section .title, .welcome-section .subtitle,
.company-info { text-align: center !important; }

/* Desktop height tuning: ensure full fit around 768-860px heights */
@media (max-height: 860px) and (min-width: 992px) {
    .logo { margin-bottom: 28px; }
    .welcome-section { margin-bottom: 36px; }
    .flag-option { padding: 22px 18px; }
    .company-info { margin-top: 40px; padding-top: 18px; }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0c4a6e;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    height: auto;
}

/* Animated Gradient Background */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        #0c4a6e,
        #075985,
        #0369a1,
        #0284c7,
        #0ea5e9,
        #38bdf8,
        #7dd3fc,
        #0ea5e9,
        #0284c7,
        #0369a1,
        #075985,
        #0c4a6e
    );
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: -3;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
        transform: rotate(0deg);
    }
    50% {
        background-position: 100% 50%;
        transform: rotate(1deg);
    }
    100% {
        background-position: 0% 50%;
        transform: rotate(0deg);
    }
}

/* Animated Wave Pattern */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(56, 189, 248, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(2, 132, 199, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 90% 90%, rgba(7, 89, 133, 0.3) 0%, transparent 50%);
    animation: waveAnimation 20s ease-in-out infinite;
    z-index: -2;
}

@keyframes waveAnimation {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    33% {
        transform: translate(-20px, -20px) rotate(1deg) scale(1.05);
    }
    66% {
        transform: translate(20px, -10px) rotate(-1deg) scale(1.05);
    }
}

/* Ocean Wave Lines */
.wave {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') repeat-x;
    animation: wave 10s cubic-bezier(.55, .5, .45, .5) infinite;
    z-index: -1;
}

.wave:nth-of-type(2) {
    bottom: 10px;
    opacity: 0.5;
    animation: wave 7s cubic-bezier(.55, .5, .45, .5) -0.125s infinite, swell 7s ease -1.25s infinite;
}

.wave:nth-of-type(3) {
    bottom: 20px;
    opacity: 0.3;
    animation: wave 12s cubic-bezier(.55, .5, .45, .5) -0.25s infinite, swell 5s ease -2.5s infinite;
}

@keyframes wave {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-1440px);
    }
}

@keyframes swell {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Floating Light Particles */
.particle {
    position: fixed;
    pointer-events: none;
    z-index: -1;
}

.particle::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatParticle 20s infinite linear;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px) scale(1.5);
        opacity: 0;
    }
}

/* Animated Floating Bubbles */
.bubble {
    position: fixed;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), rgba(56, 189, 248, 0.2));
    border-radius: 50%;
    animation: floatBubble 25s infinite linear;
    z-index: -1;
    box-shadow: 
        inset -5px -5px 10px rgba(255, 255, 255, 0.2),
        0 0 20px rgba(56, 189, 248, 0.3);
}

.bubble:nth-of-type(1) {
    width: 60px;
    height: 60px;
    left: 10%;
    animation-duration: 27s;
    animation-delay: 0s;
    background: radial-gradient(circle at 30% 30%, rgba(125, 211, 252, 0.4), rgba(14, 165, 233, 0.2));
}

.bubble:nth-of-type(2) {
    width: 35px;
    height: 35px;
    left: 70%;
    animation-duration: 22s;
    animation-delay: 5s;
    background: radial-gradient(circle at 30% 30%, rgba(56, 189, 248, 0.4), rgba(2, 132, 199, 0.2));
}

.bubble:nth-of-type(3) {
    width: 45px;
    height: 45px;
    left: 40%;
    animation-duration: 32s;
    animation-delay: 2s;
    background: radial-gradient(circle at 30% 30%, rgba(147, 197, 253, 0.4), rgba(3, 105, 161, 0.2));
}

.bubble:nth-of-type(4) {
    width: 50px;
    height: 50px;
    left: 85%;
    animation-duration: 25s;
    animation-delay: 8s;
    background: radial-gradient(circle at 30% 30%, rgba(186, 230, 253, 0.4), rgba(7, 89, 133, 0.2));
}

.bubble:nth-of-type(5) {
    width: 30px;
    height: 30px;
    left: 25%;
    animation-duration: 30s;
    animation-delay: 10s;
    background: radial-gradient(circle at 30% 30%, rgba(224, 242, 254, 0.4), rgba(12, 74, 110, 0.2));
}

@keyframes floatBubble {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg) scale(0.5);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    50% {
        transform: translateY(50vh) translateX(50px) rotate(180deg) scale(1);
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100vh) translateX(-50px) rotate(360deg) scale(0.5);
        opacity: 0;
    }
}

/* Main Container */
.language-selection-container {
    text-align: center;
    padding: clamp(20px, 4vh, 48px) clamp(16px, 4vw, 28px);
    max-width: min(1000px, 92vw);
    width: 100%;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    margin: 0 auto; /* vertical centering via body flex only */
    max-height: none;
    overflow: visible; /* allow scrolling */
    direction: ltr; /* force LTR layout on this page */
}

/* Logo Section */
.logo {
    margin-bottom: clamp(20px, 4vh, 40px);
    animation: slideInDown 1s ease-out;
}

.brand-logos {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 2.5vw, 28px);
}

.brand-logos img {
    height: clamp(42px, 6.5vw, 70px);
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
    transition: transform .25s ease, filter .25s ease;
}

.brand-logos img.logo-bahar {
    /* Make Bahar logo white on index page to match header style */
    filter: brightness(0) invert(1) drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}

.brand-logos img:hover {
    transform: translateY(-2px) scale(1.03);
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.18));
}

.logo > img {
    max-width: clamp(160px, 28vw, 280px);
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
    transition: all 0.3s ease;
}

.logo:hover > img {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.15));
}

@keyframes slideInDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Welcome Section */
.welcome-section {
    margin-bottom: clamp(28px, 6vh, 48px);
    animation: fadeIn 1s ease-out 0.3s both;
}

.title {
    color: #ffffff;
    font-size: clamp(1.6rem, 3.5vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #38bdf8, #ffffff, #38bdf8);
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(56, 189, 248, 0.5);
}

.subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(0.95rem, 2.2vw, 1.15rem);
    font-weight: 400;
    line-height: 1.8;
    max-width: 650px;
    margin: 25px auto 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Language Cards Container */
.flags-container {
    display: flex;
    justify-content: center;
    gap: clamp(16px, 4vw, 40px);
    flex-wrap: wrap;
    margin: 0 auto;
    direction: ltr;
}

/* Language Option Cards */
.flag-option {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: clamp(18px, 3.5vh, 35px) clamp(14px, 3vw, 30px);
    text-decoration: none;
    width: clamp(160px, 28vw, 240px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    animation: slideUp 0.6s ease-out both;
}

.flag-option:nth-child(1) {
    animation-delay: 0.4s;
}

.flag-option:nth-child(2) {
    animation-delay: 0.5s;
}

.flag-option:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.flag-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.flag-option:hover::before {
    left: 100%;
}

.flag-option:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.6);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.1));
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 0 50px rgba(56, 189, 248, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Language Icon */
.flag-icon {
    width: clamp(56px, 10vw, 90px);
    height: clamp(56px, 10vw, 90px);
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(14, 165, 233, 0.5));
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(24px, 5vw, 40px);
    color: #ffffff;
    font-weight: 700;
    transition: all 0.3s;
    position: relative;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.2),
        inset 0 2px 5px rgba(255, 255, 255, 0.3);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.flag-option:hover .flag-icon {
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    transform: rotate(360deg) scale(1.1);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 15px 40px rgba(56, 189, 248, 0.4),
        inset 0 2px 8px rgba(255, 255, 255, 0.4);
}

/* Pulse Animation for Icons */
.flag-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary-blue);
    opacity: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Language Names */
.flag-name {
    display: block;
    color: #ffffff;
    font-size: clamp(1rem, 2.8vw, 1.4rem);
    font-weight: 700;
    margin-bottom: 10px;
    transition: all 0.3s;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.flag-option:hover .flag-name {
    color: #ffffff;
    transform: scale(1.1);
    text-shadow: 0 3px 15px rgba(56, 189, 248, 0.5);
}

.flag-subtext {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.flag-option:hover .flag-subtext {
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 2px;
}

/* Company Info Footer */
.company-info {
    margin-top: clamp(24px, 6vh, 64px);
    padding-top: clamp(16px, 3vh, 32px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeIn 1s ease-out 0.8s both;
}

.company-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.company-info p strong {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
}

.company-info .contact-info {
    display: flex;
    justify-content: center;
    gap: clamp(12px, 3vw, 30px);
    flex-wrap: wrap;
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    transition: all 0.3s;
}

.contact-item:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.contact-item i {
    color: #38bdf8;
    font-size: 18px;
    text-shadow: 0 2px 10px rgba(56, 189, 248, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .title {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .flags-container {
        gap: 20px;
    }
    
    .flag-option {
        width: 180px;
        padding: 25px 20px;
    }
    
    .flag-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    .flag-name {
        font-size: 1.1rem;
    }
    
    .company-info .contact-info {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .language-selection-container {
        padding: 32px 20px;
    }
    
    .title {
        font-size: 1.8rem;
    }
    
    .logo img {
        max-width: 200px;
    }
    
    .flag-option {
        width: 100%;
        max-width: 280px;
    }
}

/* Height-based adjustments to ensure full visibility on short screens */
@media (max-height: 740px) {
    .logo { margin-bottom: 24px; }
    .welcome-section { margin-bottom: 32px; }
    .company-info { margin-top: 40px; padding-top: 24px; }
}

@media (max-height: 600px) {
    .subtitle { display: none; }
    .flag-option { padding: 18px 16px; }
    .flag-name { font-size: 1rem; }
    .flag-icon { width: 54px; height: 54px; font-size: 24px; }
    .company-info { margin-top: 24px; }
}

@media (max-height: 520px) {
    .company-info { display: none; }
}

/* Reduced motion for accessibility and more consistent rendering */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--border-light);
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Success Check Animation */
.success-check {
    color: var(--accent-green);
    font-size: 24px;
    animation: checkmark 0.5s ease-out;
}

@keyframes checkmark {
    0% {
        transform: scale(0) rotate(-45deg);
    }
    50% {
        transform: scale(1.2) rotate(0deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

/* ================================================
   LOGO SEÇİMİ STİLLERİ (İlk Aşama)
   ================================================ */

.selection-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* Logo seçimi container'ı */
.logos-container {
    display: flex;
    gap: 150px;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    margin: 100px 0;
    width: 100vw;
    max-width: 1800px;
    padding: 0 40px;
}

/* Tek bir logo seçeneği */
.logo-option {
    cursor: pointer;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
    min-width: 350px;
    max-width: 500px;
}

.logo-option:hover {
    transform: translateY(-25px) scale(1.2);
}

/* Logo wrapper */
.logo-wrapper {
    width: 450px;
    height: 450px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.4s ease;
}

.logo-option:hover .logo-wrapper {
    transform: scale(1.15);
}

.logo-wrapper img {
    width: 400px;
    height: auto;
    max-width: 400px;
    max-height: 400px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(0) invert(1) drop-shadow(0 8px 25px rgba(255, 255, 255, 0.3));
}

/* Logo adı */
.logo-name {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-top: 10px;
}

/* ================================================
   DİL SEÇİMİ STİLLERİ (İkinci Aşama)
   ================================================ */

/* Geri butonu */
.back-button {
    position: absolute;
    top: 30px;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    cursor: pointer;
    padding: 12px 20px;
    border-radius: 25px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.back-button:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateX(-5px);
}

.back-button i {
    font-size: 16px;
}

/* Seçilen logo gösterimi */
.selected-logo-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.selected-logo-wrapper {
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    margin-bottom: 25px;
}

.selected-logo-wrapper img {
    width: 250px;
    height: auto;
    max-width: 250px;
    max-height: 250px;
    object-fit: contain;
    filter: brightness(0) invert(1) drop-shadow(0 8px 30px rgba(255, 255, 255, 0.4)) !important;
}

.selected-logo-name {
    color: var(--white);
    font-size: 20px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
}

/* Responsive tasarım */
@media (max-width: 1200px) {
    .logos-container {
        gap: 100px;
        max-width: 1400px;
        padding: 0 30px;
    }
    
    .logo-option {
        min-width: 300px;
        max-width: 400px;
    }
    
    .logo-wrapper {
        width: 380px;
        height: 380px;
    }
    
    .logo-wrapper img {
        width: 350px;
        max-width: 350px;
        max-height: 350px;
        filter: brightness(0) invert(1) drop-shadow(0 8px 25px rgba(255, 255, 255, 0.3));
    }
}

@media (max-width: 768px) {
    .selection-container {
        padding: 30px 15px;
        min-height: 100vh;
        justify-content: center;
    }
    
    .welcome-section {
        margin-bottom: 50px;
    }
    
    .welcome-section .title {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .welcome-section .subtitle {
        font-size: 16px;
        line-height: 1.6;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .logos-container {
        flex-direction: column;
        gap: 60px;
        max-width: 100%;
        margin: 0;
        width: 100%;
        align-items: center;
    }
    
    .logo-option {
        min-width: 300px;
        max-width: 350px;
        width: 100%;
    }
    
    .logo-wrapper {
        width: 300px;
        height: 300px;
        padding: 0;
        margin-bottom: 20px;
    }
    
    .logo-wrapper img {
        width: 280px;
        max-width: 280px;
        max-height: 280px;
        filter: brightness(0) invert(1) drop-shadow(0 8px 25px rgba(255, 255, 255, 0.3));
    }
    
    .logo-name {
        font-size: 20px;
        font-weight: 700;
        text-align: center;
    }
    
    .back-button {
        top: 20px;
        left: 20px;
        padding: 10px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .selection-container {
        padding: 20px 10px;
        min-height: 100vh;
    }
    
    .welcome-section {
        margin-bottom: 40px;
    }
    
    .welcome-section .title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .welcome-section .subtitle {
        font-size: 15px;
        line-height: 1.5;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .logos-container {
        gap: 50px;
        max-width: 100%;
        margin: 0;
        width: 100%;
        align-items: center;
        padding: 0 10px;
    }
    
    .logo-option {
        min-width: 280px;
        max-width: 320px;
        width: 100%;
    }
    
    .logo-wrapper {
        width: 260px;
        height: 260px;
        padding: 0;
        margin-bottom: 15px;
    }
    
    .logo-wrapper img {
        width: 240px;
        max-width: 240px;
        max-height: 240px;
        filter: brightness(0) invert(1) drop-shadow(0 8px 25px rgba(255, 255, 255, 0.3));
    }
    
    .logo-name {
        font-size: 18px;
        font-weight: 700;
        text-align: center;
    }
    
    .selected-logo-wrapper {
        width: 180px;
        height: 180px;
    }
    
    .selected-logo-wrapper img {
        width: 160px;
        max-width: 160px;
        max-height: 160px;
        filter: brightness(0) invert(1) drop-shadow(0 6px 20px rgba(255, 255, 255, 0.3)) !important;
    }
    
    .selected-logo-name {
        font-size: 20px;
        font-weight: 700;
    }
    
    .back-button {
        top: 15px;
        left: 15px;
        padding: 8px 12px;
        font-size: 12px;
    }
}
