@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

:root {
    --primary: #0288ff;
    --primary-light: #4dabff;
    --bg-dark: #0a192f;
    --bg-gradient: linear-gradient(135deg, #0a192f 0%, #0d253f 100%);
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --text-main: #f6f7fa;
    --text-dim: rgba(246, 247, 250, 0.7);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
    overflow-x: hidden;
}

/* Base Layout */
.app-container {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.app-container.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header Section */
header {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.brand-wrapper {
    position: relative;
}

.profile-img-frame {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 2px solid var(--primary);
    padding: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(2, 136, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.profile-img-frame img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.lang-toggle {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition);
    z-index: 100;
}

.lang-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

h1 {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1rem;
    color: var(--text-dim);
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Links List */
.links-grid {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 1rem 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.link-item:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    background: rgba(255, 255, 255, 0.08);
}

.link-item:hover::before {
    transform: translateX(100%);
}

.link-item.featured {
    background: var(--primary);
    border: none;
    box-shadow: 0 10px 20px rgba(2, 136, 255, 0.3);
}

.link-item.featured:hover {
    background: var(--primary-light);
}

.icon-box {
    width: 24px;
    height: 24px;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
}

.featured .icon-box {
    color: white;
}

/* Responsive adjustments */
@media (max-width: 400px) {
    header h1 {
        font-size: 1.5rem;
    }
    .lang-toggle {
        top: 1rem;
        right: 1rem;
    }
}
