* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #fbb184;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: backgroundMove 20s linear infinite;
    pointer-events: none;
}

@keyframes backgroundMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.container {
    background: white;
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.25), 0 10px 30px rgba(0,0,0,0.15);
    max-width: 1200px;
    width: 100%;
    overflow: hidden;
    animation: slideIn 0.6s ease-out;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header {
    background: linear-gradient(135deg, #cc208e 0%, #903bfe 100%);
    background-image: url(bg_img.png);
    background-size: cover;
    padding: 50px 30px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    animation: headerGlow 8s ease-in-out infinite;
}

@keyframes headerGlow {
    0%, 100% { transform: translate(0%, 0%) scale(1); }
    50% { transform: translate(10%, 10%) scale(1.1); }
}

.logo {
    width: 300px;
    height: 300px;
    margin: 0 auto 20px;
    animation: float 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.2));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.2));
}

h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3), 0 0 20px rgba(255,255,255,0.3);
    position: relative;
    z-index: 1;
    letter-spacing: 1px;
    font-weight: 700;
}

.slogan {
    font-size: 1.3em;
    font-weight: 300;
    line-height: 1.6;
    margin-top: 15px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(10px);
    padding: 20px 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.174);
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.slogan strong {
    font-weight: 900;
    color: #ffffff;
}

.content {
    padding: 20px 10px;
}

.section {
    margin-bottom: 30px;
}

.section h2 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.8em;
    border-left: 5px solid #f5576c;
    padding-left: 15px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.feature-card {
    background: linear-gradient(135deg, rgba(102,126,234,0.08) 0%, rgba(118,75,162,0.08) 100%);
    padding: 25px;
    border-radius: 18px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(102,126,234,0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102,126,234,0.1) 0%, rgba(118,75,162,0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.25), 0 5px 15px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.feature-card h3 {
    color: #764ba2;
    margin-bottom: 8px;
    font-size: 1.2em;
}

.feature-card p {
    color: #666;
    font-size: 0.95em;
    line-height: 1.5;
}

.qr-section {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 50%, #ff9a9e 100%);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(252, 182, 159, 0.3);
}

.qr-section::before {
    content: '💰';
    position: absolute;
    font-size: 150px;
    opacity: 0.05;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    pointer-events: none;
}

.qr-code {
    background: white;
    padding: 20px;
    border-radius: 20px;
    display: inline-block;
    margin: 20px auto;
    box-shadow: 0 15px 45px rgba(0,0,0,0.2), 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
}

.qr-code:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 60px rgba(0,0,0,0.25), 0 8px 20px rgba(0,0,0,0.15);
}

.qr-code img {
    width: 300px;
    height: 300px;
    display: block;
}

.funny-notes {
    background: #fff9e6;
    border-left: 5px solid #ffd700;
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 10px 10px 0;
}

.funny-notes h3 {
    color: #ff6b6b;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.funny-notes ul {
    list-style: none;
    padding-left: 0;
}

.funny-notes li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #555;
    line-height: 1.6;
}

.funny-notes li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
    font-size: 1.2em;
}

.disclaimer {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    font-size: 0.9em;
    color: #666;
    text-align: center;
    font-style: italic;
}

.cta-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    padding: 1px 6px;
    border: 1px outset buttonborder;
    border-radius: 3px;
    color: buttontext;
    background-color: buttonface;
    text-decoration: none;
    color: white;
    padding: 16px 45px;
    border: none;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    display: inline-block;
    margin: 20px auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4), 0 3px 10px rgba(102, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.cta-button::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;
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.5), 0 6px 15px rgba(102, 126, 234, 0.3);
    background-position: 100% 0;
}

.cta-button:active {
    transform: translateY(-2px) scale(0.98);
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        border-radius: 15px;
    }

    .header {
        padding: 30px 20px;
    }

    .logo {
        width: 120px;
        height: 120px;
    }

    h1 {
        font-size: 2em;
    }
    
    .slogan {
        font-size: 1em;
        padding: 12px;
    }

    .content {
        padding: 25px 20px;
    }

    .section h2 {
        font-size: 1.5em;
        padding-left: 12px;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .feature-card {
        padding: 18px;
    }

    .feature-icon {
        font-size: 2em;
    }

    .qr-section {
        padding: 25px 20px;
    }
    
    .qr-code img {
        width: 250px;
        height: 250px;
    }

    .qr-code {
        padding: 15px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 1em;
        width: 100%;
    }

    .funny-notes {
        padding: 15px;
    }

    .funny-notes h3 {
        font-size: 1.1em;
    }

    .funny-notes li {
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.6em;
    }

    .slogan {
        font-size: 0.9em;
    }

    .logo {
        width: 100px;
        height: 100px;
    }

    .section h2 {
        font-size: 1.3em;
    }

    .qr-code img {
        width: 200px;
        height: 200px;
    }

    .feature-card h3 {
        font-size: 1.1em;
    }

    .feature-card p {
        font-size: 0.9em;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 900px;
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    h1 {
        font-size: 2.2em;
    }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Language Selector */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.lang-toggle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.lang-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(102, 126, 234, 0.6);
}

.lang-toggle:active {
    transform: scale(0.95);
}

.lang-dropdown {
    position: absolute;
    top: 60px;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    gap: 4px;
    min-width: 140px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-dropdown.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lang-btn {
    padding: 10px 16px;
    border: none;
    background: transparent;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.95em;
    font-weight: 600;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    color: #667eea;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    text-align: left;
}

.lang-btn:hover {
    background: linear-gradient(135deg, rgba(102,126,234,0.1) 0%, rgba(118,75,162,0.1) 100%);
    transform: translateX(4px);
}

.lang-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 700;
}

@media (max-width: 768px) {
    .language-selector {
        top: 15px;
        right: 15px;
    }
    
    .lang-toggle {
        width: 45px;
        height: 45px;
        font-size: 1.3em;
    }
    
    .lang-dropdown {
        top: 55px;
        min-width: 130px;
    }
    
    .lang-btn {
        padding: 8px 12px;
        font-size: 0.85em;
    }

}
