/* Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Base Variables for Unified Glass Aesthetic */
:root {
    --text-main: #FFFFFF;
    --text-muted: #E2E8F0;
    
    /* Panel Glass Properties */
    --panel-bg: rgba(255, 255, 255, 0.05);
    --panel-border: rgba(255, 255, 255, 0.15);
    --panel-glow: rgba(0, 0, 0, 0.2);
    
    /* Link Card Properties */
    --link-bg: rgba(255, 255, 255, 0.08);
    --link-hover-bg: rgba(255, 255, 255, 0.15);
    --link-active-bg: rgba(255, 255, 255, 0.2);
    --link-border: rgba(255, 255, 255, 0.06);
    
    /* Vibe Accent Colors for Naked SVGs */
    --accent-blue: #00e5ff;
    --accent-pink: #ec4899;
    --accent-orange: #ff4500;
    --accent-violet: #b026ff;
}

body {
    font-family: 'Outfit', -apple-system, sans-serif;
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Static, attractive elegant gradient */
    background: linear-gradient(135deg, #1e1146, #0e111d, #141c30);
}

/* Layout Container */
.container {
    width: 100%;
    padding: 64px 20px 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 
 * UNIFIED GLASS PANEL
 * The massive central frosted container holding everything 
 */
.glass-panel {
    width: 100%;
    max-width: 540px;
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 40px;
    padding: 48px 32px;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 0 40px 80px var(--panel-glow), 
                inset 0 1px 0 rgba(255,255,255,0.1);
    animation: fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Profile Section inside the Panel */
.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center; 
    margin-bottom: 40px;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid rgba(255,255,255,0.2);
}

.name {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 6px;
    text-align: center;
}

.bio {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 400;
    text-align: center;
}

/* Links List Matrix */
.link-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 
 * GLASSMORPHISM BUTTONS 
 * No glowing borders, just pure elegant frosted layers 
 */
/* Center the text and absolutely position icons */
.link-card {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* Anchor for SVGs */
    width: 100%;
    min-height: 64px;
    padding: 16px 60px; /* Pad sides to avoid text hitting SVGs */
    background: var(--link-bg);
    border: 1px solid var(--link-border);
    border-radius: 20px;
    text-decoration: none;
    
    /* Hardware acceleration */
    will-change: transform, background-color;
    transform: translateZ(0);
    
    /* Smooth Physics */
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), 
                background-color 0.2s ease,
                border-color 0.2s ease;
}

/* Remove Mobile Click Highlight */
.link-card {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* Hover Dynamics (Desktop) */
@media (hover: hover) and (pointer: fine) {
    .link-card:hover {
        background-color: var(--link-hover-bg);
        border-color: rgba(255,255,255,0.15);
        transform: translateY(-2px);
    }
}

/* Tactile Squash Physics (Mobile + Universal) */
.link-card:active {
    background-color: var(--link-active-bg);
    transform: scale(0.96) !important;
    transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Center Wrapper Hack */
.link-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* Naked icons directly integrated and fixed left */
.link-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px; 
    height: 26px;
    flex-shrink: 0;
}

.link-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.link-title {
    color: var(--text-main);
    font-size: 1.15rem;
    font-weight: 500;
    text-align: center;
}

/* Minimalist Chevron Arrow fixed right */
.link-chevron {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    color: var(--text-main);
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (hover: hover) and (pointer: fine) {
    .link-card:hover .link-chevron {
        opacity: 1;
        transform: translateY(-50%) translateX(4px);
    }
}

/* --- Brand Specific Accent Colors --- */
/* Giving exactly the requested "different style" naked neon icons without borders */
.link-card.brand-telegram .link-icon { color: var(--accent-blue); }
.link-card.brand-hot-1 .link-icon { color: var(--accent-pink); }
.link-card.brand-hot-2 .link-icon { color: #ffffff; } /* Special contrast */
.link-card.brand-hot-3 .link-icon { color: var(--accent-orange); }

/* Entrance Animations */
@keyframes fade-up {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Stagger Internal Load */
.link-card {
    opacity: 0;
    animation: fade-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.link-card:nth-child(1) { animation-delay: 0.1s; }
.link-card:nth-child(2) { animation-delay: 0.15s; }
.link-card:nth-child(3) { animation-delay: 0.2s; }
.link-card:nth-child(4) { animation-delay: 0.25s; }
.link-card:nth-child(5) { animation-delay: 0.3s; }
.link-card:nth-child(6) { animation-delay: 0.35s; }
.link-card:nth-child(7) { animation-delay: 0.4s; }
.link-card:nth-child(8) { animation-delay: 0.45s; }


/* Responsive Scaling */
@media (max-width: 480px) {
    .container {
        padding: 24px 16px;
    }
    
    .glass-panel {
        padding: 32px 20px;
        border-radius: 32px;
    }

    .avatar {
        width: 100px;
        height: 100px;
    }
    
    .name {
        font-size: 2rem;
    }

    .link-card {
        padding: 14px 16px;
        border-radius: 16px;
        min-height: 64px; 
    }
    
    .link-title {
        font-size: 1.05rem;
    }
}
