/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6c63ff;
    --primary-dark: #5753d4;
    --secondary-color: #ff6584;
    --dark-bg: #0f0f1e;
    --darker-bg: #0a0a14;
    --card-bg: #1a1a2e;
    --card-hover: #24243e;
    --text-primary: #ffffff;
    --text-secondary: #b0b0c0;
    --text-muted: #8888a0;
    --border-color: #2a2a3e;
    --success-color: #4ade80;
    --discord-color: #5865f2;
    --linktree-color: #43e660;
    --shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
}

.logo-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: var(--shadow);
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 32px;
    letter-spacing: 1px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-highlight {
    color: var(--text-primary);
}

.tagline {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 25px;
    font-weight: 300;
}

.profile-section {
    position: relative;
    padding-top: 20px;
}

.avatar-container {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    box-shadow: 0 0 0 5px var(--card-bg), 0 10px 25px rgba(108, 99, 255, 0.4);
    transition: var(--transition);
}

.avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 0 0 5px var(--card-bg), 0 15px 35px rgba(108, 99, 255, 0.6);
}

.status-indicator {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    background-color: var(--success-color);
    border-radius: 50%;
    border: 3px solid var(--card-bg);
}

.profile-name {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
}

.profile-desc {
    color: var(--text-secondary);
    font-size: 14px;
    max-width: 300px;
    margin: 0 auto;
}

/* Main Content Styles */
.main-content {
    animation: fadeInUp 0.8s ease 0.2s both;
}

.links-container {
    background-color: var(--card-bg);
    border-radius: 20px;
    padding: 25px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.links-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

/* Page Navigation */
.page-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.nav-btn {
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
}

.nav-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nav-btn:disabled:hover {
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary-color);
    transform: none;
}

.page-indicator {
    font-weight: 600;
    font-size: 18px;
    color: var(--text-primary);
}

.current-page {
    color: var(--primary-color);
}

.page-separator {
    margin: 0 5px;
    color: var(--text-muted);
}

.total-pages {
    color: var(--text-muted);
}

/* Links Pages */
.links-page {
    display: none;
}

.links-page.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(108, 99, 255, 0.2);
}

.section-title i {
    color: var(--primary-color);
    font-size: 20px;
}

.section-title h3 {
    font-size: 18px;
    font-weight: 600;
}

.links-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Link Cards */
.link-card {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 18px;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.7s ease;
}

.link-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.2);
    background-color: var(--card-hover);
}

.link-card:hover::before {
    left: 100%;
}

.link-card.discord-link:hover {
    border-color: var(--discord-color);
    box-shadow: 0 10px 20px rgba(88, 101, 242, 0.2);
}

.link-card.linktree-link:hover {
    border-color: var(--linktree-color);
    box-shadow: 0 10px 20px rgba(67, 230, 96, 0.2);
}

.link-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-right: 15px;
    flex-shrink: 0;
}

.discord-link .link-icon {
    background-color: rgba(88, 101, 242, 0.15);
    color: var(--discord-color);
}

.linktree-link .link-icon {
    background-color: rgba(67, 230, 96, 0.15);
    color: var(--linktree-color);
}

.product-link .link-icon {
    background-color: rgba(108, 99, 255, 0.15);
    color: var(--primary-color);
}

.assets-link .link-icon {
    background-color: rgba(255, 101, 132, 0.15);
    color: var(--secondary-color);
}

.info-link .link-icon {
    background-color: rgba(160, 160, 200, 0.15);
    color: var(--text-secondary);
}

.link-content {
    flex-grow: 1;
}

.link-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.link-content p {
    font-size: 13px;
    color: var(--text-secondary);
}

.link-arrow {
    color: var(--text-muted);
    font-size: 14px;
    transition: var(--transition);
}

.link-card:hover .link-arrow {
    color: var(--primary-color);
    transform: translateX(3px);
}

/* Page Dots for Mobile */
.page-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
    display: none;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Footer Styles */
.footer {
    text-align: center;
    padding: 20px 0;
    animation: fadeIn 0.8s ease 0.4s both;
}

.copyright {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 15px;
}

.brand {
    color: var(--primary-color);
    font-weight: 600;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--card-bg);
    color: var(--text-secondary);
    font-size: 18px;
    transition: var(--transition);
    text-decoration: none;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 10px;
    }
    
    .logo-text {
        font-size: 28px;
    }
    
    .avatar {
        width: 90px;
        height: 90px;
        font-size: 36px;
    }
    
    .links-container {
        padding: 20px;
    }
    
    .page-navigation {
        margin-bottom: 20px;
    }
    
    .page-dots {
        display: flex;
    }
}

@media (max-width: 480px) {
    .logo-container {
        flex-direction: column;
        gap: 8px;
    }
    
    .logo-text {
        font-size: 24px;
    }
    
    .tagline {
        font-size: 13px;
    }
    
    .profile-name {
        font-size: 20px;
    }
    
    .link-card {
        padding: 15px;
    }
    
    .link-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
        margin-right: 12px;
    }
    
    .link-content h4 {
        font-size: 15px;
    }
    
    .link-content p {
        font-size: 12px;
    }
}

/* Dark mode enhancements */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(108, 99, 255, 0.1) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(255, 101, 132, 0.1) 0%, transparent 40%);
    z-index: -1;
    pointer-events: none;
}