@font-face {
    font-family: 'Electrolize';
    src: url('/static/Electrolize-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

body {
    background: #000;
    overflow-x: hidden;
    font-family: 'Electrolize', system-ui, sans-serif;
}

section h1,
article h1 {
  font-size: 3rem;
}

#tetris-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.tetris-piece {
    position: absolute;
    pointer-events: auto;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tetris-square {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    background-color: white;
    background-size: cover;
    background-position: center;
    filter: grayscale(0.5) contrast(1.1) brightness(0.7);
    transition: filter 0.3s ease;
}

.tetris-piece:hover .tetris-square {
    filter: grayscale(0.2) contrast(1.1) brightness(0.9);
}

.tetris-piece.landed {
    opacity: 0.4;
}

.product-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.product-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.product-card:hover .product-motto {
    color: #fff;
}

.carousel-container {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.carousel-container::-webkit-scrollbar {
    height: 8px;
}

.carousel-container::-webkit-scrollbar-track {
    background: transparent;
}

.carousel-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.product-card-inner {
    scroll-snap-align: start;
}

.carousel-hint {
    animation: slideHint 2s ease-in-out infinite;
}

@keyframes slideHint {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

.carousel-fade {
    position: relative;
}

.carousel-fade::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100px;
    background: linear-gradient(to right, transparent, #000);
    pointer-events: none;
}

.content-wrapper {
    position: relative;
    z-index: 10;
    pointer-events: none;
}

.content-wrapper > * {
    pointer-events: auto;
}

.social-icon {
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icon:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

@media (max-width: 768px) {
    .tetris-square {
        width: 30px;
        height: 30px;
    }
}

.form-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.form-input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    outline: none;
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    min-width: 1.25rem;
    min-height: 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    position: relative;
    margin-top: 0.125rem;
    transition: all 0.1s ease;
}

.checkbox-input:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.checkbox-input:checked {
    background: white;
    border-color: white;
}

.checkbox-input:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
}

.tooltip .tooltip-text {
    visibility: hidden;
    background-color: rgba(255, 255, 255, 0.95);
    color: #000;
    text-align: left;
    border-radius: 6px;
    padding: 12px;
    position: absolute;
    z-index: 1000;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.875rem;
    line-height: 1.4;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.95) transparent transparent transparent;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.status-message {
    transition: opacity 0.5s ease-in-out, margin-bottom 0.5s ease-in-out, padding 0.5s ease-in-out, height 0.5s ease-in-out; 
    opacity: 1;
    overflow: hidden;
}

.status-message.hidden {
    display: none;
}

.status-message.fading-out {
    opacity: 0 !important; 
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    height: 0;
}

.honey {
    position: absolute; 
    left: -5000px;
}