:root {

    --primary: #d81b60;      
    --primary-light: #f48fb1; 
    --gold: #d4af37;         
    --gold-light: #f3e5ab;   
    --dark: #2d3436;         
    --light: #fffafb;        
    --white: #ffffff;

    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
    --transition-slow: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 4px 12px rgba(216, 27, 96, 0.08);
    --shadow: 0 10px 30px rgba(216, 27, 96, 0.12);
    --shadow-hover: 0 20px 40px rgba(216, 27, 96, 0.25);
    --radius-md: 16px;
    --radius-lg: 24px;
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.text-pink { color: var(--primary); }
.mt-4 { margin-top: 2rem; }
.bg-light { background-color: var(--white); }

h1, h2, h3, h4 {
    color: var(--dark);
    line-height: 1.2;
}

.title-playfair {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    line-height: 1.1;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #636e72;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: 'Outfit', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #e91e63);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.glow-effect {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.glow-effect::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-25deg);
    transition: var(--transition-slow);
    z-index: -1;
}

.glow-effect:hover::before {
    left: 150%;
    transition: var(--transition-slow);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

header.scrolled .logo,
header.scrolled .btn-outline {
    color: var(--primary);
    border-color: var(--primary);
}

header.scrolled .btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

header.scrolled .icon-link {
    color: var(--primary);
}

header.scrolled .icon-link:hover {
    color: #e91e63;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.logo span {
    font-weight: 300;
}

.gold-icon {
    color: var(--gold);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.icon-link {
    color: var(--white);
    font-size: 1.8rem;
    transition: var(--transition);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.icon-link:hover {
    transform: scale(1.1);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('assets/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; 
    color: var(--white);
    padding-top: 80px;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero .subtitle {
    font-size: 1.25rem;
    margin: 0 auto 2.5rem auto;
    max-width: 700px;
    opacity: 0.95;
    line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.decorator-info {
    margin-top: 3.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: inline-block;
    padding: 0.8rem 2rem;
    border-top: 1px solid rgba(255,255,255,0.3);
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

.section-padding {
    padding: 6rem 0;
}

.grid {
    display: grid;
    gap: 2rem;
}

.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    background: var(--white);
    border-color: var(--primary-light);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(244, 143, 177, 0.4);
}

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

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.rules {
    background: linear-gradient(135deg, var(--primary), #b3124d);
    position: relative;
    overflow: hidden;
}

.rules::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.03)"/></svg>') repeat;
    background-size: 100px 100px;
}

.rules-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    position: relative;
    z-index: 2;
}

.rule-box {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    color: var(--white); 
}

.rule-box:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.rule-icon {
    font-size: 3rem;
    color: var(--gold-light);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.rule-box h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.rule-box p {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    font-size: 1.05rem;
}

.footer {
    background: var(--dark);
    color: var(--white);
    padding: 5rem 0 2rem;
}

.footer h2 {
    color: var(--white);
    font-family: 'Playfair Display', serif;
}

.contact-info {
    margin: 3rem 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
    background: rgba(255,255,255,0.05);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    color: var(--white);
    transition: var(--transition);
}

.contact-item:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

.contact-item i {
    font-size: 2rem;
    color: #25D366; 
}

.instagram-item i {
    background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
}

.small-text {
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.developer-credit {
    font-size: 0.85rem;
    margin-top: 1.5rem;
    color: rgba(255,255,255,0.4);
}

.developer-credit a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: var(--transition);
}

.developer-credit a:hover {
    color: var(--primary-light);
}

.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.floating-wa::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #25D366;
    border-radius: 50%;
    z-index: -1;
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.floating-wa:hover {
    transform: scale(1.08);
    background-color: #1ebc5a;
}

@keyframes pulse-ring {
    0% { transform: scale(0.95); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

@media (max-width: 768px) {
    .section-padding {
        padding: 4rem 0; 
    }

    header {
        padding: 1rem 0;
    }

    .nav-content .btn-outline {
        display: none; 
    }

    .title-playfair {
        font-size: clamp(2.2rem, 8vw, 3rem); 
        margin-bottom: 1.2rem;
    }

    .hero .subtitle {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
        padding: 0 10px;
    }

    .decorator-info {
        margin-top: 2rem;
        padding: 0.6rem 1.2rem;
        font-size: 0.75rem;
        letter-spacing: 2px;
    }

    .rules-grid {
        grid-template-columns: 1fr; 
        gap: 1.5rem;
    }

    .rule-box {
        padding: 2rem 1.5rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        border-radius: var(--radius-lg);
        width: 100%; 
    }

    .footer {
        padding: 4rem 0 2rem;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr; 
    }

    .btn-large {
        padding: 0.8rem 1.5rem; 
        font-size: 1rem;
        width: 100%; 
    }

    .floating-wa {
        width: 55px;
        height: 55px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }
}
