/* Elele Modern UI - Warm & Friendly Theme */
/* Version: 2.0 Clean */

:root {
    --gradient-primary: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    --primary: #FF6B6B;
    --primary-dark: #E85555;
    --secondary: #FF8E53;
    --bg-light: #FFFAF7;
    --bg-card: rgba(255, 255, 255, 0.95);
    --text-dark: #2D2D2D;
    --text-medium: #5A5A5A;
    --shadow-sm: 0 2px 8px rgba(255, 107, 107, 0.08);
    --shadow-md: 0 8px 30px rgba(255, 107, 107, 0.12);
    --shadow-lg: 0 20px 60px rgba(255, 107, 107, 0.15);
    --radius-md: 20px;
    --radius-lg: 30px;
    --radius-xl: 40px;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background: var(--bg-light);
    padding: 0;
    margin: 0;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 20% 20%, rgba(255, 107, 107, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 80%, rgba(255, 142, 83, 0.08) 0%, transparent 50%),
                var(--bg-light);
    z-index: -1;
    pointer-events: none;
}

::selection { background: var(--primary); color: white; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--gradient-primary); border-radius: 5px; }

p { margin: 15px 0; line-height: 1.8; color: var(--text-medium); }
a { color: inherit; text-decoration: none; transition: var(--transition-normal); }
strong, b { font-weight: 700; color: var(--primary); }

h2 { font-size: 36px; font-weight: 800; margin: 50px 0 25px 0; color: var(--text-dark); }
h2.text-center {
    text-align: center;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
h3 { font-size: 22px; font-weight: 700; margin: 30px 0 15px 0; color: var(--text-dark); }
img { max-width: 100%; height: auto; display: block; }

.row { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.clearfix::after { content: ""; display: table; clear: both; }
.float-left { float: left; }
.float-right { float: right; }
.text-center { text-align: center; }
.small-12, .medium-8, .large-6, .columns { width: 100%; float: left; padding: 0 15px; }

.header { display: block; width: 100%; height: auto; position: absolute; top: 0; z-index: 99; }
.header .row {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px;
}
.header .row::after, .header .row::before { display: none !important; }

.header-logo {
    width: 96px; height: 96px;
    display: block !important;
    background: url('../images/header-logo.png') no-repeat left top;
    background-size: cover;
    transition: var(--transition-bounce);
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.2));
    flex-shrink: 0;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.header-logo:hover { transform: scale(1.1) rotate(3deg); }

.header-social {
    display: flex !important;
    align-items: center;
    position: relative;
    z-index: 100;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.notifidiv {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    width: 100%;
    position: relative;
    overflow: hidden;
}
.notifidiv::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 200%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 3s infinite;
}
@keyframes shimmer { 0% { transform: translateX(-50%); } 100% { transform: translateX(50%); } }

.notifip {
    padding: 12px 20px;
    font-weight: 600;
    font-size: 14px;
    margin: 0;
    position: relative;
    z-index: 1;
    color: white;
}

#langSelect {
    position: relative;
    z-index: 101;
    padding: 12px 24px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 50px;
    background: rgba(255,255,255,0.95);
    cursor: pointer;
    transition: var(--transition-normal);
    font-weight: 600;
    font-size: 14px;
    box-shadow: var(--shadow-md);
    height: auto !important;
    margin: 0 !important;
    color: var(--text-dark);
}
#langSelect:hover { border-color: white; transform: translateY(-3px); box-shadow: var(--shadow-lg); }
#langSelect:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.2); }

.showcase {
    width: 100%;
    position: relative;
    display: block;
    min-height: 700px;
    overflow: hidden;
}
.showcase::after {
    content: '💕';
    position: absolute;
    font-size: 30px;
    animation: float-hearts 8s ease-in-out infinite;
    opacity: 0.4;
    right: 15%; top: 30%;
    z-index: 1;
    pointer-events: none;
}
.showcase::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.05));
    z-index: 0;
    pointer-events: none;
}
@keyframes float-hearts {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); opacity: 0.4; }
    50% { transform: translateY(-30px) rotate(10deg) scale(1.1); opacity: 0.6; }
}

#bgimage {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.12), rgba(255, 142, 83, 0.08)), 
                url('/assets/default/images/background.webp') no-repeat center top;
    background-size: cover;
    min-height: 80vh;
}

.showcase-left { position: relative; z-index: 2; }
.showcase-text { width: 100%; position: relative; display: block; margin-top: 244px; animation: fadeInUp 0.8s ease; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

.showcase-text-title {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 58px;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    margin: 0; padding: 0;
    line-height: 1.1;
    letter-spacing: -2px;
}
.showcase-text-description {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    color: white;
    font-size: 20px;
    line-height: 1.7;
    margin: 15px 0 0 0;
    font-weight: 500;
    max-width: 500px;
}

.showcase-buttons { display: block; margin-top: 40px; }
.showcase-buttons-item {
    display: inline-block;
    margin-right: 12px;
    transition: var(--transition-bounce);
    border-radius: 16px;
    overflow: hidden;
}
.showcase-buttons-item::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: var(--gradient-primary);
    border-radius: 18px;
    opacity: 0;
    transition: var(--transition-normal);
    z-index: -1;
    filter: blur(15px);
}
.showcase-buttons-item:hover { transform: translateY(-8px) scale(1.02); }
.showcase-buttons-item:hover::before { opacity: 0.6; }
div.showcase-left > div.showcase-buttons > a.showcase-buttons-item > img { width: auto; height: 68px; }

.comments { width: 100%; display: block; padding-top: 80px; padding-bottom: 120px; }
.comments-text {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 50px 60px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 107, 107, 0.1);
    position: relative;
    overflow: hidden;
}
.comments-text::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--gradient-primary); }
.comments-text-title {
    text-align: center;
    margin: 0 0 30px 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 42px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.comments-text-description { margin: 20px 0 0 0; font-size: 18px; color: var(--text-medium); line-height: 1.9; }
.comments-text-description b, .comments-text-description strong { color: var(--primary); font-weight: 700; }
.comments-text a, ul a { color: var(--primary); font-weight: 600; }
.comments-text a:hover, ul a:hover { color: var(--primary-dark); }

ul { list-style: none; padding: 0; }
ul.menu { margin: 30px 0; }
li {
    padding: 18px 25px;
    margin: 12px 0;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.03) 0%, rgba(255, 142, 83, 0.03) 100%);
    border-left: 4px solid transparent;
    transition: var(--transition-normal);
}
li:hover { background: linear-gradient(135deg, rgba(255, 107, 107, 0.08) 0%, rgba(255, 142, 83, 0.05) 100%); border-left-color: var(--primary); transform: translateX(8px); }

[itemtype="https://schema.org/FAQPage"] > div {
    background: var(--bg-card);
    padding: 30px 35px;
    margin: 20px 0;
    border-radius: var(--radius-lg);
    border-left: 5px solid var(--primary);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}
[itemtype="https://schema.org/FAQPage"] > div:hover { transform: translateX(10px); box-shadow: var(--shadow-md); border-left-color: var(--secondary); }

.howto-section { width: 100%; margin: 80px 0; padding: 60px 0; border-radius: var(--radius-xl); }
.howto-header { text-align: center; margin-bottom: 60px; }
.howto-title { font-size: 46px; font-weight: 800; margin: 0 0 25px 0; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.howto-description { font-size: 19px; color: var(--text-medium); line-height: 1.9; max-width: 700px; margin: 0 auto; }
.howto-requirements { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin: 50px 0 70px 0; }
.requirement-box { background: var(--bg-card); padding: 40px 35px; border-radius: var(--radius-lg); text-align: center; box-shadow: var(--shadow-md); transition: var(--transition-bounce); border: 2px solid transparent; }
.requirement-box:hover { transform: translateY(-12px); box-shadow: var(--shadow-lg); border-color: rgba(255, 107, 107, 0.2); }
.requirement-icon { font-size: 56px; margin-bottom: 20px; display: inline-block; }
.requirement-box h3 { font-size: 22px; font-weight: 700; margin: 15px 0; color: var(--primary); }
.requirement-box p { font-size: 16px; color: var(--text-medium); margin: 10px 0; line-height: 1.7; }
.howto-steps { max-width: 900px; margin: 0 auto; }
.howto-step { display: flex; align-items: flex-start; gap: 30px; margin: 35px 0; padding: 35px 40px; background: var(--bg-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: var(--transition-normal); }
.howto-step:hover { transform: translateX(12px); box-shadow: var(--shadow-md); }
.step-number { flex-shrink: 0; width: 65px; height: 65px; background: var(--gradient-primary); color: white; font-size: 28px; font-weight: 800; display: flex; align-items: center; justify-content: center; border-radius: 50%; box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3); transition: var(--transition-bounce); }
.howto-step:hover .step-number { transform: rotate(360deg) scale(1.1); }
.step-content { flex: 1; }
.step-content h3 { font-size: 24px; font-weight: 700; margin: 0 0 15px 0; color: var(--text-dark); }
.step-content p { font-size: 17px; color: var(--text-medium); line-height: 1.8; margin: 0; }

.footer { position: relative; width: 100%; display: block; margin-top: 60px; }
.footer::before {
    content: '';
    position: absolute;
    top: -49px; left: 0; right: 0;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath fill='%23FF6B6B' d='M0,64L48,69.3C96,75,192,85,288,80C384,75,480,53,576,48C672,43,768,53,864,64C960,75,1056,85,1152,80C1248,75,1344,53,1392,42.7L1440,32L1440,120L1392,120C1344,120,1248,120,1152,120C1056,120,960,120,864,120C768,120,672,120,576,120C480,120,384,120,288,120C192,120,96,120,48,120L0,120Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
}
.footer-menu { position: relative; width: 100%; display: block; background: #FF6B6B; text-align: center; }
.footer-menu-item { font-size: 12px; color: rgba(255,255,255,0.9); padding: 22px 12px; display: inline-block; transition: var(--transition-normal); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.footer-menu-item:hover { color: white; transform: translateY(-3px); }
.footer-copyright { width: 100%; background: linear-gradient(180deg, #FFF5F3 0%, #FFFAF7 100%); padding: 90px 0 40px 0; }
.footer-copyright .row { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; }
.footer-copyright .row::after, .footer-copyright .row::before { display: none !important; }
.footer-copyright-text { display: block; font-size: 15px; color: var(--text-dark); margin: 0; font-weight: 600; }
.footer-copyright-social { display: block; line-height: 0; }
.footer-copyright-social-icon { width: 48px; height: 48px; margin-left: 8px; display: inline-block; transition: var(--transition-bounce); border-radius: 50%; box-shadow: var(--shadow-sm); background-color: white; border: 2px solid transparent; }
.footer-copyright-social-icon:hover { transform: translateY(-10px) scale(1.1); box-shadow: var(--shadow-md); border-color: var(--primary); }
.footer-copyright-social-icon.facebook { background: white url('../images/facebook.svg') no-repeat center; background-size: 22px; }
.footer-copyright-social-icon.twitter { background: white url('../images/x.svg') no-repeat center; background-size: 22px; }
.footer-copyright-social-icon.instagram { background: white url('../images/instagram.svg') no-repeat center; background-size: 22px; }
.footer-copyright-social-icon.youtube { background: white url('../images/youtube.svg') no-repeat center; background-size: 22px; }

a:focus-visible, button:focus-visible, select:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }

@media screen and (max-width: 767px) {
    .row { padding: 0 16px; }
    .header .row { padding: 12px 16px; display: flex !important; }
    .header .row::after, .header .row::before { display: none !important; }
    .header-logo { width: 70px; height: 70px; }
    #langSelect { padding: 8px 16px; font-size: 12px; max-width: 140px; }
    .showcase { text-align: center; min-height: 600px; }
    .showcase::after { display: none; }
    .showcase-text { margin-top: 180px; }
    .showcase-text-title { font-size: 36px; letter-spacing: -1px; }
    .showcase-text-description { font-size: 17px; max-width: 100%; }
    .showcase-buttons { margin-top: 30px; }
    .showcase-buttons-item { margin: 5px; }
    .showcase-buttons-item img { height: 52px; }
    .comments { padding-top: 50px; padding-bottom: 60px; }
    .comments-text { padding: 35px 25px; border-radius: var(--radius-lg); margin: 0 10px; }
    .comments-text-title { font-size: 32px; margin-top: 0; }
    .comments-text-description { font-size: 16px; }
    h2 { font-size: 28px; margin: 40px 0 20px 0; }
    h3 { font-size: 19px; margin: 25px 0 12px 0; }
    li { padding: 15px 20px; }
    .footer::before { height: 50px; top: -49px; }
    .footer-menu { padding: 15px 0; text-align: center; }
    .footer-menu-item { display: block; width: 100%; padding: 12px 0; text-align: center; }
    .footer-copyright { padding: 70px 20px 30px 20px; }
    .footer-copyright .row { flex-direction: column; padding: 0 20px; }
    .footer-copyright-text { width: 100%; text-align: center; margin-bottom: 20px; padding: 0 10px; }
    .footer-copyright-social { width: 100%; text-align: center; }
    .howto-section { margin: 50px 0; padding: 40px 0; }
    .howto-title { font-size: 32px; }
    .howto-description { font-size: 16px; padding: 0 15px; }
    .howto-requirements { grid-template-columns: 1fr; gap: 20px; margin: 35px 0 50px 0; padding: 0 15px; }
    .requirement-box { padding: 30px 25px; }
    .requirement-icon { font-size: 45px; }
    .howto-steps { padding: 0 15px; }
    .howto-step { flex-direction: column; align-items: center; text-align: center; padding: 30px 25px; margin: 20px 0; gap: 20px; }
    .step-number { width: 55px; height: 55px; font-size: 24px; }
    .step-content h3 { font-size: 20px; margin-top: 5px; }
    .step-content p { font-size: 15px; }
    [itemtype="https://schema.org/FAQPage"] > div { padding: 25px; margin: 15px 0; }
}

@media screen and (min-width: 768px) and (max-width: 1048px) {
    .row { padding: 0 30px; }
    .header .row { padding: 15px 30px; display: flex !important; }
    .header .row::after, .header .row::before { display: none !important; }
    .header-logo { width: 85px; height: 85px; }
    .showcase-text-title { font-size: 48px; }
    .showcase-buttons-item img { height: 60px; }
    .comments { padding-top: 60px; }
    .comments-text { padding: 45px 40px; }
    .comments-text-title { font-size: 38px; }
    h2 { font-size: 32px; }
    .howto-title { font-size: 38px; }
    .howto-requirements { grid-template-columns: repeat(2, 1fr); padding: 0 20px; }
    .howto-steps { padding: 0 20px; }
    .step-content h3 { font-size: 22px; }
}

@media screen and (min-width: 768px) { .medium-8 { width: 66.666%; } }
@media screen and (min-width: 1024px) { .large-6 { width: 50%; } }

@media print {
    body::before, .showcase::after, .notifidiv, .footer::before { display: none !important; }
    .showcase { min-height: auto; padding: 20px; }
    .comments-text, .howto-step, .requirement-box, [itemtype="https://schema.org/FAQPage"] > div { box-shadow: none; border: 1px solid #ddd; }
}

/* Mobile Content Center Fix */
@media screen and (max-width: 767px) {
    .comments-text {
        margin: 0 auto;
        text-align: center;
    }
    .comments-text-description {
        text-align: left;
    }
    .showcase-left {
        width: 100%;
        padding: 0 20px;
    }
}

/* Footer Menu Bottom Wave */
.footer-menu::after {
    content: '';
    position: absolute;
    bottom: -79px;
    left: 0;
    right: 0;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath fill='%23FF6B6B' d='M0,64L48,69.3C96,75,192,85,288,80C384,75,480,53,576,48C672,43,768,53,864,64C960,75,1056,85,1152,80C1248,75,1344,53,1392,42.7L1440,32L1440,120L1392,120C1344,120,1248,120,1152,120C1056,120,960,120,864,120C768,120,672,120,576,120C480,120,384,120,288,120C192,120,96,120,48,120L0,120Z'%3E%3C/path%3E%3C/svg%3E") no-repeat top;
    background-size: cover;
    transform: scaleY(-1);
    z-index: 1;
}

/* Mobile Footer Wave Fix */
@media screen and (max-width: 767px) {
    .footer-menu::after {
        height: 50px;
        bottom: -49px;
    }
}
