:root {
    --primary-color: #6f42c1;
    --secondary-color: #ff6b6b;
    --crypto-color: #f7931a;
    --dark-bg: #1a1a2e;
    --light-bg: #f8f9fa;
    --text-dark: #2d3436;
    --text-light: #636e72;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: var(--text-dark);
}

/* Language Toggle */
.language-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.language-toggle .btn {
    border-radius: 25px;
    padding: 10px 20px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.language-toggle .btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    padding: 100px 0 50px;
    text-align: center;
    color: white;
}

.coffee-icon {
    font-size: 80px;
    margin-bottom: 30px;
    animation: float 3s ease-in-out infinite;
}

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

.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.hero-section .lead {
    font-size: 1.3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Payment Section */
.payment-section {
    position: relative;
}

.payment-card {
    margin-bottom: 30px;
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2) !important;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #5a32a3 100%);
}

.bg-gradient-crypto {
    background: linear-gradient(135deg, var(--crypto-color) 0%, #e67e22 100%);
}

.card-header h3 {
    font-weight: 600;
}

/* Coffee Selection */
.coffee-selection {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #dee2e6;
}

.coffee-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.coffee-btn {
    background: white;
    border: 3px solid #dee2e6;
    border-radius: 12px;
    padding: 20px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.coffee-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(111, 66, 193, 0.1), transparent);
    transition: left 0.5s ease;
}

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

.coffee-btn i {
    font-size: 1.2rem;
    color: #6f42c1;
    display: inline-block;
    margin: 0 2px;
}

.coffee-btn .amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.coffee-btn .label {
    font-size: 0.85rem;
    color: var(--text-light);
}

.coffee-btn:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(111, 66, 193, 0.3);
}

.coffee-btn.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, #5a32a3 100%);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(111, 66, 193, 0.4);
}

.coffee-btn.active i,
.coffee-btn.active .amount,
.coffee-btn.active .label {
    color: white;
}

.custom-amount .input-group {
    max-width: 350px;
}

.custom-amount input {
    border: 2px solid #dee2e6;
    padding: 12px;
}

.custom-amount input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(111, 66, 193, 0.25);
}

.custom-amount .btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.selected-amount-display {
    margin-top: 15px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #6f42c1 0%, #5a32a3 100%);
    color: white;
    border-radius: 10px;
    font-size: 1.1rem;
}

.selected-amount-display strong {
    font-size: 1.3rem;
    margin-left: 8px;
}

/* QR Code */
.qr-container {
    padding: 20px;
    background: white;
    border-radius: 15px;
    display: inline-block;
}

.qr-container img {
    max-width: 280px;
    height: auto;
    border-radius: 10px;
}

/* Bank Info */
.bank-info {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
}

.info-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.info-item label {
    display: block;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 8px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item span {
    display: block;
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.copy-text {
    cursor: pointer;
    padding: 10px 15px;
    background: white;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.copy-text:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.copy-text i {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Crypto Items */
.crypto-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.crypto-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.crypto-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.crypto-header i {
    font-size: 2rem;
    margin-right: 15px;
    color: var(--crypto-color);
}

.crypto-header h5 {
    margin: 0;
    font-weight: 600;
}

.crypto-address {
    display: flex;
    gap: 10px;
}

.crypto-address input {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    background: white;
    border: 2px solid #dee2e6;
    padding: 12px;
}

.crypto-address button {
    min-width: 50px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.crypto-address button:hover {
    transform: scale(1.05);
}

/* Thank You Section */
.thankyou-section {
    color: white;
}

.thank-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.thank-card i {
    font-size: 60px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    animation: heartbeat 1.5s ease-in-out infinite;
}

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

.thank-card h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.thank-card p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.2);
    color: white;
    margin-top: 50px;
}

.footer p {
    font-size: 1rem;
    opacity: 0.9;
}

.footer i {
    margin: 0 5px;
}

/* Alert */
.alert-info {
    background: rgba(13, 202, 240, 0.1);
    border: 1px solid rgba(13, 202, 240, 0.3);
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0 30px;
    }

    .coffee-icon {
        font-size: 60px;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 1.1rem;
    }

    .coffee-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .coffee-btn {
        padding: 15px 8px;
    }

    .coffee-btn .amount {
        font-size: 1rem;
    }

    .bank-info {
        padding: 20px;
    }

    .thank-card {
        padding: 30px 20px;
    }

    .thank-card h2 {
        font-size: 1.8rem;
    }

    .qr-container img {
        max-width: 220px;
    }

    .crypto-address {
        flex-direction: column;
    }

    .crypto-address button {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .language-toggle {
        top: 10px;
        right: 10px;
    }

    .language-toggle .btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

/* Copy Animation */
@keyframes copied {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.copied {
    animation: copied 0.3s ease;
    background: #28a745 !important;
    color: white !important;
    border-color: #28a745 !important;
}