/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f0f9f4 0%, #ffffff 50%, #f0f9f4 100%);
    color: #1e293b;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 20px 16px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 40px;
}

.logo-container {
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(240, 249, 244, 0.8);
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(209, 250, 229, 0.5);
    backdrop-filter: blur(10px);
}

.logo {
    height: 70px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.main-title {
    font-size: 2rem;
    font-weight: 700;
    color: #065f46;
    margin-bottom: 8px;
    letter-spacing: -0.025em;
}

.subtitle {
    font-size: 1rem;
    color: #047857;
    font-weight: 500;
    line-height: 1.5;
    max-width: 280px;
    margin: 0 auto;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Bank Buttons */
.bank-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bank-btn {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(209, 250, 229, 0.6);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transform: translateZ(0);
    will-change: transform;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    text-decoration: none;
    display: block;
    color: inherit;
    backdrop-filter: blur(10px);
}

.bank-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-color: #10b981;
    background: rgba(240, 249, 244, 0.95);
    text-decoration: none;
    color: inherit;
}

.bank-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 2;
}

.bank-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    transition: transform 0.2s ease;
    border-radius: 8px;
    padding: 4px;
    background: rgba(240, 249, 244, 0.8);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.bank-btn:hover .bank-logo {
    transform: scale(1.05);
}

.bank-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #065f46;
    transition: color 0.2s ease;
}

.bank-btn:hover .bank-name {
    color: #047857;
}

/* Button Glow Effect */
.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.1), transparent);
    transition: left 0.4s ease;
}

.bank-btn:hover .btn-glow {
    left: 100%;
}

/* Specific Bank Button Styles */
.oschadbank {
    border-color: rgba(209, 250, 229, 0.6);
}

.oschadbank:hover {
    border-color: #10b981;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.15);
    background: rgba(240, 249, 244, 0.95);
}

.raiffeisen {
    border-color: rgba(209, 250, 229, 0.6);
}

.raiffeisen:hover {
    border-color: #10b981;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.15);
    background: rgba(240, 249, 244, 0.95);
}

.privat24 {
    border-color: rgba(209, 250, 229, 0.6);
}

.privat24:hover {
    border-color: #10b981;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.15);
    background: rgba(240, 249, 244, 0.95);
}

/* Footer */
.footer {
    text-align: center;
    padding: 24px 0;
    color: #047857;
    font-size: 0.875rem;
    margin-top: 32px;
    border-top: 1px solid rgba(209, 250, 229, 0.5);
    background: rgba(240, 249, 244, 0.8);
    border-radius: 12px 12px 0 0;
    backdrop-filter: blur(10px);
}

/* Responsive Design */
@media (max-width: 480px) {
    body {
        background: #f8fafc;
        color: #1e293b;
    }
    
    .container {
        padding: 16px;
        max-width: 100%;
    }
    
    .logo {
        height: 60px;
    }
    
    .logo-container {
        padding: 12px;
        margin-bottom: 20px;
        background: #f0f9f4;
        border: 1px solid #d1fae5;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    }
    
    .main-title {
        font-size: 1.75rem;
        color: #065f46;
    }
    
    .subtitle {
        font-size: 0.875rem;
        color: #047857;
    }
    
    .bank-btn {
        padding: 16px;
        border-width: 1px;
        background: #ffffff;
        border: 1px solid #d1fae5;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        -webkit-tap-highlight-color: rgba(16, 185, 129, 0.1);
        touch-action: manipulation;
    }
    
    .bank-logo {
        width: 40px;
        height: 40px;
        background: #f0f9f4;
    }
    
    .bank-name {
        font-size: 1rem;
        color: #065f46;
    }
    
    .bank-btn:active {
        background: #f0f9f4 !important;
        transform: scale(0.98);
        border-color: #10b981;
    }
    
    .bank-btn:hover {
        border-color: #10b981;
        background: #f0f9f4;
    }
    
    .bank-btn:hover .bank-name {
        color: #047857;
    }
    
    .footer {
        background: #f0f9f4;
        border-top: 1px solid #d1fae5;
        color: #047857;
    }
}

/* Animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header, .bank-btn {
    animation: fadeInUp 0.6s ease forwards;
}

.bank-btn:nth-child(1) { animation-delay: 0.1s; }
.bank-btn:nth-child(2) { animation-delay: 0.2s; }
.bank-btn:nth-child(3) { animation-delay: 0.3s; }

/* Focus states for accessibility */
.bank-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%);
        color: #f0f9f4;
    }
    
    .container {
        background: transparent;
    }
    
    .logo-container {
        background: rgba(6, 78, 59, 0.8);
        border-color: rgba(16, 185, 129, 0.3);
    }
    
    .main-title {
        color: #f0f9f4;
    }
    
    .subtitle {
        color: #a7f3d0;
    }
    
    .bank-btn {
        background: rgba(6, 78, 59, 0.9);
        border-color: rgba(16, 185, 129, 0.3);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    
    .bank-btn:hover {
        border-color: #10b981;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
        background: rgba(6, 95, 70, 0.95);
    }
    
    .bank-name {
        color: #f0f9f4;
    }
    
    .bank-btn:hover .bank-name {
        color: #a7f3d0;
    }
    
    .footer {
        color: #a7f3d0;
        border-top-color: rgba(16, 185, 129, 0.3);
        background: rgba(6, 78, 59, 0.8);
    }
} 