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

:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #dc2626;
    /* Vermelho do logo */
    --text-primary: #ffffff;
    --text-secondary: #d1d5db;
    --overlay-dark: rgba(0, 0, 0, 0.8);
    --overlay-medium: rgba(0, 0, 0, 0.5);
    --card-bg: rgba(220, 38, 38, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --red-accent: #dc2626;
    --red-light: #ef4444;
    --red-dark: #b91c1c;
    --green-accent: #25D366;
    /* WhatsApp verde */
    --gray-light: #f3f4f6;
    --gray-medium: #9ca3af;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow: hidden;
    background: var(--primary-color);
    height: 100vh;
    height: 100dvh;
    /* Dynamic viewport height for mobile */
}

/* Profile Container */
.profile-container {
    height: 100vh;
    height: 100dvh;
    position: relative;
    overflow: hidden;
}

/* Background */
.profile-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--primary-color);
}

.profile-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('fundos/Gemini_Generated_Image_2umljd2umljd2uml.png') center/cover;
    filter: brightness(0.3) contrast(1.1);
}

.skate-park-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
}

/* Profile Content */
.profile-content {
    position: relative;
    z-index: 1;
    padding: 15px 15px 10px;
    max-width: 380px;
    margin: 0 auto;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

/* Profile Header */
.profile-header {
    text-align: center;
    margin-bottom: 8px;
    padding-top: 0;
    flex-shrink: 0;
}

.profile-avatar {
    position: relative;
    display: inline-block;
    margin-bottom: 8px;
}

.profile-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
    object-fit: cover;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
}

.verified-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20px;
    height: 20px;
    background: var(--red-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--secondary-color);
    color: white;
    font-size: 9px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.profile-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: var(--text-primary);
}

.profile-bio {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.3;
}


/* Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.action-buttons button {
    padding: 10px 16px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    min-height: 40px;
    width: 100%;
    margin: 0 auto;
}

.btn-primary {
    background: linear-gradient(135deg, var(--red-accent) 0%, var(--red-light) 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(220, 38, 38, 0.4);
}

.btn-secondary {
    background: var(--card-bg);
    color: white;
    border: 2px solid var(--red-accent);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(220, 38, 38, 0.2);
    transform: translateY(-2px);
}

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

.btn-tertiary:hover {
    background: rgba(220, 38, 38, 0.1);
    border-color: var(--red-accent);
    transform: translateY(-2px);
}

/* Social Links */
.social-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 15px 0 20px;
}

.instagram-section,
.facebook-section,
.whatsapp-section,
.telegram-section {
    display: flex;
    justify-content: center;
    margin-bottom: 6px;
}

.social-link {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    font-size: 22px;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.social-link.tiktok:hover {
    background: #000000;
    border-color: #000000;
}

.social-link.youtube:hover {
    background: #ff0000;
    border-color: #ff0000;
}

.social-link.x:hover {
    background: #000000;
    border-color: #000000;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.modal-content {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0d0d0d 100%);
    border-radius: 0;
    width: 100%;
    height: 100%;
    max-width: 100vw;
    max-height: 100vh;
    overflow: hidden;
    box-shadow: none;
    border: none;
    backdrop-filter: blur(20px);
}

.modal-header {
    padding: 15px 20px;
    border-bottom: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border-radius: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.close-btn {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 16px;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.close-btn:hover {
    background: var(--red-accent);
    color: white;
    transform: rotate(90deg);
}

.modal-body {
    padding: 0;
    background: transparent;
}

/* Skate Parks List */
.skate-park-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.park-item {
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.park-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.park-item p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

/* Booking Form */
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
}

.form-group option {
    background: #2c3e50;
    color: white;
}

.submit-btn {
    padding: 14px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

/* Affiliate List */
.affiliate-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.affiliate-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.affiliate-logo {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.affiliate-info {
    flex: 1;
}

.affiliate-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: white;
}

.affiliate-info p {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.affiliate-btn {
    padding: 8px 16px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.affiliate-btn:hover {
    background: #e55a2b;
    transform: translateY(-1px);
}

/* Instagram Button */
.instagram-section {
    text-align: center;
}

.instagram-btn,
.facebook-btn,
.whatsapp-btn,
.telegram-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 12px;
    transition: var(--transition);
    color: white;
    border: none;
    cursor: pointer;
    min-width: 180px;
    justify-content: center;
}

.instagram-btn {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(225, 48, 108, 0.3);
    border: none;
}

.instagram-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(225, 48, 108, 0.4);
    background: linear-gradient(45deg, #bc1888 0%, #cc2366 25%, #dc2743 50%, #e6683c 75%, #f09433 100%);
}

.facebook-btn {
    background: #1877f2;
    color: white;
    box-shadow: 0 4px 16px rgba(24, 119, 242, 0.3);
    border: none;
}

.facebook-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(24, 119, 242, 0.4);
    background: #166fe5;
}

.whatsapp-btn {
    background: var(--green-accent);
    color: white;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
    border: none;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
    background: #20c037;
}

.telegram-btn {
    background: #0088cc;
    color: white;
    box-shadow: 0 4px 16px rgba(0, 136, 204, 0.3);
    border: none;
}

.telegram-btn i {
    font-size: 16px;
    margin-right: 8px;
}

.telegram-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 136, 204, 0.4);
    background: #0077b3;
}

/* Interactive Map Section */
.map-section {
    text-align: center;
    margin-top: 8px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.map-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.map-container {
    position: relative;
    width: 100%;
    margin: 0 auto 8px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    height: 120px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-container a {
    text-decoration: none;
    color: inherit;
    display: block;
}



.map-container img {
    border: none;
    border-radius: var(--border-radius);
}



.map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    pointer-events: none;
    backdrop-filter: blur(10px);
}

.map-overlay i {
    margin-right: 5px;
}

.map-info {
    margin-bottom: 6px;
}

.map-info p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 10px;
    color: var(--text-secondary);
    line-height: 1.3;
}

.map-info i {
    color: var(--accent-color);
    font-size: 14px;
    width: 16px;
}

.route-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    margin: 0 auto;
    padding: 8px 12px;
    background: var(--red-accent);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 11px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 12px rgba(220, 38, 38, 0.3);
}

.route-btn:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(220, 38, 38, 0.4);
}

.route-btn i {
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 480px) {
    .profile-content {
        padding: 15px;
        max-width: 100%;
    }

    .profile-avatar img {
        width: 80px;
        height: 80px;
    }

    .verified-badge {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }

    .profile-name {
        font-size: 20px;
    }

    .profile-bio {
        font-size: 13px;
    }

    .action-buttons button {
        padding: 14px 16px;
        font-size: 14px;
        min-height: 48px;
        min-width: 260px;
        max-width: 300px;
    }

    .instagram-btn,
    .facebook-btn,
    .whatsapp-btn,
    .telegram-btn {
        padding: 12px 16px;
        font-size: 13px;
        min-width: 180px;
    }

    .map-section {
        padding: 15px;
    }

    .map-container {
        max-width: 100%;
    }

    .route-btn {
        padding: 10px 14px;
        font-size: 12px;
        min-width: 260px;
        max-width: 300px;
    }

    /* Products Grid Mobile */
    .products-modal-content {
        height: 60vh;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .carousel-btn-prev {
        left: 10px;
    }

    .carousel-btn-next {
        right: 10px;
    }

    .product-info h3 {
        font-size: 20px;
    }

    .product-info p {
        font-size: 14px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 360px) {

    .action-buttons button,
    .instagram-btn,
    .facebook-btn,
    .whatsapp-btn,
    .telegram-btn,
    .route-btn {
        min-width: 240px;
        max-width: 280px;
    }
}

/* Products Modal */
.products-modal-content {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a0a;
    padding-top: 50px;
    padding-bottom: 0;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 0;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.product-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #0a0a0a;
    position: relative;
    flex-shrink: 0;
    backface-visibility: hidden;
    overflow: hidden;
}

.product-slide img {
    width: 100%;
    height: 90%;
    object-fit: contain;
    border-radius: 0;
    filter: drop-shadow(0 8px 25px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
    backface-visibility: hidden;
    padding: 10px;
}

.product-slide:hover img {
    transform: scale(1.02);
}

.product-info {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.9) 40%, transparent 100%);
    padding: 60px 20px 20px;
    text-align: center;
    color: white;
}

.product-info h3 {
    font-size: clamp(18px, 4vw, 22px);
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.product-info p {
    font-size: clamp(12px, 3vw, 14px);
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.carousel-btn:hover {
    background: var(--red-accent);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn-prev {
    left: 15px;
}

.carousel-btn-next {
    right: 15px;
}

.carousel-dots {
    display: none;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.dot.active {
    background: var(--red-accent);
    transform: scale(1.3);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 0 5px rgba(220, 38, 38, 0.6);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
    border-color: rgba(255, 255, 255, 0.8);
}

/* Mobile Responsive */
.add-to-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: calc(100% - 40px);
    margin: 0 20px 20px 20px;
    padding: 12px 20px;
    background: var(--green-accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.add-to-cart-btn:hover {
    background: #1b5e20;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(46, 125, 50, 0.4);
}

.add-to-cart-btn i {
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 480px) {
    .profile-content {
        padding: 15px;
    }

    .profile-header {
        padding-top: 40px;
        margin-bottom: 30px;
    }

    .profile-name {
        font-size: 24px;
    }

    .profile-bio {
        font-size: 14px;
    }

    .profile-picture img {
        width: 100px;
        height: 100px;
    }

    .verified-badge {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .action-buttons {
        margin-bottom: 30px;
        gap: 12px;
    }

    .action-buttons button {
        padding: 16px 20px;
        font-size: 14px;
        min-height: 52px;
    }

    .social-links {
        gap: 20px;
        padding: 30px 0 40px;
    }

    .social-link {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (min-width: 768px) {
    .profile-content {
        max-width: 600px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-header,
.action-buttons,
.social-links {
    animation: fadeInUp 0.6s ease-out;
}

.action-buttons {
    animation-delay: 0.1s;
}

.social-links {
    animation-delay: 0.2s;
}

/* Scrollbar Styling */
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}