/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    min-height: 100vh;
    height: 100%;
    background: linear-gradient(135deg, #332675 0%, #1e1b4b 25%, #312e81 50%, #1e3a8a 75%, #1e40af 100%);
    overflow-x: hidden;
    position: relative;
}

/* Background animated blobs */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    mix-blend-mode: multiply;
    opacity: 0.2;
    animation: blob 7s infinite;
}

.blob1 {
    top: 20%;
    left: 20%;
    width: 300px;
    height: 300px;
    background: #8b5cf6;
}

.blob2 {
    top: 40%;
    right: 20%;
    width: 300px;
    height: 300px;
    background: #f59e0b;
    animation-delay: 2s;
}

.blob3 {
    bottom: 20%;
    left: 40%;
    width: 300px;
    height: 300px;
    background: #ec4899;
    animation-delay: 4s;
}

@keyframes blob {
    0% {
        transform: translate(0px, 0px) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

/* Main container */
.container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem 1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* Logo styles and animation */
.logo-container {
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(-100px);
    animation: slideFromTop 0.8s ease-out 0.3s forwards;
    width: 280px;
    height: auto;
}

.logo {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border: 4px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-inner {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #332675 0%, #1e40af 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-inner span {
    color: white;
    font-size: 3rem;
    font-weight: bold;
}

/* Title styles and animation */
.title-container {
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(-50px);
    animation: slideFromTop 0.8s ease-out 0.6s forwards;
}

.title-container h1 {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.title-container p {
    color: #c7d2fe;
    font-size: 1.2rem;
}

/* Links container */
.links-container {
    width: 80%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

/* Link box styles and animations */
.link-box {
    display: block;
    text-decoration: none;
    width: 100%;
    opacity: 0;
    transition: all 0.3s ease;
}

.link-box[data-direction="left"] {
    transform: translateX(-300px);
    animation: slideFromLeft 0.6s ease-out forwards;
}

.link-box[data-direction="right"] {
    transform: translateX(300px);
    animation: slideFromRight 0.6s ease-out forwards;
}

.link-box:nth-child(1) { animation-delay: 0.9s; }
.link-box:nth-child(2) { animation-delay: 1.1s; }
.link-box:nth-child(3) { animation-delay: 1.3s; }
.link-box:nth-child(4) { animation-delay: 1.5s; }
.link-box:nth-child(5) { animation-delay: 1.7s; }

.link-content {
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.link-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.link-box:nth-child(1) .link-content::before {
    background: linear-gradient(135deg, #e91e63 0%, #9c27b0 100%);
}

.link-box:nth-child(2) .link-content::before {
    background: linear-gradient(135deg, #1877f2 0%, #0d47a1 100%);
}

.link-box:nth-child(3) .link-content::before {
    background: linear-gradient(135deg, #ff0050 0%, #000000 100%);
}

.link-box:nth-child(4) .link-content::before {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
}

.link-box:nth-child(5) .link-content::before {
    background: linear-gradient(135deg, #0077b5 0%, #005885 100%);
}

.link-box:hover .link-content {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.link-box:hover .link-content::before {
    opacity: 0.9;
}

.link-box:active .link-content {
    transform: scale(0.95);
}

.link-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.link-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    position: relative;
    z-index: 2;
}

.link-box:hover .link-icon {
    background: rgba(255,255,255,0.3);
}

.link-icon i {
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
}

.x-icon {
    font-size: 1.5rem;
    font-weight: bold;
    position: relative;
    z-index: 2;
    color: white;
}

.link-text {
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.link-arrow {
    opacity: 0.7;
    transition: opacity 0.3s ease;
    position: relative;
    z-index: 2;
}

.link-box:hover .link-arrow {
    opacity: 1;
}

/* Footer */
.footer {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 1.9s forwards;
}

.footer p {
    color: #a5b4fc;
    font-size: 0.9rem;
    text-align: center;
}

/* Animations */
@keyframes slideFromTop {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideFromLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideFromRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .logo {
        width: 100px;
        height: 100px;
    }
    
    .logo-inner {
        width: 75px;
        height: 75px;
    }
    
    .logo-inner span {
        font-size: 2.5rem;
    }
    
    .title-container h1 {
        font-size: 2.5rem;
    }
    
    .title-container p {
        font-size: 1rem;
    }
    
    .link-content {
        padding: 0.8rem 1rem;
    }
    
    .link-text {
        font-size: 1rem;
    }
    
    .blob {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .title-container h1 {
        font-size: 2rem;
    }
    
    .link-content {
        padding: 0.7rem 0.8rem;
    }
    
    .link-icon {
        width: 35px;
        height: 35px;
    }
    
    .link-icon i {
        font-size: 1.2rem;
    }
    
    .blob {
        width: 150px;
        height: 150px;
    }
}

