* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #e8ecef 0%, #d9dfe4 100%);
    overflow: hidden;
}

.container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.glass-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    z-index: 1;
    animation: glassFadeIn 1.5s ease-out;
}

/* Home Button Styles */
.home-button {
    position: absolute;
    top: 20px; /* Distance from the top */
    left: 20px; /* Distance from the left */
    display: flex;
    align-items: center;
    padding: 10px 15px; /* Adjust padding to match other small elements */
    background: rgba(255, 255, 255, 0.4); /* Glass background */
    backdrop-filter: blur(15px); /* Glassmorphism blur */
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5); /* Light border */
    border-radius: 50px; /* Rounded pill shape */
    text-decoration: none; /* Remove underline */
    color: #2c3e50; /* Text color */
    font-size: 1rem; /* Adjust font size as needed */
    font-weight: 400;
    transition: all 0.3s ease; /* Smooth transitions for hover */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    z-index: 10; /* Ensure it's above other elements */
}

.home-button:hover {
    background: rgba(255, 255, 255, 0.6); /* Lighter background on hover */
    transform: translateY(-2px); /* Slight lift */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); /* Enhanced shadow */
}

.home-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.home-button:hover::before {
    opacity: 0.4;
}

.home-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.home-button:hover::after {
    opacity: 0.3;
}


.avatar-container {
    position: relative;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.5);
    overflow: hidden;
    z-index: 2;
    animation: avatarFadeIn 1.8s ease-out;
}

.avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.avatar-container:hover .avatar {
    transform: scale(1.1);
}

.avatar-container:hover {
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.title {
    font-size: 4.8rem;
    color: #2c3e50;
    text-align: center;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 300;
    margin-bottom: 25px;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    animation: slideIn 1.2s ease-out;
    z-index: 2;
}

.subtitle {
    font-size: 1.6rem;
    color: #34495e;
    text-align: center;
    letter-spacing: 1.5px;
    font-weight: 300;
    margin-bottom: 50px;
    animation: slideIn 1.4s ease-out;
    z-index: 2;
}

.button-group {
    display: flex;
    gap: 40px;
    z-index: 2;
}

.glass-button {
    position: relative;
    display: flex;
    align-items: center;
    padding: 18px 35px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.button-text {
    font-size: 1.3rem;
    color: #2c3e50;
    font-weight: 400;
    letter-spacing: 1.2px;
    margin-right: 12px;
    transition: transform 0.3s ease;
}

.button-icon {
    font-size: 1.5rem;
    color: #2c3e50;
    transition: transform 0.3s ease;
}

.glass-button:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.glass-button:hover .button-text {
    transform: translateX(6px);
}

.glass-button:hover .button-icon {
    transform: translateX(12px);
}

.glass-button:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.button-1 {
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.4), rgba(220, 230, 240, 0.5));
    animation: buttonPulse1 3s infinite ease-in-out;
}

.button-2 {
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.4), rgba(230, 220, 240, 0.5));
    animation: buttonPulse2 3s infinite ease-in-out;
}

.secondary-panel {
    position: absolute;
    width: 90%;
    max-width: 600px;
    height: 60%;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 3;
    animation: slideIn 0.5s ease-out;
}

.secondary-title {
    font-size: 2.5rem;
    color: #2c3e50;
    text-align: center;
    letter-spacing: 2px;
    font-weight: 300;
    margin-bottom: 40px;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.secondary-button-group {
    display: flex;
    flex-direction: column;
    gap: 30px;
    z-index: 2;
}

.button-secondary-1 {
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.4), rgba(220, 230, 240, 0.5));
    animation: buttonPulse1 3s infinite ease-in-out;
}

.button-secondary-2 {
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.4), rgba(230, 220, 240, 0.5));
    animation: buttonPulse2 3s infinite ease-in-out;
}

.close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.close-button:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

.message {
    font-size: 1.5rem;
    color: #2c3e50;
    text-align: center;
    margin: 20px 0;
    z-index: 2;
}

@keyframes glassFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.85);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes avatarFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.7);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(60px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes buttonPulse1 {
    0% {
        box-shadow: 0 0 12px rgba(220, 230, 240, 0.3);
    }
    50% {
        box-shadow: 0 0 25px rgba(220, 230, 240, 0.5);
    }
    100% {
        box-shadow: 0 0 12px rgba(220, 230, 240, 0.3);
    }
}

@keyframes buttonPulse2 {
    0% {
        box-shadow: 0 0 12px rgba(230, 220, 240, 0.3);
    }
    50% {
        box-shadow: 0 0 25px rgba(230, 220, 240, 0.5);
    }
    100% {
        box-shadow: 0 0 12px rgba(230, 220, 240, 0.3);
    }
}

@media (max-width: 768px) {
    .title {
        font-size: 3.5rem;
    }
    .subtitle {
        font-size: 1.3rem;
    }
    .avatar-container {
        width: 120px;
        height: 120px;
    }
    .avatar {
        width: 110px;
        height: 110px;
    }
    .button-group {
        flex-direction: column;
        gap: 25px;
    }
    .glass-button {
        padding: 15px 30px;
    }
    .button-text {
        font-size: 1.1rem;
    }
    .button-icon {
        font-size: 1.3rem;
    }
    .secondary-panel {
        width: 95%;
        height: 70%;
    }
    .secondary-title {
        font-size: 2rem;
    }
    /* Adjustments for smaller screens - home button */
    .home-button {
        top: 15px;
        left: 15px;
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2.8rem;
    }
    .subtitle {
        font-size: 1.1rem;
    }
    .avatar-container {
        width: 100px;
        height: 100px;
    }
    .avatar {
        width: 90px;
        height: 90px;
    }
    .glass-button {
        padding: 12px 25px;
    }
    .secondary-title {
        font-size: 1.8rem;
    }
    .close-button {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    /* Adjustments for smaller screens - home button */
    .home-button {
        top: 10px;
        left: 10px;
        padding: 7px 10px;
        font-size: 0.8rem;
    }
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.glass-overlay::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0.5;
}

.glass-overlay::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 120%;
    height: 120%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0.5;
}

.title::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: rgba(44, 62, 80, 0.3);
    animation: underlineGrow 1.5s ease-out;
}

.title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: rgba(44, 62, 80, 0.3);
    animation: underlineGrow 1.5s ease-out;
}

@keyframes underlineGrow {
    0% {
        width: 0;
    }
    100% {
        width: 100px;
    }
}

.subtitle::before {
    content: '';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: rgba(44, 62, 80, 0.2);
}

.subtitle::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background: rgba(44, 62, 80, 0.2);
}

.glass-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.glass-button:hover::before {
    opacity: 0.4;
}

.glass-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.glass-button:hover::after {
    opacity: 0.3;
}

.button-group::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(44, 62, 80, 0.2), transparent);
}

.button-group::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(44, 62, 80, 0.2), transparent);
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), transparent);
    z-index: 0;
}

.container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.1), transparent);
    z-index: 0;
}

.glass-button:active::before {
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.glass-button:active::after {
    opacity: 0.4;
    transition: opacity 0.2s ease;
}

.title:hover {
    color: #1a252f;
    transition: color 0.3s ease;
}

.subtitle:hover {
    color: #1a252f;
    transition: color 0.3s ease;
}

.glass-overlay:hover {
    background: rgba(255, 255, 255, 0.35);
    transition: background 0.4s ease;
}

.avatar-container::before {
    content: '';
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    z-index: -1;
}

.avatar-container::after {
    content: '';
    position: absolute;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: -1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 10%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.glass-button.button-1::before {
    background: radial-gradient(circle, rgba(220, 230, 240, 0.3) 0%, transparent 70%);
}

.glass-button.button-2::before {
    background: radial-gradient(circle, rgba(230, 220, 240, 0.3) 0%, transparent 70%);
}

@keyframes buttonHoverGlow {
    0% {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    }
    100% {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    }
}

.glass-button:hover {
    animation: buttonHoverGlow 2s infinite ease-in-out;
}