/* ================================
   1. RESET & ATMOSPHERE (AURORA)
   ================================ */

html, body {
    height: 100%;
    margin: 0;
    font-family: "Lucida Grande", "Segoe UI", Tahoma, Arial, sans-serif;
    overflow: hidden;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;

    /* The "Aurora" Background: Deep blue with a light bloom at the top */
    background: 
        radial-gradient(
            circle at 50% 0%,
            rgba(255, 255, 255, 0.4) 0%,
            rgba(255, 255, 255, 0) 35%
        ),
        radial-gradient(
            ellipse at center,
            #628bb8 0%, 
            #2e5280 40%, 
            #0f2236 100%
        );
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* ================================
   2. MAIN AERO GLASS PANEL
   ================================ */

.box {
    position: relative;
    width: 440px;
    padding: 38px 40px 32px;
    
    /* VISTA/7 GLASS EFFECT */
    /* High blur + slight color saturation + noise reduction */
    background-color: rgba(240, 248, 255, 0.15); 
    backdrop-filter: blur(24px) saturate(140%);
    -webkit-backdrop-filter: blur(24px) saturate(140%);

    /* 1px borders with varying opacity for 3D depth */
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    
    border-radius: 14px;

    /* Deep, soft shadow to make it float */
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.7), /* Inner white highlight */
        inset 0 0 15px rgba(255, 255, 255, 0.1), /* Inner glow */
        0 30px 60px rgba(0, 0, 0, 0.5), /* Drop shadow */
        0 0 0 1px rgba(255, 255, 255, 0.1); /* Outer ring */

    text-align: center;
    color: #1f3247;
}

/* THE "HORIZON" GLOSS (Crucial for the 2009 look) */
.box::before {
    content: "";
    position: absolute;
    top: 1px; left: 1px; right: 1px;
    height: 42%; /* Stops slightly less than half way */

    /* Sharp cut-off gradient */
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.6) 0%,
        rgba(255, 255, 255, 0.15) 100%
    );

    border-radius: 12px 12px 4px 4px;
    
    /* Mask to fade the gloss out at the bottom edge specifically */
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    
    pointer-events: none;
    z-index: 0;
}

/* ================================
   3. SKEUOMORPHIC SHIELD
   ================================ */

.shield {
    position: relative;
    display: block;
    width: 72px;
    height: 84px;
    margin: 0 auto 18px;
    z-index: 1;

    /* Metallic Blue Shield Gradient */
    background: radial-gradient(
        circle at 30% 20%,
        #e0efff 0%,
        #6fa8dc 40%,
        #2b5f8e 100%
    );

    /* The Shape */
    clip-path: polygon(
        50% 0%, 
        100% 20%, 
        100% 65%, 
        50% 100%, 
        0% 65%, 
        0% 20%
    );

    /* Outer Glow */
    filter: drop-shadow(0 0 15px rgba(97, 181, 255, 0.6));
}

/* Inner Gloss highlight for the shield */
.shield::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    
    background: linear-gradient(
        105deg,
        rgba(255,255,255,0.8) 0%,
        rgba(255,255,255,0) 30%,
        rgba(255,255,255,0) 100%
    );
    clip-path: polygon(
        50% 0%, 
        100% 20%, 
        100% 65%, 
        50% 100%, 
        0% 65%, 
        0% 20%
    );
}

/* ================================
   4. TYPOGRAPHY (Snow Leopard Style)
   ================================ */

h1 {
    position: relative;
    margin: 8px 0 6px;
    font-size: 24px;
    font-weight: 600;
    color: #1a2a3a;
    z-index: 1;

    /* The classic OS X/Vista white drop shadow for legibility */
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

.subtitle {
    position: relative;
    display: block;
    margin-bottom: 20px;
    font-size: 14px;
    color: #3d566e;
    z-index: 1;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* ================================
   5. DETAILS AREA (Inset Look)
   ================================ */

.details {
    position: relative;
    padding: 15px 18px;
    margin-top: 20px;
    z-index: 1;

    /* Darker, "etched" background */
    background: rgba(255, 255, 255, 0.25);
    
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(230, 230, 230, 0.4);
    border-radius: 8px;

    font-size: 13px;
    line-height: 1.5;
    color: #1f3347;
    text-align: left;

    /* Inset shadow */
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.details b {
    color: #000;
}

/* ================================
   6. FOOTER / BUTTONS
   ================================ */

.footer {
    position: relative;
    margin-top: 24px;
    font-size: 12px;
    color: #444;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* Making the footer spans look like Aqua/Aero buttons */
.footer span {
    padding: 6px 18px;
    border-radius: 16px;
    cursor: pointer;
    font-weight: bold;

    /* Plastic button gradient */
    background: linear-gradient(
        to bottom,
        #ffffff 0%,
        #f1f1f1 50%,
        #e1e1e1 51%,
        #f6f6f6 100%
    );

    border: 1px solid #9c9c9c;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    
    text-shadow: 0 1px 0 rgba(255, 255, 255, 1);
}

.footer span:hover {
    /* Blue hover state (Aero style) */
    border-color: #3c7fb1;
    box-shadow: 0 0 3px #3c7fb1;
    background: linear-gradient(
        to bottom,
        #f2f9fe 0%,
        #d6eefb 50%,
        #bddef4 51%,
        #dceef9 100%
    );
}
