* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'anton', sans-serif;
    min-height: 100vh;
    background: url('images/background.png') center center / cover no-repeat fixed;
    color: #fff;
    position: relative;
    overflow-x: hidden;
}

.container {
    max-width: 400px;
    margin: 0 auto;
    padding: 2rem 1rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.header {
    text-align: center;
    margin-bottom: 2rem;
}

.title {
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: lowercase;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 0.8s ease-out;
}

.main-card {
   background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    width: 100%;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.links-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.link-item {
    display: block;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 2px solid transparent;
}

.link-item[data-color="red"] {
    border-color: #ff3333;
    box-shadow: 0 0 20px rgba(255, 51, 51, 0.2);
}

.link-item[data-color="blue"] {
    border-color: #33ccff;
    box-shadow: 0 0 20px rgba(51, 204, 255, 0.2);
}

.link-item[data-color="orange"] {
    border-color: #ff8533;
    box-shadow: 0 0 20px rgba(255, 133, 51, 0.2);
}

.link-item:hover {
    transform: translateY(-5px) scale(1.02);
    filter: brightness(1.1);
}

.link-item[data-color="red"]:hover {
    border-color: #ff5555;
    box-shadow: 0 10px 30px rgba(255, 51, 51, 0.4);
}

.link-item[data-color="blue"]:hover {
    border-color: #55ddff;
    box-shadow: 0 10px 30px rgba(51, 204, 255, 0.4);
}

.link-item[data-color="orange"]:hover {
    border-color: #ff9955;
    box-shadow: 0 10px 30px rgba(255, 133, 51, 0.4);
}

.link-image {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.3s ease;
}

.link-item:hover .link-image {
    transform: scale(1.05);
}

.footer {
    margin-top: 2rem;
    text-align: center;
    opacity: 0.7;
    font-size: 0.875rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.link-item.clicked {
    animation: pulse 0.3s ease-in-out;
}

/* Responsive Design */
@media (max-width: 480px) {
    .container {
        padding: 1rem 0.5rem;
    }
    
    .title {
        font-size: 1.25rem;
    }
    
    .main-card {
        padding: 1.5rem;
    }
    
    .links-container {
        gap: 1rem;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .title {
        font-size: 1.75rem;
    }
}

/* Loading animation */
.link-item {
    animation: fadeInScale 0.6s ease-out forwards;
    opacity: 0;
}

.link-item:nth-child(1) {
    animation-delay: 0.1s;
}

.link-item:nth-child(2) {
    animation-delay: 0.2s;
}

.link-item:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}