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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

.container {
    max-width: 800px;
    width: 90%;
    padding: 2rem;
}

header {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

.links-tree {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.link-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.link-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.link-item {
    display: flex;
    align-items: center;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.link-item:hover {
    background: rgba(102, 126, 234, 0.1);
}

.icon {
    width: 80px;
    height: 80px;
    margin-right: 1.5rem;
    color: #667eea;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.icon svg {
    width: 100%;
    height: 100%;
}

.icon.minecraft {
    color: #00AA00;
}

.link-item:hover .icon {
    transform: scale(1.1);
    color: #764ba2;
}

.link-item:hover .icon.minecraft {
    color: #00CC00;
}

.link-content {
    flex: 1;
}

.link-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.link-content p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.url {
    font-size: 0.9rem;
    color: #667eea;
    font-weight: 500;
    font-family: 'Courier New', monospace;
    background: rgba(102, 126, 234, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    display: inline-block;
}

footer {
    text-align: center;
    color: white;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 1rem;
    }
    
    header h1 {
        font-size: 2.5rem;
    }
    
    .links-tree {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .link-item {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
    }
    
    .icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .link-item {
        padding: 1rem;
    }
    
    .icon {
        width: 60px;
        height: 60px;
    }
}

/* Animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.link-card {
    animation: fadeInUp 0.6s ease-out forwards;
}

.link-card:nth-child(1) {
    animation-delay: 0.1s;
}

.link-card:nth-child(2) {
    animation-delay: 0.2s;
}

header {
    animation: fadeInUp 0.6s ease-out forwards;
}
