* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #151D2B;
    color: rgb(255, 255, 255);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

.cabini img {
    width: 50%;
    height: auto;
}

/* FIX: was .variants img — the section uses class="var" so this rule never fired */
.var img {
    width: 75%;
    align-self: center;
    height: auto;
}


header {
    text-align: center;
    padding: 1px;
    background: linear-gradient(
        135deg,
        #25354C,
        #25354C
    );
    color: rgb(255, 255, 255);
}

header h1 {
    font-size: 4rem;
}

nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 15px;
    background: #25354C;
}

nav a {
    color: rgb(255, 255, 255);
    text-decoration: none;
}

section {
    max-width: 900px;
    margin: auto;
    padding: 40px 20px;
}

#hero {
    text-align: center;
}

.cabini-face {
    font-size: 7rem;
    margin-bottom: 20px;
    animation: bob 3s infinite ease-in-out;
}

@keyframes bob {
    50% {
        transform: translateY(-10px);
    }
}

.about {
    background: #25354C;
    padding: 20px;
    border-radius: 12px;
    margin-top: 15px;
}

.info-block {
    margin-bottom: 2rem;
}

.info-block p {
    font-size: 0.93rem;
    line-height: 1.7;
    color: var(--text);
    opacity: 0.9;
    margin-bottom: 0.6rem;
}

.command-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.8rem 0 1.2rem;
    font-size: 0.9rem;
}

.command-table th {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    color: var(--amber);
    text-transform: uppercase;
    text-align: left;
    padding: 0.45rem 0.8rem;
    border-bottom: 1px solid #25354C;
}

.command-table td {
    padding: 0.5rem 0.8rem;
    border-bottom: 1px solid #3a4d66;
    line-height: 1.5;
    vertical-align: middle;
}

.var {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #25354C;
    padding: 40px;
    border-radius: 22px;
    margin-top: 15px;
}

.card {
    background: #25354C;
    padding: 40px;
    border-radius: 22px;
    margin-top: 15px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
}

.hidden {
    display: none;
}

footer {
    text-align: center;
    padding: 40px;
    background: #25354C;
}

.secret-mode {
    animation: rainbow 2s infinite;
}

@keyframes rainbow {
    0%   { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}






@keyframes fall {
    to {
        transform: translateY(105vh);
    }
}
