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

/* Body styling */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, #000, #000);
    color: #f0f0f0;
    min-height: 100vh;
}

/* Page title and description */
h1 {
    margin-top: 20px;
    font-size: 2.5rem;
    color: #c9c9ff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.description {
    font-size: 1.1rem;
    color: #aaa;
    margin-bottom: 20px;
}

/* Container styling */
.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    padding: 20px;
    width: 100%;
    max-width: 1000px;
}

/* Box styling */
.box {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 180px;
    border-radius: 15px;
    background: linear-gradient(145deg, #000, #000);
    color: #d1d1e9;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Home box styling */
.home-box {
    background: linear-gradient(145deg, #000, #000);
    color: #e0e0ff;
}

.home-box:hover {
    transform: scale(1.1);
    background: linear-gradient(145deg, #000, #000);
}

/* Box hover effect */
.box:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

/* Inner animated effect */
.box::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.15), transparent);
    top: -50%;
    left: -50%;
    z-index: 1;
    animation: float 10s linear infinite;
}

/* Floating animation */
@keyframes float {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
    100% { transform: rotate(360deg); }
}

/* Text styling inside box */
.box span {
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
