/* Webtraddeo Landing Page - Estilos */

:root {
    /* Cores principais - Teal Traddeo */
    --primary: #26A69A;
    --primary-light: #80CBC4;
    --primary-dark: #00796B;
    
    --secondary: #FF9800;
    --secondary-light: #FFB74D;
    --secondary-dark: #F57C00;
    
    /* Fundos */
    --background: #F5F5F5;
    --background-dark: #121212;
    --surface: #FFFFFF;
    --surface-dark: #1E1E1E;
    
    /* Texto */
    --text-primary: #212121;
    --text-secondary: #5C5C5C;
    --text-light: #FFFFFF;
    --text-primary-dark: #E0E0E0;
    --text-secondary-dark: #9E9E9E;
    
    /* Estados */
    --success: #26A69A;
    --error: #E53935;
    --warning: #FF9800;
    --info: #2196F3;
    --divider: #BDBDBD;
    --disabled: #BDBDBD;
}

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background-color: var(--background);
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-align: center;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-align: center;
}

/* Navigation */
.navbar {
    background-color: var(--surface);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 1rem 0;
    gap: 1rem;
}

.logo {
    margin-right: auto;
}

.logo h1 {
    font-size: 1.75rem;
    color: var(--primary);
    margin: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    flex-grow: 1;
    justify-content: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-lang {
    display: none !important;
}

/* Language Selector */
.language-selector {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}

.lang-btn {
    padding: 6px 12px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: var(--primary);
    color: var(--text-light);
}

.lang-btn.active {
    background: var(--primary);
    color: var(--text-light);
}

/* Buttons */
.btn {
    padding: 12px 32px;
    border: none;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--text-light);
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    background: linear-gradient(135deg, #26A69A 0%, #00796B 100%);
    color: var(--text-light);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-weight: 700;
}

.hero-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    text-align: left;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background-color: var(--text-light);
    color: var(--primary);
}

.cta-buttons .btn-primary:hover {
    background-color: var(--surface);
}

.cta-buttons .btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.cta-buttons .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Hero Illustration */
.hero-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, #333, #222);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 30px;
    background: #000;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.swipe-card {
    background: var(--surface);
    border-radius: 20px;
    padding: 20px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.card-image {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.card-info h4 {
    color: var(--primary);
    margin: 0.5rem 0;
}

.card-info p {
    color: var(--text-secondary);
    margin: 0;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: var(--surface);
}

.features h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Each feature row */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    padding: 4rem 0;
    border-bottom: 1px solid #EBEBEB;
}

.feature-row:last-child {
    border-bottom: none;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse > * {
    direction: ltr;
}

/* Feature text side */
.feature-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-tag {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: #FFFFFF;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 40px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.05em;
}

.feature-text h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: left;
    margin: 0;
    line-height: 1.3;
}

.feature-text p {
    font-size: 1rem;
    color: var(--text-secondary);
    text-align: left;
    line-height: 1.9;
    margin: 0;
}

/* Feature visual side */
.feature-visual {
    width: 100%;
}

/* UI Window mockup */
.ui-window {
    background: #FFFFFF;
    border-radius: 10px;
    border: 1px solid #DCDCDC;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.ui-window-bar {
    background: #F5F5F5;
    border-bottom: 1px solid #E0E0E0;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ui-window-bar .dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
}

.dot.red    { background: #FF5F57; }
.dot.yellow { background: #FEBC2E; }
.dot.green  { background: #28C840; }

.ui-window-title {
    margin-left: 10px;
    font-size: 0.75rem;
    color: #888;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.ui-window-body {
    padding: 1.5rem;
    background: #FAFAFA;
}

.ui-window-body svg {
    display: block;
}

/* Responsive */
@media (max-width: 1024px) {
    .feature-row,
    .feature-row.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 2.5rem;
        padding: 3rem 0;
    }
    
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid {
        gap: 0;
    }
    
    .feature-row {
        padding: 2rem 0;
    }
    
    .feature-text h3 {
        font-size: 1.4rem;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
    }
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background-color: var(--surface);
}

.how-it-works h2 {
    color: var(--text-primary);
    text-align: center;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    position: relative;
    padding: 2rem;
    text-align: center;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: var(--text-light);
    border-radius: 50%;
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step h3 {
    color: var(--text-primary);
}

.step p {
    font-size: 0.95rem;
}

/* Technology Section */
.technology {
    padding: 5rem 0;
    background-color: var(--surface);
}

.technology h2 {
    text-align: center;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.tech-item {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    color: var(--text-light);
}

.tech-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.tech-item p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.95rem;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #26A69A 0%, #00796B 100%);
    color: var(--text-light);
    text-align: center;
}

.cta h2 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-light);
    border: 2px solid var(--text-light);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.download-btn:hover {
    background: var(--text-light);
    color: #26A69A;
}

.app-store-badge,
.google-play-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .feature-card {
        grid-template-columns: 1fr;
    }
    
    .feature-card:nth-child(even) {
        direction: ltr;
    }
    
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid {
        gap: 3rem;
    }
    
    .feature-card {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }
    
    .features h2 {
        margin-bottom: 2rem;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-illustration {
        display: none;
    }

    h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .download-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .download-btn {
        width: 100%;
        text-align: center;
    }

    .features-grid,
    .tech-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    .phone-mockup {
        width: 200px;
        height: 400px;
    }

    /* Hamburger nav */
    .hamburger {
        display: flex;
    }

    .language-selector {
        display: none;
    }

    .navbar {
        position: relative;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--surface);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        padding: 0;
        gap: 0;
        z-index: 200;
        margin: 0;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li {
        border-bottom: 1px solid var(--divider);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links li a {
        display: block;
        padding: 1rem 20px;
        font-size: 1rem;
        font-weight: 500;
    }

    .mobile-lang {
        display: flex !important;
        padding: 1rem 20px;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero-content h2 {
        font-size: 1.75rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .btn {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.feature-card {
    animation: fadeInUp 0.6s ease-out;
}

.step {
    animation: fadeInUp 0.6s ease-out;
}

/* Example Animations in Feature Cards */
.example-animation {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background);
    border-radius: 8px;
    margin-top: 1rem;
    overflow: hidden;
}

.example-animation svg {
    width: 100%;
    height: 100%;
    display: block;
    margin: 0 auto;
}
    align-items: center;
    justify-content: center;
    background: var(--background);
    border-radius: 8px;
    margin-top: 1rem;
    overflow: hidden;
}

.swipe-arrow {
    animation: swipe-animation 1.5s ease-in-out infinite;
}

@keyframes swipe-animation {
    0% {
        transform: translateX(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(20px);
        opacity: 0;
    }
}

.heart-items path {
    animation: heart-double-pulse 1.5s ease-in-out infinite;
}

.heart-items path:nth-child(2) {
    animation-delay: 0.3s;
}

@keyframes heart-double-pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.heart-pulse {
    animation: heart-beat 1.5s ease-in-out infinite;
}

@keyframes heart-beat {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    25% {
        transform: scale(1.2);
        opacity: 0.8;
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .language-selector {
        margin-left: 0;
        margin-top: 0.5rem;
    }
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background-color: var(--background);
}

.contact-section h2 {
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contact-box {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #E8E8E8;
}

.contact-box:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.12);
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 700;
}

.contact-box h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.contact-box p a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.contact-box p a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.contact-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.social-links-contact {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}

.social-links-contact a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    font-size: 1rem;
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-weight: 600;
}

.social-links-contact a:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.large-animation {
    height: 150px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e1f5fe 100%);
    border: 2px solid var(--primary-light);
    border-radius: 12px;
    margin-top: 1.5rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.15);
}

.large-animation svg {
    width: 100%;
    height: 100%;
    max-height: 150px;
    filter: drop-shadow(0 2px 4px rgba(0, 188, 212, 0.1));
    transform-style: preserve-3d;
    animation: float 3s ease-in-out infinite;
}

/* 3D Effects for SVG Elements */
.example-animation rect {
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
    transform: skewY(-2deg);
}

.example-animation circle {
    filter: drop-shadow(2px 2px 6px rgba(0, 188, 212, 0.2));
    transform: translateZ(10px);
}

.example-animation g {
    transform-style: preserve-3d;
}

.phone-left {
    animation: tilt-left 3s ease-in-out infinite;
}

.phone-right {
    animation: tilt-right 3s ease-in-out infinite;
}

.person-left {
    animation: person-appear-left 0.8s ease-out;
}

.person-right {
    animation: person-appear-right 0.8s ease-out;
}

/* 3D Tilt Animations */
@keyframes tilt-left {
    0%, 100% {
        transform: perspective(1000px) rotateY(5deg) translateZ(0);
    }
    50% {
        transform: perspective(1000px) rotateY(-5deg) translateZ(5px);
    }
}

@keyframes tilt-right {
    0%, 100% {
        transform: perspective(1000px) rotateY(-5deg) translateZ(0);
    }
    50% {
        transform: perspective(1000px) rotateY(5deg) translateZ(5px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-3px);
    }
}

@keyframes person-appear-left {
    0% {
        transform: translateX(-50px) opacity(0);
    }
    100% {
        transform: translateX(0) opacity(1);
    }
}

@keyframes person-appear-right {
    0% {
        transform: translateX(50px) opacity(0);
    }
    100% {
        transform: translateX(0) opacity(1);
    }
}

/* Cartoon Character Animations */
.char-left {
    animation: char-sway-left 2.5s ease-in-out infinite;
}

.char-right {
    animation: char-sway-right 2.5s ease-in-out infinite;
}

.arm-left-wave {
    animation: arm-wave-left 1.2s ease-in-out infinite;
    transform-origin: 85px 115px;
}

.arm-right-wave {
    animation: arm-wave-right 1.2s ease-in-out infinite;
    transform-origin: 275px 115px;
}

.gift-left {
    animation: gift-bounce 1.5s ease-in-out infinite;
}

.device-right {
    animation: device-bounce 1.5s ease-in-out infinite;
    animation-delay: 0.2s;
}

.heart-central {
    animation: heart-pulse-modern 1.4s ease-in-out infinite;
}

.swap-arrows {
    animation: arrows-flow 1.5s ease-in-out infinite;
}

@keyframes char-sway-left {
    0%, 100% {
        transform: translateY(0) rotate(-1deg);
    }
    50% {
        transform: translateY(-6px) rotate(1deg);
    }
}

@keyframes char-sway-right {
    0%, 100% {
        transform: translateY(0) rotate(1deg);
    }
    50% {
        transform: translateY(-6px) rotate(-1deg);
    }
}

@keyframes arm-wave-left {
    0%, 100% {
        transform: rotate(-25deg);
    }
    50% {
        transform: rotate(-55deg);
    }
}

@keyframes arm-wave-right {
    0%, 100% {
        transform: rotate(-25deg);
    }
    50% {
        transform: rotate(25deg);
    }
}

@keyframes gift-bounce {
    0%, 100% {
        transform: translateY(0) rotate(15deg);
    }
    50% {
        transform: translateY(-8px) rotate(25deg);
    }
}

@keyframes device-bounce {
    0%, 100% {
        transform: translateY(0) rotate(-15deg);
    }
    50% {
        transform: translateY(-8px) rotate(-25deg);
    }
}

@keyframes heart-pulse-modern {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
        filter: drop-shadow(0 0 4px rgba(255, 107, 53, 0.2));
    }
    50% {
        transform: scale(1.25);
        opacity: 0.9;
        filter: drop-shadow(0 0 16px rgba(255, 107, 53, 0.7));
    }
}

@keyframes arrows-flow {
    0%, 100% {
        opacity: 0.4;
        stroke-dashoffset: 0;
    }
    50% {
        opacity: 1;
        stroke-dashoffset: -8;
    }
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   TRADDEO APP VIEW � Estilos adicionados para o modo autenticado
   ===================================================== */

/* --- Navbar � Login Button & User Area --- */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.nav-login-btn {
    background: var(--primary) !important;
    color: #fff !important;
    padding: 7px 20px !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
    transition: background 0.2s !important;
}
.nav-login-btn:hover { background: var(--primary-dark) !important; color: #fff !important; }

.nav-user { display: flex; align-items: center; gap: 0.75rem; }
.nav-user-name { font-weight: 600; color: var(--primary); font-size: 0.9rem; }
.nav-app-btn {
    padding: 6px 14px; border: 2px solid var(--primary); background: var(--primary);
    color: #fff; border-radius: 20px; font-size: 0.82rem; font-weight: 600;
    cursor: pointer; transition: all 0.2s;
}
.nav-app-btn:hover { background: transparent; color: var(--primary); }
.nav-logout-btn {
    padding: 6px 14px; border: 2px solid var(--primary); background: transparent;
    color: var(--primary); border-radius: 20px; font-size: 0.82rem; font-weight: 600;
    cursor: pointer; transition: all 0.2s;
}
.nav-logout-btn:hover { background: var(--primary); color: #fff; }

/* --- Modal --- */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.55);
    display: flex; align-items: center; justify-content: center;
    z-index: 9999; padding: 1rem;
}
.modal-overlay.hidden { display: none; }

.modal-box {
    background: #fff; border-radius: 20px; padding: 2rem;
    width: 100%; max-width: 400px; position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    animation: modalIn 0.2s ease;
}
@keyframes modalIn { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }

.modal-close {
    position: absolute; top: 1rem; right: 1rem;
    background: none; border: none; font-size: 1.25rem;
    cursor: pointer; color: #999; line-height: 1;
}
.modal-close:hover { color: #333; }

.modal-logo {
    font-family: 'Poppins', sans-serif; font-size: 1.5rem;
    font-weight: 700; color: var(--primary); text-align: center; margin-bottom: 1.25rem;
}

.modal-tabs {
    display: flex; border-bottom: 2px solid #eee;
    margin-bottom: 1.5rem;
}
.modal-tab {
    flex: 1; padding: 0.6rem; background: none; border: none;
    font-family: 'Poppins', sans-serif; font-size: 0.95rem; font-weight: 600;
    color: #999; cursor: pointer; transition: color 0.2s;
    border-bottom: 2px solid transparent; margin-bottom: -2px;
}
.modal-tab.active { color: var(--primary); border-bottom-color: var(--primary); }

.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.35rem; color: #444; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; padding: 0.65rem 0.85rem;
    border: 1.5px solid #ddd; border-radius: 10px;
    font-size: 0.95rem; font-family: 'Inter', sans-serif;
    transition: border-color 0.2s; outline: none;
    background: #fafafa; color: #222;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); background: #fff; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }

.form-error {
    background: #FFF0F0; border: 1px solid #ffb3b3;
    color: #c0392b; padding: 0.5rem 0.75rem; border-radius: 8px;
    font-size: 0.85rem; margin-bottom: 0.75rem;
}
.form-error.hidden { display: none; }

.btn-full { width: 100%; }
.btn-sm { padding: 6px 14px; font-size: 0.85rem; }

/* --- App View --- */
#appView {
    position: fixed; inset: 0;
    display: flex; flex-direction: row; z-index: 500;
    background-color: #4CCFC0;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='160'%3E%3Ctext x='150' y='95' font-family='Arial Black,Arial,sans-serif' font-size='34' font-weight='900' fill='rgba(255,255,255,0.55)' letter-spacing='5' text-anchor='middle' transform='rotate(-35 150 95)'%3ETRADDEO%3C/text%3E%3C/svg%3E"),
        linear-gradient(160deg, #DFF5F2 0%, #7EDFD4 50%, #4CCFC0 100%);
    background-repeat: repeat, no-repeat;
    background-size: 300px 160px, cover;
    overflow: hidden;
}
#appView.hidden { display: none; }
body.app-open { overflow: hidden; }

/* Watermark bg div — não usada, escondida */
.app-watermark-bg { display: none; }

/* Painéis laterais */
.app-side {
    flex: 1; overflow: hidden;
    position: relative; min-width: 0;
}
.app-side-watermark { display: none; }

/* Coluna central da app */
.app-center-col {
    width: 500px; flex-shrink: 0;
    background: #F5F5F5;
    display: flex; flex-direction: column;
    overflow: hidden; position: relative;
    box-shadow: 0 0 80px rgba(0,0,0,0.45);
}

@media (max-width: 640px) {
    .app-side { display: none; }
    .app-center-col { width: 100%; }
}

.app-header {
    background: linear-gradient(135deg, var(--primary) 0%, #1a7a2e 100%);
    padding: 0.85rem 1.25rem; flex-shrink: 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.app-header-inner {
    width: 100%;
    display: flex; align-items: center; justify-content: space-between;
}
.app-logo-text {
    font-family: 'Poppins', sans-serif; font-size: 1.4rem;
    font-weight: 800; color: #fff; letter-spacing: 2px;
    text-transform: uppercase;
}
.app-header-user { display: flex; align-items: center; gap: 0.6rem; }
.app-user-name { display: none; }
.app-user-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.25); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.95rem; font-weight: 700; flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.45);
    overflow: hidden; cursor: pointer;
}
.app-user-avatar img { width: 100%; height: 100%; object-fit: cover; }

.app-main {
    flex: 1; overflow-y: auto; overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    background: #f5f7fa;
    display: flex; flex-direction: column;
}

.tab-panel { display: none; flex: 1; padding-bottom: 80px; }
.tab-panel.active { display: flex; flex-direction: column; }

#tabExplorar.active {
    align-items: stretch; justify-content: center;
}

.tab-title {
    font-family: 'Poppins', sans-serif; font-size: 1.25rem;
    font-weight: 700; color: #111; padding: 1.2rem 1.25rem 0.6rem;
}
.tab-title-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.2rem 1.25rem 0.6rem;
}
.tab-title-row .tab-title { padding: 0; }

/* --- Swipe --- */
.swipe-area {
    display: flex; flex-direction: column;
    align-items: center; padding: 1rem 1.25rem 1.25rem;
    width: 100%; box-sizing: border-box;
}

.swipe-stack {
    position: relative; width: 100%;
    height: 430px; margin: 0 auto;
}

.swipe-card {
    position: absolute; inset: 0;
    background: #fff; border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.swipe-card.top { z-index: 3; }

.swipe-card-img {
    height: 260px; background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; width: 100%;
}
.card-emoji { font-size: 5.5rem; }

.swipe-card-info { padding: 1rem; }
.swipe-card-info h3 {
    font-family: 'Poppins', sans-serif; font-size: 1.1rem;
    font-weight: 700; color: #222; text-align: left; margin: 0 0 0.4rem;
}
.card-meta { display: flex; gap: 0.5rem; margin-bottom: 0.4rem; flex-wrap: wrap; }
.card-category, .card-condition {
    background: #e8f5e9; color: var(--primary-dark);
    padding: 2px 10px; border-radius: 20px; font-size: 0.78rem; font-weight: 600;
}
.card-condition { background: #e3f2fd; color: #1565c0; }
.card-value { font-weight: 700; color: var(--primary); font-size: 0.9rem; margin: 0.2rem 0; text-align: left; }
.card-desc { font-size: 0.82rem; color: #888; text-align: left; margin: 0.2rem 0 0.4rem; }
.card-user { font-size: 0.8rem; color: #999; text-align: left; }

/* Overlay indicators on drag */
.swipe-card .like-label, .swipe-card .nope-label {
    position: absolute; top: 20px; opacity: 0;
    font-family: 'Poppins', sans-serif; font-size: 1.5rem; font-weight: 800;
    border: 4px solid; border-radius: 8px; padding: 4px 12px;
    pointer-events: none; transition: opacity 0.1s;
}
.swipe-card .like-label { left: 20px; color: #22c55e; border-color: #22c55e; transform: rotate(-15deg); }
.swipe-card .nope-label { right: 20px; color: #ef4444; border-color: #ef4444; transform: rotate(15deg); }

.swipe-actions {
    display: flex; gap: 0.75rem; margin-top: 1.25rem; width: 100%;
    box-sizing: border-box;
}
.btn-swipe {
    flex: 1; padding: 0.9rem 1rem; border-radius: 14px; border: 2px solid;
    font-size: 1rem; font-weight: 700; cursor: pointer;
    font-family: 'Poppins', sans-serif; transition: all 0.18s;
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.btn-swipe.skip { background: #fff1f1; color: #ef4444; border-color: #ef4444; }
.btn-swipe.skip:hover { background: #ef4444; color: #fff; transform: translateY(-1px); }
.btn-swipe.like { background: #f0fdf4; color: #16a34a; border-color: #16a34a; }
.btn-swipe.like:hover { background: #16a34a; color: #fff; transform: translateY(-1px); }

/* --- Match Notification --- */
.match-notif {
    position: fixed; inset: 0; background: rgba(0,0,0,0.7);
    display: flex; align-items: center; justify-content: center;
    z-index: 9998; padding: 1rem;
}
.match-notif.hidden { display: none; }
.match-notif-inner {
    background: #fff; border-radius: 20px; padding: 2rem;
    text-align: center; max-width: 320px; width: 100%;
    animation: modalIn 0.2s ease;
}
.match-notif-icon { font-size: 3.5rem; margin-bottom: 0.5rem; }
.match-notif-inner h3 {
    font-family: 'Poppins', sans-serif; font-size: 1.5rem;
    color: var(--primary); text-align: center; margin: 0 0 0.5rem;
}
.match-notif-inner p { color: #666; margin: 0 0 1.25rem; }
.match-notif-btns { display: flex; gap: 0.75rem; justify-content: center; }

/* --- Lists (Matches, Chat, Inventory) --- */
.list-container { padding: 0.5rem 1.25rem; }

.empty-state {
    text-align: center; padding: 3rem 1rem; color: #aaa;
}
.empty-icon { font-size: 3rem; margin-bottom: 0.75rem; }
.empty-state p { color: #aaa; text-align: center; margin: 0 0 1rem; }

.loading { text-align: center; padding: 2rem; color: #aaa; font-size: 0.9rem; }
.error-text { color: var(--error); text-align: center; padding: 1rem; }

/* Match cards */
.matches-grid { padding: 0 1rem 1rem; display: flex; flex-direction: column; gap: 0; }
.matches-section-title {
    font-size: 0.7rem; font-weight: 700; color: #aaa; letter-spacing: 1.5px;
    text-transform: uppercase; padding: 0.75rem 0.25rem 0.4rem; margin: 0;
}
.match-card {
    display: flex; align-items: center; gap: 1rem;
    background: #fff; padding: 1rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
    position: relative;
}
.match-card:first-of-type { border-radius: 16px 16px 0 0; }
.match-card:last-of-type { border-radius: 0 0 16px 16px; border-bottom: none; }
.match-card:only-of-type { border-radius: 16px; border-bottom: none; }
.match-card:hover { background: #f8fdf8; }
.match-card-avatar {
    width: 52px; height: 52px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #1a7a2e);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.2rem; flex-shrink: 0;
    overflow: hidden; min-width: 52px;
}
.match-card-avatar img { width: 52px; height: 52px; object-fit: cover; border-radius: 50%; display: block; }
.match-card-info { flex: 1; min-width: 0; }
.match-card-info strong { display: block; font-size: 0.97rem; color: #111; margin-bottom: 3px; font-family: 'Poppins', sans-serif; font-weight: 600; }
.match-trade-row { display: flex; align-items: center; gap: 0.35rem; font-size: 0.78rem; color: #666; flex-wrap: wrap; }
.match-item-pill {
    background: #f0f7f0; color: #2e7d32; padding: 2px 9px;
    border-radius: 20px; font-size: 0.73rem; font-weight: 600;
    white-space: nowrap; max-width: 110px; overflow: hidden; text-overflow: ellipsis;
}
.match-trade-arrow { color: #bbb; font-size: 0.85rem; flex-shrink: 0; }
.match-date { font-size: 0.7rem; color: #bbb; margin-top: 3px; }
.match-card-arrow { color: #ccc; font-size: 1.2rem; flex-shrink: 0; }
.matches-shadow-wrap {
    background: #fff; border-radius: 16px;
    box-shadow: 0 2px 14px rgba(0,0,0,0.08); overflow: hidden;
}

/* Chat list */
.chat-list-item {
    display: flex; align-items: center; gap: 0.75rem;
    background: #fff; border-radius: 14px; padding: 0.85rem 1rem;
    margin-bottom: 0.75rem; cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    transition: box-shadow 0.2s;
}
.chat-list-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.12); }
.chat-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: #e3f2fd; display: flex; align-items: center;
    justify-content: center; font-size: 1.5rem; flex-shrink: 0;
}
.chat-item-info { flex: 1; min-width: 0; }
.chat-item-info strong { display: block; font-size: 0.95rem; color: #222; }
.chat-last-msg {
    font-size: 0.8rem; color: #aaa; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis; text-align: left; margin: 0;
}

/* Chat room */
.chat-room { display: flex; flex-direction: column; height: calc(100vh - 130px); }
.chat-room.hidden { display: none; }

.chat-room-header {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.75rem 1rem; background: #fff;
    border-bottom: 1px solid #eee; flex-shrink: 0;
}
.btn-back {
    background: none; border: none; color: var(--primary);
    font-size: 0.9rem; font-weight: 600; cursor: pointer; padding: 0;
}
.chat-room-name { font-weight: 700; color: #222; font-size: 1rem; }

.chat-messages {
    flex: 1; overflow-y: auto; padding: 1rem;
    display: flex; flex-direction: column; gap: 0.5rem;
    -webkit-overflow-scrolling: touch;
}

.chat-bubble {
    max-width: 72%; padding: 0.6rem 0.9rem;
    border-radius: 16px; font-size: 0.9rem; line-height: 1.4;
    word-break: break-word;
}
.chat-bubble.own {
    background: var(--primary); color: #fff;
    align-self: flex-end; border-bottom-right-radius: 4px;
}
.chat-bubble.other {
    background: #fff; color: #222;
    align-self: flex-start; border-bottom-left-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.chat-input-row {
    display: flex; gap: 0.5rem; padding: 0.75rem 1rem;
    background: #fff; border-top: 1px solid #eee; flex-shrink: 0;
}
.chat-input-row input {
    flex: 1; padding: 0.6rem 1rem;
    border: 1.5px solid #ddd; border-radius: 999px;
    font-size: 0.9rem; outline: none;
    font-family: 'Inter', sans-serif; background: #fafafa;
}
.chat-input-row input:focus { border-color: var(--primary); background: #fff; }
.btn-send {
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--primary); color: #fff; border: none;
    font-size: 1rem; cursor: pointer; flex-shrink: 0;
    transition: background 0.2s;
}
.btn-send:hover { background: var(--primary-dark); }

/* Inventory */
.add-form {
    background: #fff; border-radius: 14px; padding: 1.25rem;
    margin: 0.5rem 1rem 1rem; box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.add-form.hidden { display: none; }
.add-form h3 { text-align: left; font-size: 1rem; margin-bottom: 1rem; }
.form-actions { display: flex; gap: 0.75rem; justify-content: flex-end; margin-top: 1rem; }

.item-card {
    display: flex; align-items: center; gap: 0.75rem;
    background: #fff; border-radius: 14px; padding: 0.85rem 1rem;
    margin-bottom: 0.75rem; box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.item-card-icon { font-size: 1.75rem; flex-shrink: 0; }
.item-card-info { flex: 1; }
.item-card-info strong { display: block; font-size: 0.95rem; color: #222; margin-bottom: 2px; }
.item-card-info span {
    font-size: 0.8rem; color: #888; display: inline-block;
    margin-right: 0.5rem; text-align: left;
}
.btn-delete {
    background: none; border: none; color: #ccc;
    font-size: 1.1rem; cursor: pointer; padding: 4px;
    line-height: 1; transition: color 0.15s;
}
.btn-delete:hover { color: var(--error); }

/* Profile */
.perfil-content { padding: 1rem; }
.perfil-card {
    background: #fff; border-radius: 18px; padding: 0;
    text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    overflow: hidden;
}
.perfil-banner {
    height: 90px;
    background: linear-gradient(135deg, var(--primary) 0%, #1a7a2e 100%);
}
.perfil-avatar-wrap {
    margin-top: -36px; display: flex; justify-content: center; margin-bottom: 0.75rem;
    position: relative;
}
.perfil-avatar {
    width: 72px; height: 72px; border-radius: 50%;
    background: #e8f5e9; border: 3px solid #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.2rem; overflow: hidden; cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    position: relative;
}
.perfil-avatar img { width: 100%; height: 100%; object-fit: cover; }
.perfil-avatar-edit {
    position: absolute; bottom: 0; right: 0;
    background: var(--primary); color: #fff; border-radius: 50%;
    width: 22px; height: 22px; display: flex; align-items: center;
    justify-content: center; font-size: 0.7rem; border: 2px solid #fff;
    cursor: pointer;
}
.perfil-body { padding: 0 1.5rem 1.75rem; }
.perfil-card h2 {
    font-family: 'Poppins', sans-serif; font-size: 1.3rem;
    color: #111; margin: 0 0 0.2rem; text-align: center; font-weight: 700;
}
.perfil-email { font-size: 0.82rem; color: #aaa; text-align: center; margin: 0 0 0.75rem; }
.perfil-bio { font-size: 0.88rem; color: #666; margin: 0 0 0.75rem; text-align: center; }
.perfil-rating {
    font-size: 1rem; color: #f59e0b; font-weight: 600;
    margin-bottom: 1.25rem; text-align: center;
}

/* --- Bottom Navigation --- */
.app-bottom-nav {
    display: flex; background: #fff;
    border-top: 1px solid #e8e8e8; flex-shrink: 0;
    position: sticky; bottom: 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    padding-bottom: env(safe-area-inset-bottom, 0);
}
.bnav-btn {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 0.65rem 0.25rem 0.55rem; background: none; border: none;
    cursor: pointer; color: #c0c0c0; transition: color 0.2s;
    gap: 3px; position: relative;
}
.bnav-btn.active { color: var(--primary); }
.bnav-btn.active .bnav-icon-wrap::before {
    content: ''; position: absolute; top: -4px; left: 50%; transform: translateX(-50%);
    width: 36px; height: 3px; background: var(--primary);
    border-radius: 0 0 3px 3px;
}
.bnav-btn:hover { color: var(--primary); }
.bnav-icon-wrap { position: relative; display: flex; align-items: center; justify-content: center; }
.bnav-icon { font-size: 1.35rem; line-height: 1; }
.bnav-label { font-size: 0.65rem; font-weight: 600; font-family: 'Poppins', sans-serif; white-space: nowrap; }

/* --- Hidden utility --- */
.hidden { display: none !important; }

/* --- Error box --- */
.error-box {
    background: #fff3f3; border: 1px solid #ffcdd2; border-radius: 12px;
    padding: 1.25rem 1rem; text-align: center; color: #c62828;
    margin: 0.5rem 0;
}
.error-box p { margin: 0 0 0.4rem; font-weight: 600; font-size: 0.95rem; }
.error-box small { color: #e57373; font-size: 0.76rem; word-break: break-all; }

/* --- Perfil stats --- */
.perfil-stats {
    display: flex; gap: 1rem; justify-content: center;
    margin: 1rem 0;
}
.stat {
    display: flex; flex-direction: column; align-items: center;
    background: #f5f5f5; border-radius: 12px; padding: 0.75rem 1rem;
    min-width: 70px;
}
.stat-val { font-size: 1.25rem; font-weight: 700; color: var(--primary); }
.stat-lbl { font-size: 0.7rem; color: #888; margin-top: 2px; }
.perfil-name { font-family: 'Poppins', sans-serif; font-size: 1.4rem; color: #222; margin: 0 0 0.3rem; text-align: center; }
.perfil-email { font-size: 0.85rem; color: #aaa; text-align: center; margin: 0 0 0.5rem; }
.perfil-bio { font-size: 0.9rem; color: #666; margin: 0 0 0.75rem; }
.perfil-stars { font-size: 1.1rem; color: #f59e0b; text-align: center; margin: 0; }
.perfil-stars span { font-size: 0.82rem; color: #aaa; }

/* --- Delete button in item card --- */
.btn-del {
    background: none; border: none; color: #ccc;
    font-size: 1.1rem; cursor: pointer; padding: 4px;
    line-height: 1; transition: color 0.15s; flex-shrink: 0;
}
.btn-del:hover { color: #ef4444; }

/* --- Photo Upload --- */
.photo-upload-area {
    border: 2px dashed #d0d0d0; border-radius: 14px;
    background: #fafafa; cursor: pointer; transition: border-color 0.2s, background 0.2s;
    min-height: 90px; display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.photo-upload-area:hover { border-color: var(--primary); background: #f0fdf4; }
.photo-upload-placeholder { text-align: center; padding: 1.25rem 1rem; pointer-events: none; }
.photo-upload-icon { font-size: 2rem; display: block; margin-bottom: 0.4rem; }
.photo-upload-placeholder p { margin: 0 0 0.2rem; font-size: 0.9rem; color: #555; font-weight: 600; }
.photo-upload-placeholder small { color: #aaa; font-size: 0.75rem; }
.photo-preview-grid {
    display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0.75rem;
    width: 100%;
}
.photo-preview-thumb {
    width: 72px; height: 72px; border-radius: 8px; object-fit: cover;
    border: 2px solid #e0e0e0;
}
.photo-preview-item {
    position: relative; width: 72px; height: 72px; flex-shrink: 0;
}
.photo-preview-item img {
    width: 100%; height: 100%; border-radius: 8px;
    object-fit: cover; border: 2px solid #e0e0e0; display: block;
}
.photo-remove-btn {
    position: absolute; top: -7px; right: -7px;
    width: 20px; height: 20px; border-radius: 50%;
    background: #ef4444; color: #fff; border: none;
    cursor: pointer; font-size: 0.7rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.25); z-index: 1;
    line-height: 1; padding: 0;
}
.photo-add-more {
    width: 72px; height: 72px; border-radius: 8px;
    border: 2px dashed #d0d0d0; display: flex; align-items: center;
    justify-content: center; font-size: 1.5rem; color: #bbb;
    cursor: pointer; background: #fafafa;
}

/* --- Perfil Panel (slide-in) --- */
.perfil-panel {
    position: absolute; inset: 0;
    background: #F5F5F5;
    z-index: 200;
    display: flex; flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
    overflow: hidden;
}
.perfil-panel.open { transform: translateX(0); }
.perfil-panel-header {
    background: linear-gradient(135deg, var(--primary) 0%, #1a7a2e 100%);
    padding: 0.85rem 1.25rem; flex-shrink: 0;
    display: flex; align-items: center; gap: 0.85rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.perfil-panel-back {
    background: none; border: none; color: #fff;
    font-size: 1.4rem; cursor: pointer; padding: 0; line-height: 1;
}
.perfil-panel-title {
    font-family: 'Poppins', sans-serif; font-size: 1.1rem;
    font-weight: 700; color: #fff; letter-spacing: 1px;
}
.perfil-panel-body {
    flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch;
    padding-bottom: 2rem;
}

/* --- Matches tab --- */
.matches-header {
    padding: 1.2rem 1rem 0.4rem;
    display: flex; align-items: center; justify-content: space-between;
}
.matches-count {
    font-size: 0.82rem; color: #aaa; font-weight: 600;
    background: #f0f0f0; padding: 3px 12px; border-radius: 20px;
}

/* --- Loading text --- */
.loading { padding: 2rem; text-align: center; color: #aaa; font-size: 0.9rem; }
