* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #288fc5;
    --secondary-color: #3ba8db;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --border-radius: 16px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --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 12px 32px rgba(0, 0, 0, 0.12);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-image: url('sampul.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(40, 143, 197, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(40, 143, 197, 0.4) 0%, rgba(59, 168, 219, 0.3) 100%);
    z-index: 0;
}

/* Background Decorations */
.bg-decoration {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
    z-index: 0;
    animation: float 20s infinite ease-in-out;
}

.bg-decoration-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #288fc5 0%, #1a6a94 100%);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.bg-decoration-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #3ba8db 0%, #288fc5 100%);
    bottom: -150px;
    right: -150px;
    animation-delay: 5s;
}

.bg-decoration-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #5bc0de 0%, #288fc5 100%);
    top: 50%;
    right: -125px;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.9); }
    75% { transform: translate(20px, 30px) scale(1.05); }
}

.container {
    width: 100%;
    max-width: 480px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 48px 32px;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.8s ease-out;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Logo Section */
.logo-section {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
    animation: zoomIn 0.6s ease-out 0.2s backwards;
}

.logo-wrapper {
    position: relative;
    padding: 8px;
    background: linear-gradient(135deg, #288fc5 0%, #1a6a94 100%);
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(40, 143, 197, 0.4);
}

.logo {
    width: 96px;
    height: 96px;
    object-fit: contain;
    border-radius: 20px;
    background: white;
    padding: 12px;
    transition: var(--transition);
    display: block;
}

.logo:hover {
    transform: scale(1.08) rotate(-5deg);
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Header Section */
.header-section {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInDown 0.6s ease-out 0.3s backwards;
}

.title {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #288fc5 0%, #1a6a94 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.subtitle {
    font-size: 15px;
    color: var(--text-light);
    font-weight: 500;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Links Container */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

/* Link Cards */
.link-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    animation: slideInUp 0.5s ease-out backwards;
}

.link-card:nth-child(1) { animation-delay: 0.4s; }
.link-card:nth-child(2) { animation-delay: 0.5s; }
.link-card:nth-child(3) { animation-delay: 0.6s; }
.link-card:nth-child(4) { animation-delay: 0.7s; }
.link-card:nth-child(5) { animation-delay: 0.8s; }
.link-card:nth-child(6) { animation-delay: 0.9s; }

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8));
    transition: width 0.4s ease;
    z-index: 0;
}

.link-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.link-card:hover::before {
    width: 100%;
}

.link-card:active {
    transform: translateY(-2px);
}

/* Specific card hover effects */
.whatsapp-card:hover {
    border-color: #25d366;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.website-card:hover {
    border-color: #288fc5;
    background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 100%);
}

.linkedin-card:hover {
    border-color: #0077b5;
    background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
}

.instagram-card:hover {
    border-color: #e1306c;
    background: linear-gradient(135deg, #ffffff 0%, #fdf2f8 100%);
}

.tiktok-card:hover {
    border-color: #25f4ee;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 100%);
}

.youtube-card:hover {
    border-color: #ff0000;
    background: linear-gradient(135deg, #ffffff 0%, #fef2f2 100%);
}

/* Icon Wrapper */
.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.link-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(-8deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.icon-wrapper svg {
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 2;
}

/* Color variants for icons */
.icon-wrapper.whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
}

.icon-wrapper.website {
    background: linear-gradient(135deg, #288fc5 0%, #1a6a94 100%);
    color: white;
}

.icon-wrapper.linkedin {
    background: linear-gradient(135deg, #0077b5 0%, #005885 100%);
    color: white;
}

.icon-wrapper.instagram {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.icon-wrapper.tiktok {
    background: linear-gradient(135deg, #69c9d0 0%, #ee1d52 50%, #010101 100%);
    color: white;
}

.icon-wrapper.youtube {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    color: white;
}

.link-content {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.link-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

/* Footer */
.footer {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
    animation: fadeIn 1s ease-out 1s backwards;
}

.footer p {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 16px;
    }

    .container {
        padding: 40px 24px;
        border-radius: 28px;
    }

    .logo {
        width: 80px;
        height: 80px;
    }

    .title {
        font-size: 32px;
    }

    .subtitle {
        font-size: 14px;
    }

    .link-card {
        padding: 16px 18px;
        gap: 14px;
    }

    .icon-wrapper {
        width: 56px;
        height: 56px;
    }

    .icon-wrapper svg {
        width: 28px;
        height: 28px;
    }

    .link-text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 12px;
    }

    .container {
        padding: 32px 20px;
        border-radius: 24px;
    }

    .logo-wrapper {
        padding: 6px;
        border-radius: 20px;
    }

    .logo {
        width: 72px;
        height: 72px;
        padding: 10px;
    }

    .logo-section {
        margin-bottom: 28px;
    }

    .header-section {
        margin-bottom: 32px;
    }

    .title {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .subtitle {
        font-size: 13px;
    }

    .links-container {
        gap: 12px;
        margin-bottom: 28px;
    }

    .link-card {
        padding: 14px 16px;
        gap: 12px;
    }

    .icon-wrapper {
        width: 52px;
        height: 52px;
        border-radius: 12px;
    }

    .icon-wrapper svg {
        width: 26px;
        height: 26px;
    }

    .link-text {
        font-size: 13px;
    }

    .footer p {
        font-size: 12px;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .container {
        padding: 28px 16px;
        border-radius: 20px;
    }

    .logo {
        width: 64px;
        height: 64px;
    }

    .title {
        font-size: 24px;
    }

    .subtitle {
        font-size: 12px;
    }

    .link-card {
        padding: 12px 14px;
        gap: 10px;
    }

    .icon-wrapper {
        width: 48px;
        height: 48px;
        border-radius: 10px;
    }

    .icon-wrapper svg {
        width: 24px;
        height: 24px;
    }

    .link-text {
        font-size: 12px;
    }
}

/* Add smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #288fc5 0%, #1a6a94 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #1a6a94 0%, #288fc5 100%);
}

/* Focus states for accessibility */
.link-card:focus {
    outline: 3px solid #288fc5;
    outline-offset: 2px;
}

/* Prevent text selection on rapid clicks */
.link-card {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
