body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* Apple System Font Stack */
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, #1B2735 0%, #050608 100%);
    overflow: hidden;
    /* Slow Popup Animation for the whole page */
    animation: pageLoad 3s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes pageLoad {
    0% { opacity: 0; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

/* Bayer Background Container */
#bayer-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: #000;
    z-index: 0;
}

/* Center Container with REFINED Glassmorphism */
.center-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 10;
    padding: 2.5rem 5rem;
    background: rgba(255, 255, 255, 0.03); /* subtle white tint */
    backdrop-filter: blur(40px); /* Stronger blur for better glass effect */
    -webkit-backdrop-filter: blur(40px);
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.7);
    overflow: hidden;
}

/* Electric Border Styles */
.card-container {
    position: relative;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: visible;
}

.canvas-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.electric-border-canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

.glow-layer-1 {
    position: absolute;
    inset: 0;
    border: 1.5px solid rgba(219, 223, 75, 0.4);
    filter: blur(2px);
    pointer-events: none;
    z-index: 0;
}

.glow-layer-2 {
    position: absolute;
    inset: -2px;
    border: 1px solid rgba(219, 223, 75, 0.2);
    filter: blur(8px);
    pointer-events: none;
    z-index: 0;
}

.content-container {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.button-glass {
    transition: all 0.3s ease;
}

.button-glass:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* SVG Line Drawing Animation */
.icon-wrapper {
    width: 8vw;
    height: auto;
    z-index: 2;
}

.fruit-svg {
    width: 100%;
    height: 100%;
}

.pear-path, .leaf-path {
    fill: none;
    stroke: white;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: drawLine 4s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.5s;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

.main-text {
    font-size: 10vw;
    font-weight: 700;
    color: white;
    letter-spacing: -0.05em;
    margin: 0;
    text-shadow: 0 10px 40px rgba(0,0,0,0.5);
    user-select: none;
    z-index: 2;
}
