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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    transition: background 0.3s ease;
}

.container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 400px;
    width: 100%;
    position: relative;
}

.profile-image {
    margin-bottom: 20px;
}

.profile-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.profile-name {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.profile-name h1 {
    color: white;
    font-size: 24px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.verification-badge {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.links-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.link-button {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.link-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

.link-button .icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.link-button span {
    font-weight: 500;
    font-size: 16px;
    flex: 1;
    text-align: left;
}

.timestamp {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.share-button {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 1000;
}

.share-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.share-button i {
    color: white;
    font-size: 18px;
}

.settings-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 1000;
}

.settings-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.settings-toggle i {
    color: white;
    font-size: 18px;
}

.settings-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 2000;
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 350px;
    width: 90%;
}

.settings-panel.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.settings-panel h3 {
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.setting-group {
    margin-bottom: 20px;
}

.setting-group label {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-weight: 500;
}

.color-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.color-option:hover {
    transform: scale(1.1);
    border-color: #333;
}

.color-option.active {
    border-color: #333;
    transform: scale(1.1);
}

input[type="url"], input[type="range"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 10px;
}

button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Responsividade */
@media (max-width: 480px) {
    .container {
        padding: 30px 20px;
        margin: 10px;
    }
    
    .profile-name h1 {
        font-size: 20px;
    }
    
    .link-button {
        padding: 12px 15px;
    }
    
    .link-button span {
        font-size: 14px;
    }
    
    .settings-panel {
        width: 95%;
        padding: 20px;
    }
}

/* Classes para diferentes gradientes */
.gradient1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.gradient2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
}

.gradient3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important;
}

.gradient4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%) !important;
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    animation: fadeIn 0.6s ease-out;
}

.link-button {
    animation: fadeIn 0.6s ease-out;
}

.link-button:nth-child(1) { animation-delay: 0.1s; }
.link-button:nth-child(2) { animation-delay: 0.2s; }
.link-button:nth-child(3) { animation-delay: 0.3s; }
.link-button:nth-child(4) { animation-delay: 0.4s; }
.link-button:nth-child(5) { animation-delay: 0.5s; }




/* Novas classes de gradiente */
.gradient5 { background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%) !important; }
.gradient6 { background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%) !important; }
.gradient7 { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%) !important; }
.gradient8 { background: linear-gradient(135deg, #c471f5 0%, #fa71cd 100%) !important; }
.gradient9 { background: linear-gradient(135deg, #00c6fb 0%, #005bea 100%) !important; }
.gradient10 { background: linear-gradient(135deg, #f6d365 0%, #fda085 100%) !important; }
.gradient11 { background: linear-gradient(135deg, #d4fc79 0%, #96e6a1 100%) !important; }
.gradient12 { background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%) !important; }
.gradient13 { background: linear-gradient(135deg, #cfd9ed 0%, #e2e7f3 100%) !important; }
.gradient14 { background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%) !important; }




/* Estilos para Música de Fundo */
.music-controls {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 1000;
}

.music-controls button {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    margin: 0;
    transition: transform 0.2s ease;
}

.music-controls button:hover {
    transform: scale(1.1);
}

.music-controls input[type="range"] {
    width: 80px;
    height: 4px;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    outline: none;
    transition: opacity .2s;
}

.music-controls input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
}

/* Estilos para Modo Escuro */
.dark-mode-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 1000;
}

.dark-mode-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.dark-mode-toggle i {
    color: white;
    font-size: 18px;
}

body.dark-mode {
    background: #1a1a2e !important;
}

body.dark-mode .container {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

body.dark-mode .profile-name h1,
body.dark-mode .timestamp {
    color: #e0e0e0;
}

body.dark-mode .link-button {
    background: rgba(0, 0, 0, 0.4);
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

body.dark-mode .link-button:hover {
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

body.dark-mode .link-button .icon {
    background: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

body.dark-mode .share-button,
body.dark-mode .settings-toggle,
body.dark-mode .music-controls {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .share-button:hover,
body.dark-mode .settings-toggle:hover,
body.dark-mode .music-controls:hover {
    background: rgba(0, 0, 0, 0.4);
}

body.dark-mode .share-button i,
body.dark-mode .settings-toggle i,
body.dark-mode .music-controls button {
    color: #e0e0e0;
}

body.dark-mode .settings-panel {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .settings-panel h3,
body.dark-mode .settings-panel label {
    color: #e0e0e0;
}

body.dark-mode .color-option {
    border-color: transparent;
}

body.dark-mode .color-option.active {
    border-color: #e0e0e0;
}

body.dark-mode input[type="url"],
body.dark-mode input[type="range"] {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #e0e0e0;
}

body.dark-mode button {
    background: linear-gradient(135deg, #3a3a52 0%, #2c2c3e 100%);
    color: #e0e0e0;
}

/* Estilos para o Canvas de Efeitos Visuais */
#interactiveCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Fica atrás de todo o conteúdo */
}


