/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #2c3e50 0%, #4CA1AF 100%);
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header styles */
header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.5rem;
}

.logo {
    max-width: 250px;
    height: auto;
    margin-bottom: 0.5rem;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    letter-spacing: 1px;
}

/* Main content styles */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 0 auto;
    width: 100%;
}

.button {
    position: relative;
    aspect-ratio: 1/1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: white;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    padding: 2rem;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.button:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #3498db, #2c3e50);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.button:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
    background-color: #2c3e50;
    color: white;
}

.button:hover:before {
    transform: translateY(0);
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    color: #3498db;
}

.button:hover .icon {
    transform: scale(1.2);
    color: #4CA1AF;
}

.button-text {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Footer styles */
footer {
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .buttons-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .button-text {
        font-size: 1.2rem;
    }
    
    .container {
        padding: 1rem;
    }

    .logo {
        max-width: 200px;
    }

    .icon {
        font-size: 2rem;
        margin-bottom: 0.7rem;
    }
}

@media (max-width: 480px) {
    .buttons-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 0.8rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .button-text {
        font-size: 1rem;
    }
    
    .logo {
        max-width: 180px;
    }

    .icon {
        font-size: 1.8rem;
    }
}
