* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #2997FF;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --bg-primary: #fbfbfd;
    --card-bg: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.logo-loader {
    animation: fadeInScale 1s ease-out;
}

.logo-loader img {
    width: 200px;
    height: auto;
    animation: pulse 2s ease-in-out infinite;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 0.8s ease-out 0.5s both;
}

.logo img {
    width: 280px;
    height: auto;
    transition: transform 0.3s ease;
    border: 2px solid var(--primary-blue);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow-md);
}

.logo img:hover {
    transform: scale(1.05);
}

.hero {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

.title {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.subtitle {
    font-size: clamp(18px, 3vw, 24px);
    color: var(--text-secondary);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.subtitle::after {
    content: '👇';
    font-size: 24px;
    animation: bounce 2s ease-in-out infinite;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.social-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px 30px;
    text-decoration: none;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out both;
}

.social-card:nth-child(1) { animation-delay: 0.9s; }
.social-card:nth-child(2) { animation-delay: 1s; }
.social-card:nth-child(3) { animation-delay: 1.1s; }
.social-card:nth-child(4) { animation-delay: 1.2s; }
.social-card:nth-child(5) { animation-delay: 1.3s; }
.social-card:nth-child(6) { animation-delay: 1.4s; }
.social-card:nth-child(7) { animation-delay: 1.5s; }

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(41, 151, 255, 0.05) 0%, rgba(41, 151, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.social-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.social-card:hover::before {
    opacity: 1;
}

.social-card:active {
    transform: translateY(-4px) scale(1.01);
}

.card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, #f5f5f7 0%, #ffffff 100%);
}

.social-icon {
    width: 48px;
    height: 48px;
    transition: transform 0.3s ease;
}

.social-card:hover .social-icon {
    transform: scale(1.1);
}

.platform-name {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.social-card:hover .platform-name {
    color: var(--primary-blue);
}

.website-card .platform-name {
    font-size: 18px;
}

.footer {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
    font-size: 14px;
    animation: fadeIn 0.8s ease-out 1.6s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 30px 15px;
    }

    .header {
        margin-bottom: 40px;
    }

    .logo img {
        width: 200px;
    }

    .hero {
        margin-bottom: 50px;
    }

    .social-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 50px;
    }

    .social-card {
        padding: 30px 20px;
    }

    .icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
