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

.container {
    max-width: 680px;
    width: 100%;
    padding: 20px;
}

.profile {
    text-align: center;
    margin-bottom: 40px;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #f0f2f5;
    margin-bottom: 15px;
}

.profile h1 {
    color: #1a1a1a;
    font-size: 1.6rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.profile p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icon {
    color: #1a1a1a;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    background: #f0f2f5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-3px);
    background: #e4e6e9;
    color: #0066ff;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-card {
    width: 100%;
    background: white;
    padding: 25px 25px;
    border-radius: 12px;
    color: #1a1a1a;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.link-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.link-title {
    font-weight: 600;
    font-size: 1rem;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.link-subtitle {
    font-size: 0.85rem;
    color: #666;
    font-weight: normal;
}

.link-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.link-card:active {
    transform: translateY(-1px);
}

.top-buttons {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 30px;
}

.corner-button {
    background: white;
    border: none;
    color: #1a1a1a;
    padding: 10px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.corner-button i {
    font-size: 0.9rem;
}

.corner-button:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 25px rgba(0,0,0,0.1);
}

.gallery-section {
    margin-top: 40px;
}

.gallery-title {
    text-align: center;
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.4rem;
    font-weight: 700;
}

.gallery-container {
    display: flex;
    gap: 20px;
    overflow-x: scroll;
    padding: 10px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
}

.gallery-container::-webkit-scrollbar {
    display: none;
}

.gallery-card {
    flex: 0 0 280px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    scroll-snap-align: start;
    transition: all 0.3s ease;
}

.gallery-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.gallery-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.gallery-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-image img {
    transform: scale(1.05);
}

.gallery-text {
    padding: 20px;
    flex-grow: 1;
}

.gallery-text h3 {
    margin-bottom: 10px;
    color: #1a1a1a;
    font-size: 1.1rem;
    font-weight: 600;
}

.gallery-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.gallery-navigation {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 15px;
}

.gallery-nav-btn {
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.gallery-nav-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.gallery-nav-btn i {
    color: #1a1a1a;
    font-size: 0.9rem;
}

.ver-mas-btn {
    background: #0066ff;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 0 20px 20px;
    width: fit-content;
    align-self: center;
}

.ver-mas-btn:hover {
    background: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.2);
}

.ver-mas-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.1);
}

footer {
    text-align: center;
    margin-top: 40px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 20px;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #1a1a1a;
}

.modal-content h2 {
    color: #1a1a1a;
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 600;
}

.modal-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #e4e6e9;
    border-radius: 12px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #0066ff;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.submit-btn {
    background: #0066ff;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    width: 100%;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.2);
}

.qr-container {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 16px;
    margin: 20px 0;
    text-align: center;
}

#qrcode {
    margin-bottom: 15px;
    text-align: center;
}

.qr-text {
    color: #666;
    font-size: 0.9rem;
}

.share-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }

    .profile {
        padding: 20px;
    }

    .gallery-nav-btn {
        display: none;
    }

    .corner-button {
        padding: 8px 16px;
    }
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: #1a1a1a;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    display: none;
    animation: fadeIn 0.3s ease;
    z-index: 2000;
}

.toast.show {
    display: block;
}
