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

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background-color: #040810;
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

#bg-cover {
    position: fixed;
    top: -5vh;
    left: -5vw;
    width: 110vw;
    height: 110vh;
    background: url("../img/bg.jpg") no-repeat center center;
    background-size: cover;
    z-index: -1;
    pointer-events: none;
}

/* About icon - top right */
.about-icon {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 10;
}

.about-icon a {
    color: rgba(255, 255, 255, 0.25);
    font-size: 20px;
    text-decoration: none;
}

.about-icon a:hover {
    color: rgba(255, 255, 255, 0.5);
}

.about-icon a:active {
    color: rgba(255, 255, 255, 0.7);
}

/* Main layout - goblet centered */
.center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 20px;
    overflow-x: hidden;
}

.centerImg {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.centerImg:active {
    transform: scale(0.97);
}

.centerImg img {
    max-width: 100%;
    width: 600px;
    height: auto;
}

/* Topic text */
.argStyle {
    font-family: 'Crimson Pro', serif;
    font-size: 22px;
    text-align: center;
    font-style: italic;
    color: whitesmoke;
    margin-top: 10px;
}

/* Counter */
.counter {
    font-family: 'Crimson Pro', serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 6px;
}

/* Category filters */
.category-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    max-width: 600px;
}

.cat-btn {
    font-family: 'Crimson Pro', serif;
    font-size: 14px;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.cat-btn:hover {
    border-color: rgba(255, 255, 255, 0.6);
    color: rgba(255, 255, 255, 0.8);
}

.cat-btn:active {
    transform: scale(0.95);
}

.cat-btn.active {
    background: rgba(255, 255, 255, 0.15);
    color: whitesmoke;
    border-color: rgba(255, 255, 255, 0.6);
}

/* Fade-in animation */
.fade-in {
    animation: fadeIn 2s linear;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Disabled goblet during animation */
.centerImg.disabled {
    pointer-events: none;
}

/* About page */
.divAbout {
    margin: 20px;
}

.aboutText {
    text-align: left;
    font-size: 18px;
    color: #c0c8d0;
    text-decoration: none;
    display: inline-block;
}

.aboutTextSmall {
    font-size: 12px;
    color: #a0a8b0;
}

.fa-heart {
    color: red;
    font-size: 18px;
}

.btn-linkInsta {
    color: #c0c8d0;
    text-decoration: none;
}

.btn-linkInsta:hover {
    color: rgba(255, 255, 255, 0.7);
}

.btn-linkInsta:active {
    color: rgba(255, 255, 255, 0.9);
}

/* Terms page */
.terms-content {
    margin: 20px;
    color: #b0b8c0;
    max-width: 800px;
    line-height: 1.6;
}

.terms-content h2 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #d0d8e0;
}

.terms-content p {
    margin-bottom: 10px;
    color: #b0b8c0;
}

.terms-content ol {
    margin-left: 20px;
    margin-bottom: 10px;
    color: #b0b8c0;
}

.terms-content a {
    color: #c0c8d0;
}

.terms-content a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.terms-content a:active {
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive */
@media (max-width: 600px) {
    .centerImg img {
        width: 90vw;
    }

    .argStyle {
        font-size: 18px;
        padding: 0 10px;
    }

    .category-filters {
        padding: 0 10px;
    }
}
