@font-face {
    font-family: 'KickFont';
    src: url('kick-font.otf') format('opentype');
}

body {
    margin: 0;
    padding: 0;
    background-color: transparent;
    overflow: hidden;
    font-family: 'KickFont', sans-serif;
}

#alert-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.95);
    /* Slightly transparent black */
    color: #53FC18;
    width: 650px;
    height: 0;
    overflow: hidden;
    transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    border: 2px solid #53FC18;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(83, 252, 24, 0.2);
    opacity: 0;
}

/* Stage 1: Show Header */
#alert-container.active {
    height: 120px;
    /* Height for just the user name */
    opacity: 1;
}

/* Stage 2: Expand to show details */
#alert-container.expanded {
    height: 400px;
}

#alert-content {
    width: 100%;
    height: 400px;
    /* Fixed height for internal layout */
    display: flex;
    flex-direction: column;
    padding: 0;
    box-sizing: border-box;
    text-align: center;
}

.alert-image {
    height: 100px;
    width: auto;
    margin-left: 15px;
    filter: drop-shadow(0 0 15px rgba(83, 252, 24, 0.5));
    flex-shrink: 0;
}

.user-container {
    height: 120px;
    /* Matches initial container height */
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    gap: 10px;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(83, 252, 24, 0.3);
    background: linear-gradient(180deg, rgba(83, 252, 24, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
}

.info-container {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.5s ease 0.1s;
}

#alert-container.expanded .info-container {
    opacity: 1;
    transform: translateY(0);
}

.user-line {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(83, 252, 24, 0.5);
    text-align: center;
}

.info-line {
    font-size: 36px;
    /* Reduced from 48px to fit longer text */
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 0 15px rgba(83, 252, 24, 0.3);
}