:root {
    --bg-dark: #05070a;
    --accent-teal: #00bac4;
    --accent-purple: #6b21a8;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --neon-shadow: 0 0 20px rgba(0, 186, 196, 0.3);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 40px;
}

#tech-canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
}

.container {
    width: 100%;
    max-width: 480px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

/* Header Section */
.profile-section {
    text-align: center;
    margin-bottom: 40px;
}

.logo-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-wrapper::before {
    content: '';
    position: absolute;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, var(--accent-teal) 0%, transparent 70%);
    opacity: 0.2;
    filter: blur(20px);
    animation: pulse 4s infinite alternate;
}

.main-logo {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 186, 196, 0.5));
}

.brand-title {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    background: linear-gradient(to right, #fff, var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-tagline {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 280px;
    margin: 0 auto;
}

/* Links Section */
.links-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.link-card {
    text-decoration: none;
    color: var(--text-primary);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 18px 20px;
    border-radius: 16px;
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.link-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transition: 0.5s;
}

.link-card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(0, 186, 196, 0.4);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 186, 196, 0.1);
}

.link-card:hover::after {
    left: 100%;
}

.link-card.highlight {
    background: rgba(0, 186, 196, 0.05);
    border-color: rgba(0, 186, 196, 0.3);
}

.link-card.highlight .icon-box {
    color: var(--accent-teal);
    background: rgba(0, 186, 196, 0.1);
}

.icon-box {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.link-card:hover .icon-box {
    background: var(--accent-teal);
    color: var(--bg-dark);
}

.link-card span {
    flex: 1;
    font-weight: 500;
    font-size: 1.05rem;
}

.arrow-icon {
    width: 18px;
    height: 18px;
    opacity: 0.3;
    transition: var(--transition);
}

.link-card:hover .arrow-icon {
    opacity: 1;
    transform: translateX(4px);
    color: var(--accent-teal);
}

/* Footer */
.social-footer {
    margin-top: 60px;
    width: 100%;
    text-align: center;
    opacity: 0.5;
}

.footer-line {
    width: 40px;
    height: 2px;
    background: var(--accent-teal);
    margin: 0 auto 20px;
    border-radius: 1px;
}

.social-footer p {
    font-size: 0.8rem;
}

/* Animations */
@keyframes pulse {
    from { transform: scale(0.9); opacity: 0.1; }
    to { transform: scale(1.1); opacity: 0.3; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.link-card {
    animation: slideUp 0.6s ease forwards;
    opacity: 0;
}

/* Generate staggered animation delays */
.link-card:nth-child(1) { animation-delay: 0.1s; }
.link-card:nth-child(2) { animation-delay: 0.2s; }
.link-card:nth-child(3) { animation-delay: 0.3s; }
.link-card:nth-child(4) { animation-delay: 0.4s; }
.link-child:nth-child(5) { animation-delay: 0.5s; }
