/* Festgeld Banks - Modern Design */

/* Hero Section Styles */
.festgeld-corporate-hero {
    background: linear-gradient(135deg, #0a1628 0%, #1e3a8a 50%, #0369a1 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.float-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s infinite ease-in-out;
}

.element-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.element-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 5%;
    animation-delay: 7s;
}

.element-3 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 30%;
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}

.hero-content {
    color: white;
    z-index: 2;
    position: relative;
}

.hero-badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.badge-icon {
    color: #fbbf24;
}

.corporate-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
}

.gradient-highlight {
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.corporate-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
}

.key-benefits {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.benefit-text h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
}

.benefit-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-corporate {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-corporate.primary {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
}

.btn-corporate.secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-corporate:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-visual {
    position: relative;
    z-index: 2;
}

.investment-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    color: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.card-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.card-badge {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.amount-display {
    text-align: center;
    margin-bottom: 2rem;
}

.currency {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.7;
}

.amount {
    font-size: 3rem;
    font-weight: 800;
    margin-left: 0.5rem;
}

.investment-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.detail-row.total {
    background: rgba(251, 191, 36, 0.2);
    border-color: rgba(251, 191, 36, 0.3);
    margin-top: 0.5rem;
}

.detail-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.detail-label i {
    width: 16px;
    text-align: center;
}

.rate-highlight {
    color: #fbbf24;
    font-weight: 700;
    font-size: 1.1rem;
}

.earning {
    color: #10b981;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Trust Bar */
.corporate-trust-bar {
    background: white;
    padding: 4rem 0;
    border-top: 1px solid #e5e7eb;
}

.trust-indicators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.trust-indicator {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.trust-indicator:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.indicator-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.indicator-text h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
}

.indicator-text p {
    margin: 0;
    color: #6b7280;
    font-size: 0.9rem;
}

/* Calculator Section */
.advanced-calculator-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Calculator Styles */
.calculator-container {
    max-width: 1200px;
    margin: 0 auto;
}

.calculator-wrapper {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    border: 1px solid #e5e7eb;
}

.calculator-inputs {
    padding-right: 2rem;
}

.input-group-modern {
    margin-bottom: 2rem;
}

.input-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 0.75rem;
    margin-bottom: 1rem;
}

.input-prefix {
    color: #6b7280;
    font-weight: 600;
    padding: 0 0.5rem;
}

.calc-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    text-align: center;
    outline: none;
}

.input-slider input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    outline: none;
}

.input-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-radius: 50%;
    cursor: pointer;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    color: #6b7280;
    font-size: 0.8rem;
}

.duration-selector {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
}

.duration-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.duration-option:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
}

.duration-option.active {
    border-color: #1e40af;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
}

.duration-period {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.duration-unit {
    font-size: 0.8rem;
    opacity: 0.7;
}

.calculator-results {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.result-item.primary {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
}

.result-item.success {
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
}

.result-item.total {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: white;
}

.result-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.result-content {
    flex: 1;
}

.result-label {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    opacity: 0.8;
}

.result-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.calculator-actions {
    display: flex;
    gap: 1rem;
}

.btn-calc {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-calc.primary {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
}

.btn-calc.secondary {
    background: white;
    color: #1e40af;
    border: 2px solid #1e40af;
}

.btn-calc:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Other Sections */
.corporate-features {
    padding: 6rem 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 1.5rem auto;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.feature-content p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-highlight {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
}

.corporate-statistics {
    background: linear-gradient(135deg, #1a365d 0%, #2563eb 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.corporate-statistics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.03"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    pointer-events: none;
}

.premium-cta {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.premium-cta h2 {
    color: #ffffff !important;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.premium-cta p {
    color: #e2e8f0 !important;
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.premium-cta .cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1rem;
}

.btn-cta.primary {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
}

.btn-cta.secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Statistics */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.2));
    border: 2px solid rgba(251, 191, 36, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
    color: #fbbf24;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.15);
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: #e0e7ff;
    font-weight: 500;
    opacity: 0.9;
    opacity: 0.8;
}

/* CTA Section */
.cta-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Form Styles */
.modern-form .form-group {
    margin-bottom: 1.5rem;
}

.modern-form .form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.modern-form .form-control,
.modern-form .form-select {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.modern-form .form-control:focus,
.modern-form .form-select:focus {
    border-color: #1e40af;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

/* Share Modal */
.share-content {
    padding: 1rem;
}

.calculation-summary {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
}

.summary-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-row.highlight {
    color: #059669;
    font-weight: 600;
}

.summary-row.total {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-top: 0.5rem;
    border: none;
}

.summary-label {
    font-weight: 500;
    color: #6b7280;
}

.summary-row.total .summary-label,
.summary-row.total .summary-value {
    color: white;
    font-weight: 700;
}

.summary-value {
    font-weight: 600;
    color: #1f2937;
}

.share-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.share-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: #6b7280;
}

.share-btn:hover {
    border-color: #1e40af;
    color: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.share-btn i {
    font-size: 1.5rem;
}

/* Bank Offers Section */
#bank-offers {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 80px 0;
    position: relative;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#bank-offers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23f8fafc" fill-opacity="1" d="M0,128L48,138.7C96,149,192,171,288,165.3C384,160,480,128,576,128C672,128,768,160,864,165.3C960,171,1056,149,1152,144C1248,139,1344,149,1392,154.7L1440,160L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>') no-repeat;
    background-size: cover;
    opacity: 0.5;
}

#bank-offers .container {
    position: relative;
    z-index: 10;
}

#bank-offers h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: -1px;
}

#bank-offers > .container > p {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 3rem;
}

/* Filter Pills */
#bank-offers .btn-group {
    background: white;
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    gap: 6px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

#bank-offers .btn-group .btn {
    border: none !important;
    background: transparent !important;
    color: #64748b !important;
    padding: 12px 28px !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 0.9375rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: none !important;
    outline: none !important;
    position: relative !important;
    overflow: hidden !important;
    text-transform: none !important;
}

#bank-offers .btn-group .btn:hover {
    background: #f0fdf4 !important;
    color: #10b981 !important;
    transform: translateY(-1px);
}

#bank-offers .btn-group .btn.active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4) !important;
    transform: translateY(-1px);
}

/* Banks Grid */
#banks-grid {
    margin-top: 3rem;
    min-height: 200px;
    position: relative;
    overflow: visible;
    padding-top: 15px;
}

/* Bank Card - Clean Modern Design */
.bank-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.bank-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #059669);
    border-radius: 16px 16px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bank-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    border-color: rgba(16, 185, 129, 0.2);
}

.bank-card:hover::before {
    opacity: 1;
}

/* Bank Header */
.bank-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.bank-logo-small {
    width: 70px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 12px;
    padding: 10px;
    transition: all 0.3s ease;
}

.bank-card:hover .bank-logo-small {
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    transform: scale(1.05);
}

.bank-logo-small img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.bank-icon-small {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.bank-info-compact {
    flex: 1;
    min-width: 0;
}

.bank-info-compact h6 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.bank-info-compact .country {
    font-size: 0.875rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.bank-info-compact .country i {
    font-size: 0.75rem;
    color: #94a3b8;
}

/* Rate Badge */
.rate-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 8px 16px;
    border-radius: 24px;
    font-weight: 800;
    font-size: 1.125rem;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Bank Details */
.bank-details-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 24px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 16px;
}

.detail-item-compact {
    text-align: center;
    padding: 8px;
}

.detail-label-compact {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.detail-value-compact {
    font-size: 1rem;
    font-weight: 800;
    color: #1e293b;
}

.detail-value-compact.earnings {
    color: #10b981;
    font-size: 1.125rem;
}

/* Apply Button */
.btn-apply-compact {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: relative;
    overflow: hidden;
    text-transform: none;
    letter-spacing: normal;
}

.btn-apply-compact::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 ease;
}

.btn-apply-compact:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.btn-apply-compact:hover::before {
    left: 100%;
}

.btn-apply-compact:hover i {
    transform: translateX(4px);
}

.btn-apply-compact i {
    transition: transform 0.3s ease;
}

/* Top Indicators */
.top-indicator {
    position: absolute;
    top: -12px;
    right: 20px;
    padding: 5px 14px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 10;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.top-indicator.top-1 {
    background: linear-gradient(135deg, #10b981, #059669);
    animation: pulse 2s infinite;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.top-indicator.top-2 {
    background: linear-gradient(135deg, #64748b, #475569);
}

.top-indicator.top-3 {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes pulse {
    0% {
        box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 6px 30px rgba(16, 185, 129, 0.6);
    }
    100% {
        box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    }
}

/* Loading State */
#loading-banks {
    padding: 60px 0;
    display: block;
}

#loading-banks.d-none {
    display: none !important;
}

#loading-banks .spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3rem;
    color: #10b981;
}

/* Responsive Design */
@media (max-width: 768px) {
    #bank-offers {
        padding: 60px 0;
    }
    
    #bank-offers h2 {
        font-size: 1.875rem;
    }
    
    #bank-offers .btn-group {
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px;
    }
    
    #bank-offers .btn-group .btn {
        padding: 10px 20px !important;
        font-size: 0.875rem !important;
    }
    
    .bank-card {
        padding: 20px;
    }
    
    .bank-details-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 16px;
    }
    
    .detail-item-compact {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
}

/* Grid Column Adjustments */
#banks-grid {
    display: flex !important;
    flex-wrap: wrap !important;
}

#banks-grid > * {
    display: block !important;
    visibility: visible !important;
}

#banks-grid .col-lg-4 {
    margin-bottom: 24px;
    padding-top: 12px;
}

@media (min-width: 992px) {
    #banks-grid .col-lg-4:nth-child(3n) {
        padding-right: 15px;
    }
}