body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #302c34 0%, #2a272e 50%, #1c1a20 100%);
    color: #f0f0f0;
    direction: ltr;
    overflow: hidden;
    position: relative; /* For potential background effects */
}

/* Optional: Add a subtle background glow */
body::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 0, 150, 0.3) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
    animation: glow-top-left 8s infinite alternate ease-in-out;
}

body::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 150, 255, 0.3) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
    animation: glow-bottom-right 8s infinite alternate ease-in-out;
}

@keyframes glow-top-left {
    0% { transform: translate(0, 0); opacity: 0.7; }
    100% { transform: translate(50px, 50px); opacity: 0.9; }
}

@keyframes glow-bottom-right {
    0% { transform: translate(0, 0); opacity: 0.7; }
    100% { transform: translate(-50px, -50px); opacity: 0.9; }
}


/* Glassmorphism effect */
.glassmorphism {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    /* New: Inner shadow for depth */
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.05);
}

.container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 30px;
    max-width: 1200px;
    width: 100%;
}

.left-panel {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-align: center;
}

.main-logo {
    width: 350px;
    height: 350px;
    object-fit: contain;
    margin-bottom: 20px;
}

.branding-text h1 {
    font-size: 2.8em;
    margin: 0 0 10px 0;
    color: #e0e0e0;
}

.branding-text p {
    font-size: 1.1em;
    margin: 0;
    color: #bbb;
}

.developer-name {
    color: #6a1b9a;
    font-weight: bold;
}

.right-panel {
    flex: 2;
    min-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    width: 100%;
}

.grid-button {
    text-decoration: none; /* Crucial for links to remove underline */
    color: #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 20px;
    min-height: 150px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; /* Added border-color transition */
    border-radius: 20px;
    position: relative;
    /* Removed Glassmorphism border for now, handled by .glassmorphism directly */
}

.grid-button:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.4); /* Brighter border on hover */
    /* Added subtle rotation effect */
    transform: translateY(-8px) rotateZ(1deg); /* Slight rotation */
}

.grid-button .icon {
    font-size: 3em;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.grid-button span {
    font-size: 1.2em;
    font-weight: bold;
}

/* Icon colors */
.icon.orange { color: #FFA500; }
.icon.red { color: #FF4500; }
.icon.blue { color: #1E90FF; }
.icon.purple { color: #8A2BE2; }
.icon.gray { color: #A0A0A0; }
.icon.light-gray { color: #cccccc; }

/* CPanel button spanning two columns */
.wide-button {
    grid-column: span 2;
}

/* Hide the extra button */
.hidden-button {
    visibility: hidden;
}

/* Responsive design */
@media (max-width: 900px) {
    .container {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .left-panel {
        padding: 30px;
        min-width: unset;
        width: 100%;
    }

    .right-panel {
        min-width: unset;
        width: 100%;
    }

    .buttons-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 15px;
    }

    .grid-button {
        padding: 20px 15px;
        min-height: 120px;
    }

    .grid-button .icon {
        font-size: 2.5em;
        margin-bottom: 10px;
    }

    .grid-button span {
        font-size: 1em;
    }

    .wide-button {
        grid-column: span 1;
    }
}

@media (max-width: 500px) {
    .buttons-grid {
        grid-template-columns: 1fr;
    }
    .grid-button {
        width: calc(100% - 40px);
    }
}