/* Reset e configurações base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #4a5568;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 25%, #e2e8f0 50%, #cbd5e0 75%, #a0aec0 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.8) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(247, 250, 252, 0.6) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(237, 242, 247, 0.7) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Header - Mobile First */
.header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #2d3748;
    text-align: center;
    padding: 2rem 1rem;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 4s infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.logo-container {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.logo {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2d3748;
    position: relative;
    z-index: 2;
    line-height: 1.3;
}

.header p {
    font-size: 1rem;
    opacity: 0.8;
    font-weight: 300;
    color: #4a5568;
    position: relative;
    z-index: 2;
    line-height: 1.4;
}

/* Container principal - Mobile First */
.container {
    max-width: 100%;
    margin: 0;
    padding: 1rem 0.75rem;
    position: relative;
    z-index: 1;
}

/* Cartão de introdução - Mobile */
.intro-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
}

.intro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #eba29c, #e2e8f0, #cbd5e0, #a0aec0, #eba29c);
    background-size: 300% 100%;
    animation: elegantShift 4s ease infinite;
}

@keyframes elegantShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.intro-card h2 {
    font-family: 'Playfair Display', serif;
    color: #2d3748;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
    line-height: 1.3;
}

.intro-card p {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Seções de dicas - Mobile */
.tips-section {
    margin-bottom: 2rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    color: #2d3748;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    line-height: 1.3;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #eba29c, #e2e8f0, #cbd5e0, #a0aec0, #eba29c);
    background-size: 300% 100%;
    border-radius: 2px;
    animation: elegantShift 4s ease infinite;
}

.section-title::before {
    content: '✨';
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.5; transform: translateY(-50%) scale(1); }
    50% { opacity: 1; transform: translateY(-50%) scale(1.2); }
}

/* Cards de dicas - Mobile First */
.tips-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

.tip-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 0;
    box-shadow: 
        0 6px 25px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 180px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

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

.tip-card:hover::before {
    left: 100%;
}

.tip-card:active {
    transform: scale(0.96) translateY(2px);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.15),
        0 1px 4px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.tip-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Header do card - Mobile */
.tip-card-header {
    padding: 1.5rem 1.25rem 1rem 1.25rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.3);
    position: relative;
    transition: all 0.3s ease;
}

.tip-card.delicate .tip-card-header {
    background: linear-gradient(135deg, rgba(235, 162, 156, 0.12), rgba(235, 162, 156, 0.06));
}

.tip-card.colors .tip-card-header {
    background: linear-gradient(135deg, rgba(235, 162, 156, 0.12), rgba(235, 162, 156, 0.06));
}

.tip-card.stains .tip-card-header {
    background: linear-gradient(135deg, rgba(235, 162, 156, 0.12), rgba(235, 162, 156, 0.06));
}

.tip-card.care .tip-card-header {
    background: linear-gradient(135deg, rgba(235, 162, 156, 0.12), rgba(235, 162, 156, 0.06));
}

.tip-card h3 {
    font-family: 'Playfair Display', serif;
    color: #2d3748;
    font-size: 1.3rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
    font-weight: 600;
    line-height: 1.3;
    transition: all 0.3s ease;
}

.tip-card-icon {
    font-size: 1.6rem;
    opacity: 0.9;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.tip-card:hover .tip-card-icon {
    transform: scale(1.1);
    opacity: 1;
}

/* Conteúdo do card - Mobile */
.tip-card-content {
    padding: 1.25rem 1.25rem 1.5rem 1.25rem;
    flex: 1;
    position: relative;
}

.tip-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 2;
}

.tip-card li {
    margin-bottom: 0.75rem;
    padding: 1rem 0 1rem 2.75rem;
    position: relative;
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.5;
    background: rgba(247, 250, 252, 0.7);
    border-radius: 12px;
    border-left: 3px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 48px;
    display: flex;
    align-items: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.tip-card.delicate li {
    border-left-color: #eba29c;
}

.tip-card.colors li {
    border-left-color: #eba29c;
}

.tip-card.stains li {
    border-left-color: #eba29c;
}

.tip-card.care li {
    border-left-color: #eba29c;
}

.tip-card li:active {
    background: rgba(235, 162, 156, 0.15);
    transform: scale(0.97) translateX(2px);
    border-left-color: #d18a84;
}

.tip-card li:hover {
    background: rgba(235, 162, 156, 0.08);
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tip-card li::before {
    content: '✓';
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: #eba29c;
    font-weight: bold;
    width: 1.5rem;
    height: 1.5rem;
    background: rgba(235, 162, 156, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tip-card li:hover::before {
    background: rgba(235, 162, 156, 0.25);
    transform: translateY(-50%) scale(1.1);
}

.tip-card li:active::before {
    background: rgba(235, 162, 156, 0.3);
    transform: translateY(-50%) scale(0.9);
}

/* Seção de símbolos - Mobile */
.symbols-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
}

.symbols-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #eba29c, #e2e8f0, #cbd5e0, #a0aec0, #eba29c);
    background-size: 300% 100%;
    animation: elegantShift 4s ease infinite;
}

.symbols-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
    position: relative;
    z-index: 2;
}

.symbol-item {
    text-align: center;
    padding: 1rem 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 85px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.symbol-item:hover::before {
    left: 100%;
}

.symbol-item:active {
    transform: scale(0.92) translateY(2px);
    background: rgba(235, 162, 156, 0.1);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.symbol-item:hover {
    transform: translateY(-2px);
    background: rgba(235, 162, 156, 0.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.symbol {
    font-size: 1.6rem;
    display: block;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.symbol-item:hover .symbol {
    transform: scale(1.1);
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.15));
}

.symbol-desc {
    font-size: 0.7rem;
    color: #4a5568;
    line-height: 1.3;
    font-weight: 500;
}

/* Footer - Mobile */
.footer {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #2d3748;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #eba29c, #e2e8f0, #cbd5e0, #a0aec0, #eba29c);
    background-size: 300% 100%;
    animation: elegantShift 4s ease infinite;
}

.footer h3 {
    font-family: 'Playfair Display', serif;
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
    line-height: 1.3;
}

.footer p {
    opacity: 0.8;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #4a5568;
    position: relative;
    z-index: 2;
}

.heart {
    color: #eba29c;
    animation: pulse 2s infinite;
}

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

/* Media Queries para tablets - Mobile First */
@media (min-width: 768px) {
    .container {
        max-width: 600px;
        margin: 0 auto;
        padding: 2rem 1.5rem;
    }
    
    .logo {
        max-width: 200px;
    }
    
    .tips-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .symbols-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
    }
    
    .section-title::before {
        left: -40px;
    }
    
    .tip-card-header {
        padding: 1.75rem 1.5rem 1.25rem 1.5rem;
    }
    
    .tip-card-content {
        padding: 1.5rem 1.5rem 1.75rem 1.5rem;
    }
    
    .tip-card {
        min-height: 200px;
    }
}

/* Media Queries para desktop - Mobile First */
@media (min-width: 1024px) {
    .container {
        max-width: 800px;
        padding: 2.5rem 2rem;
    }
    
    .logo {
        max-width: 250px;
    }
    
    .tips-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .tip-card-header {
        padding: 2.25rem 2rem 1.75rem 2rem;
    }
    
    .tip-card-content {
        padding: 1.75rem 2rem 2.25rem 2rem;
    }
    
    .tip-card {
        min-height: 220px;
    }
    
    .symbols-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 1.5rem;
    }
    
    .section-title::before {
        left: -50px;
    }
}

/* Animações */
.fade-in {
    animation: fadeIn 0.8s ease-out;
}

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

/* Efeitos de partículas flutuantes */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(160, 174, 192, 0.2), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(203, 213, 224, 0.15), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(226, 232, 240, 0.25), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(237, 242, 247, 0.2), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(247, 250, 252, 0.15), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: float 25s linear infinite;
    pointer-events: none;
    z-index: -1;
}

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

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #eba29c, #e2e8f0, #cbd5e0, #a0aec0, #eba29c);
    background-size: 300% 100%;
    border-radius: 6px;
    animation: elegantShift 4s ease infinite;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #1e7a9e, #eba29c, #cbd5e0, #a0aec0, #1e7a9e);
}
