:root {
    --primary-color: #0d1c6e;
    --primary-light: #2a3a8c;
    --secondary-color: #f8f9fa;
    --accent-color: #00a1e4;
    --accent-light: #33b5ea;
    --text-color: #333333;
    --text-light: #6c757d;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --transition-fast: all 0.2s ease;
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    --border-radius-sm: 8px;
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --whatsapp: #25D366;
    --facebook: #3b5998;
    --instagram: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    --tiktok: #000000;
    --youtube: #FF0000;
    --location-sm: #007bff;
    --location-gama: #28a745;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Nunito', sans-serif;
}

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

body {
    font-family: var(--font-secondary);
    background-color: #f5f7fa;
    color: var(--text-color);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.app-container {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
}

.background-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 28, 110, 0.03), rgba(0, 161, 228, 0.05));
    z-index: -2;
}

.background-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
    overflow: hidden;
}

.background-shapes::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 80%;
    height: 80%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 161, 228, 0.1) 0%, rgba(0, 161, 228, 0) 70%);
}

.background-shapes::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 60%;
    height: 60%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 28, 110, 0.1) 0%, rgba(13, 28, 110, 0) 70%);
}

.content-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Header Styles */
header {
    text-align: center;
    padding: 30px 0 20px;
    position: relative;
}

.logo-wrapper {
    position: relative;
    height: 100px;
    margin-bottom: 15px;
}

.logo-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background-color: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    border: 3px solid var(--primary-color);
    transition: var(--transition);
    will-change: transform;
}

.logo-container:hover {
    transform: translateX(-50%) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.logo {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    object-fit: cover;
}

header h1 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

.tagline {
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 400;
    font-style: italic;
}

/* Main Content Styles */
main {
    padding: 10px 0 30px;
}

.card-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.card-header {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    position: relative;
}

.card-header i {
    font-size: 1.2rem;
    margin-right: 12px;
}

.card-header h2 {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
    flex-grow: 1;
}

.toggle-btn {
    background: transparent;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.toggle-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.toggle-btn i {
    margin: 0;
    transition: var(--transition-fast);
}

.card.active .toggle-btn i {
    transform: rotate(180deg);
}

.card-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.card.active .card-content {
    padding: 16px;
    max-height: 300px;
}

/* Action Buttons */
.action-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 14px 18px;
    background-color: var(--primary-light);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 8px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.action-btn:last-child {
    margin-bottom: 0;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: var(--transition);
    z-index: -1;
}

.action-btn:hover::before {
    transform: translateX(0);
}

.action-btn i {
    margin-right: 12px;
    font-size: 1.2rem;
    min-width: 24px;
    text-align: center;
}

/* Social Grid */
.social-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1;
    color: var(--white);
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    font-size: 1.4rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(0);
    border-radius: 50%;
    transition: var(--transition-fast);
}

.social-btn:hover::before {
    transform: scale(1.5);
}

.social-btn:hover {
    transform: translateY(-3px);
}

/* Button Colors */
.action-btn.whatsapp, .social-btn.whatsapp {
    background-color: var(--whatsapp);
}

.action-btn.facebook, .social-btn.facebook {
    background-color: var(--facebook);
}

.social-btn.instagram {
    background: var(--instagram);
}

.action-btn.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.action-btn.tiktok, .social-btn.tiktok {
    background-color: var(--tiktok);
}

.action-btn.youtube, .social-btn.youtube {
    background-color: var(--youtube);
}

.action-btn.location-sm {
    background-color: var(--location-sm);
}

.action-btn.location-gama {
    background-color: var(--location-gama);
}

/* Highlights Section */
.highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.highlight-card {
    display: flex;
    align-items: center;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    padding: 16px;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.highlight-card:hover::before {
    width: 8px;
}

.highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--accent-light);
    color: var(--white);
    border-radius: 50%;
    margin-right: 16px;
    flex-shrink: 0;
    font-size: 1.2rem;
    transition: var(--transition);
}

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

.highlight-text {
    flex-grow: 1;
}

.highlight-text h3 {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--primary-color);
}

.highlight-text p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Footer Styles */
footer {
    margin-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.contact-info p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.contact-info p i {
    margin-right: 8px;
    color: var(--primary-color);
}

.small-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.small-logo2 {
    width: 100;
    height: 30px;
    
    object-fit: cover;
}


.copyright {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 10px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes subtle-pulse {
    0% {
        transform: translateX(-50%) scale(1);
    }
    50% {
        transform: translateX(-50%) scale(1.02);
    }
    100% {
        transform: translateX(-50%) scale(1);
    }
}

.logo-pulse {
    animation: subtle-pulse 2s ease-in-out infinite;
}

.ripple {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.5s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(3);
        opacity: 0;
    }
}

/* Responsive Adjustments */
@media (max-width: 480px) {
    .content-container {
        padding: 15px;
    }
    
    header h1 {
        font-size: 1.3rem;
    }
    
    .card-header {
        padding: 14px 16px;
    }
    
    .card-header h2 {
        font-size: 1rem;
    }
    
    .action-btn {
        padding: 12px 16px;
        font-size: 0.95rem;
    }
    
    .highlight-icon {
        width: 45px;
        height: 45px;
    }
}

/* Touch-friendly Adjustments */
@media (hover: none) {
    .card:hover {
        transform: none;
    }
    
    .action-btn:hover::before {
        transform: translateX(-100%);
    }
    
    .social-btn:hover::before {
        transform: scale(0);
    }
    
    .social-btn:hover {
        transform: none;
    }
    
    .highlight-card:hover {
        transform: none;
    }
    
    .highlight-card:hover::before {
        width: 4px;
    }
    
    .highlight-card:hover .highlight-icon {
        transform: none;
    }
    
    .logo-container:hover {
        transform: translateX(-50%);
    }
}

/* Header Moderno e Animado */
.header-animated {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 48px 0 32px;
    background: transparent;
    position: relative;
    animation: headerFadeIn 1s cubic-bezier(.77,0,.18,1) 0.1s both;
}
@keyframes headerFadeIn {
    0% { opacity: 0; transform: translateY(-32px); }
    100% { opacity: 1; transform: none; }
}

.animated-logo {
    animation: logoPop 1.1s cubic-bezier(.77,0,.18,1) 0.3s both;
}
@keyframes logoPop {
    0% { opacity: 0; transform: scale(0.8) translateY(-24px); }
    80% { opacity: 1; transform: scale(1.08) translateY(0); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

.animated-title {
    font-family: var(--font-primary);
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 24px 0 6px 0;
    letter-spacing: -0.5px;
    line-height: 1.1;
    text-align: center;
    animation: titleSlideIn 1.1s cubic-bezier(.77,0,.18,1) 0.5s both;
}
@keyframes titleSlideIn {
    0% { opacity: 0; transform: translateY(32px); }
    100% { opacity: 1; transform: none; }
}

.animated-tagline {
    font-family: var(--font-secondary);
    font-size: 1.05rem;
    color: var(--text-light);
    font-weight: 400;
    font-style: italic;
    opacity: 0.85;
    margin-bottom: 0;
    animation: taglineFadeIn 1.2s cubic-bezier(.77,0,.18,1) 0.8s both;
}
@keyframes taglineFadeIn {
    0% { opacity: 0; transform: translateY(16px); }
    100% { opacity: 0.85; transform: none; }
}

.animated-toggle {
    transition: background 0.2s, transform 0.3s cubic-bezier(.77,0,.18,1);
}
.animated-toggle:active {
    transform: scale(0.92) rotate(-18deg);
}
.animated-toggle i {
    transition: transform 0.4s cubic-bezier(.77,0,.18,1);
}
body.dark-mode .animated-toggle i {
    animation: moonToSun 0.6s;
}
@keyframes moonToSun {
    0% { transform: rotate(0deg) scale(1); }
    60% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

@media (max-width: 600px) {
    .header-animated {
        padding: 32px 0 18px;
    }
    .animated-title {
        font-size: 1.3rem;
        margin: 16px 0 4px 0;
    }
    .logo-container {
        width: 80px;
        height: 80px;
    }
}

.logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.logo-container.logo-stories-active {
    border: 4px solid transparent;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    padding: 3px;
    box-sizing: border-box;
    animation: borderPulse 2.2s infinite linear;
}
@keyframes borderPulse {
    0% { box-shadow: 0 0 0 0 rgba(252, 175, 69, 0.3); }
    70% { box-shadow: 0 0 0 8px rgba(252, 175, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(252, 175, 69, 0); }
}
.logo-pulse {
    animation: logoPulse 1.6s infinite cubic-bezier(.77,0,.18,1);
}
@keyframes logoPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.06); }
    100% { transform: scale(1); }
}

.stories-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.stories-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.85);
    z-index: 1;
}
.stories-content {
    position: relative;
    z-index: 2;
    width: min(360px, 96vw);
    height: min(640px, 96vh);
    max-width: 96vw;
    max-height: 96vh;
    background: #181a1b;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.32);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    animation: storiesIn 0.4s cubic-bezier(.77,0,.18,1);
    padding: 0;
}
@keyframes storiesIn {
    0% { opacity: 0; transform: scale(0.92) translateY(40px); }
    100% { opacity: 1; transform: none; }
}
.stories-progress {
    width: 100%;
    height: 4px;
    background: none;
    position: absolute;
    top: 0; left: 0;
    z-index: 3;
    display: flex;
    gap: 2px;
}
.stories-progress-bar {
    flex: 1;
    background: rgba(255,255,255,0.32);
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s, background 0.2s;
    width: 0%;
    overflow: hidden;
    position: relative;
}
.stories-progress-bar.active {
    background: #fff;
    transition: width linear, background 0.2s;
}
.stories-media {
    flex: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    position: relative;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #000;
}
.stories-media img, .stories-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0;
    padding: 0;
    display: block;
    background: #000;
}
.stories-close {
    position: absolute;
    top: 10px; right: 14px;
    background: rgba(0,0,0,0.18);
    color: #fff;
    border: none;
    font-size: 2rem;
    border-radius: 50%;
    width: 38px; height: 38px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
}
.stories-close:hover {
    background: rgba(0,0,0,0.32);
}
.stories-prev, .stories-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.18);
    color: #fff;
    border: none;
    font-size: 1.6rem;
    border-radius: 50%;
    width: 38px; height: 38px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
}
.stories-prev { left: 10px; }
.stories-next { right: 10px; }
.stories-prev:hover, .stories-next:hover {
    background: rgba(0,0,0,0.32);
}
@media (max-width: 500px) {
    .stories-content {
        width: 98vw;
        aspect-ratio: 9/16;
        min-height: 320px;
        max-height: 98vh;
    }
}

.stories-header {
    width: 100%;
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 12px 0 12px;
    box-sizing: border-box;
    background: linear-gradient(180deg, rgba(0,0,0,0.72) 80%, rgba(0,0,0,0.0) 100%);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.stories-header-info {
    display: flex;
    align-items: center;
    margin-top: 8px;
}
.stories-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 10px;
    border: 2px solid #fff;
    background: #fff;
    object-fit: cover;
}
.stories-profile {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.stories-username {
    font-weight: 600;
    color: #fff;
    font-size: 1rem;
    line-height: 1.1;
}
.stories-time {
    color: #ccc;
    font-size: 0.85rem;
    margin-left: 4px;
}
.stories-music {
    color: #fff;
    font-size: 0.85rem;
    margin-top: 2px;
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 4px;
}
.stories-header-actions {
    position: absolute;
    top: 18px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.stories-header-actions button {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 50%;
    transition: background 0.2s;
}
.stories-header-actions button:hover {
    background: rgba(255,255,255,0.08);
}
.stories-footer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px 18px 16px;
    background: linear-gradient(0deg, rgba(0,0,0,0.88) 80%, rgba(0,0,0,0.0) 100%);
    box-sizing: border-box;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 5;
    min-height: 56px;
}
.stories-reply {
    flex: 1;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    border-radius: 22px;
    padding: 8px 16px;
    font-size: 1rem;
    outline: none;
    margin-right: 10px;
    transition: border 0.2s;
}
.stories-reply:focus {
    border: 1.5px solid #fff;
}
.stories-like, .stories-send {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.3rem;
    margin-left: 6px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s;
    padding: 6px 8px;
}
.stories-like:hover, .stories-send:hover {
    background: rgba(255,255,255,0.10);
}

.stories-like-anim {
    position: absolute;
    right: 56px;
    bottom: 38px;
    z-index: 20;
    pointer-events: none;
    animation: heartUp 1s cubic-bezier(.77,0,.18,1);
    font-size: 2.2rem;
    color: #ff3a5e;
    opacity: 0.92;
    filter: drop-shadow(0 2px 8px rgba(255,58,94,0.18));
}
@keyframes heartUp {
    0% { transform: translateY(0) scale(0.7); opacity: 0.8; }
    60% { transform: translateY(-32px) scale(1.1); opacity: 1; }
    100% { transform: translateY(-60px) scale(1); opacity: 0; }
}
.stories-like.liked {
    color: #ff3a5e;
    background: rgba(255,58,94,0.12);
    transition: background 0.2s, color 0.2s;
}
