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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #1a2a6c);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding-top: 20px; /* Add top padding */
    padding-bottom: 20px; /* Add bottom padding */
    overflow-x: hidden;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    text-align: center;
    max-width: 800px;
    padding: 20px;
    width: 100%;
}

header {
    margin-bottom: 30px;
}

header h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

main {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 50px;
}

.option-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: 0;
}

.option-card:hover::before {
    transform: translateX(100%);
}

.icon {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #fff;
}

.option-card h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.option-card p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(45deg, #00c9ff, #92fe9d);
    color: #000;
    box-shadow: 0 4px 15px rgba(0, 201, 255, 0.4);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 201, 255, 0.6);
}

.btn-secondary {
    background: linear-gradient(45deg, #ff416c, #ff4b2b);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 65, 108, 0.4);
}

.btn-secondary:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 65, 108, 0.6);
}

.server-link {
    margin-top: 20px;
    font-family: monospace;
    font-size: 1.2rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px 20px;
    border-radius: 10px;
    display: inline-block;
}

footer {
    margin-top: 30px;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Add background transition effect on hover */
.option-card:hover {
    animation: cardHighlight 0.5s ease;
}

@keyframes cardHighlight {
    0% { background: rgba(255, 255, 255, 0.1); }
    50% { 
        background: rgba(0, 201, 255, 0.2); 
        filter: blur(2px);
    }
    100% { 
        background: rgba(255, 255, 255, 0.1); 
    }
}

/* Specific background transitions for each card */
.option-card:nth-child(1):hover {
    background: rgba(0, 201, 255, 0.2) !important;
    animation: teamSpeakHighlight 0.5s ease;
}

@keyframes teamSpeakHighlight {
    0% { background: rgba(255, 255, 255, 0.1); }
    50% { background: rgba(0, 201, 255, 0.2); }
    100% { background: rgba(255, 255, 255, 0.1); }
}

.option-card:nth-child(2):hover {
    background: rgba(255, 65, 108, 0.2) !important;
    animation: aiHighlight 0.5s ease;
}

@keyframes aiHighlight {
    0% { background: rgba(255, 255, 255, 0.1); }
    50% { background: rgba(255, 65, 108, 0.2); }
    100% { background: rgba(255, 255, 255, 0.1); }
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    header h1 {
        font-size: 2.5rem;
    }
    
    main {
        flex-direction: column;
    }
    
    .option-card {
        padding: 30px 20px;
    }
    
    .icon {
        font-size: 3rem;
    }
    
    .option-card h2 {
        font-size: 1.5rem;
    }
    
    /* Additional padding for small screens */
    body {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

/* Landscape mode adjustments */
@media (max-width: 1024px) and (orientation: landscape) {
    .container {
        padding: 15px;
    }
    
    header h1 {
        font-size: 2.2rem;
    }
    
    .option-card {
        padding: 25px 15px;
    }
    
    .icon {
        font-size: 2.5rem;
    }
    
    .option-card h2 {
        font-size: 1.3rem;
    }
    
    .option-card p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 1rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .container {
        padding: 5px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .option-card {
        padding: 20px 10px;
    }
    
    .icon {
        font-size: 2rem;
    }
    
    .option-card h2 {
        font-size: 1.2rem;
    }
    
    .option-card p {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .server-link {
        font-size: 1rem;
    }
}

/* Very small devices (mobile) */
@media (max-width: 320px) {
    header h1 {
        font-size: 1.8rem;
    }
    
    .option-card h2 {
        font-size: 1.1rem;
    }
    
    .option-card p {
        font-size: 0.8rem;
    }
    
    .btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}