:root {
    --pink: #ff6f91;
    --lavender: #845ec2;
    --mint: #4dd599;
    --sky: #4dabf7;
    --dark: #2a2a2a;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Roboto', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--dark);
    background: linear-gradient(135deg, #fff5f8, #f6f3ff);
    overflow-x: hidden;
}

/* Floating background blobs */
.bg-blobs span {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    animation: floatBlob 20s infinite alternate;
    z-index: -1;
}

.bg-blobs span:nth-child(1) {
    background: var(--pink);
    top: -50px;
    left: -50px;
}

.bg-blobs span:nth-child(2) {
    background: var(--lavender);
    bottom: -50px;
    right: -50px;
    animation-delay: 5s;
}

@keyframes floatBlob {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(60px);
    }
}

/* Header */
nav {
    padding: 1.2rem;
    text-align: center;
}

.logo {
    font-weight: 900;
    font-size: 1.9rem;
    letter-spacing: 1.6px;
    background: linear-gradient(135deg, var(--pink), var(--lavender));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* NAVBAR */
.navbar {
    padding: 1.2rem;
    display: flex;
    justify-content: center;
}

/* LOGO WRAPPER */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* LOGO IMAGE */
.logo-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

/* LOGO TEXT */
.logo-text {
    font-weight: 900;
    font-size: 1.6rem;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #ff6f91, #845ec2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (min-width: 768px) {
    .logo-img {
        width: 44px;
        height: 44px;
    }

    .logo-text {
        font-size: 1.8rem;
    }
}

@media (min-width: 1024px) {
    .logo-img {
        width: 48px;
        height: 48px;
    }

    .logo-text {
        font-size: 2rem;
    }
}


/* Hero */
.hero {
    padding: 2.8rem 1.2rem;
    text-align: center;
}

.hero h1 {
    margin: 0;
    font-weight: 300;
    font-size: 2.6rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero .accent {
    display: block;
    font-weight: 700;
    font-size: 2.8rem;
    color: var(--pink);
}

.subtitle {
    max-width: 520px;
    margin: 1.2rem auto 0;
    font-weight: 400;
    font-size: 1rem;
    color: #555;
}

/* Cards */
.games {
    padding: 2rem 1rem 4rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.card {
    border-radius: 24px;
    padding: 1.5rem;
    background: white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    opacity: 0;
    transform: translateY(40px);
}

.card.show {
    opacity: 1;
    transform: translateY(0);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.card-emoji {
    font-size: 4rem;
    animation: floatEmoji 3.5s ease-in-out infinite;
}

.card h3 {
    margin: 0.8rem 0 0.3rem;
    font-weight: 700;
    font-size: 1.3rem;
}

.card p {
    margin: 0;
    font-weight: 400;
    font-size: 0.95rem;
    color: #666;
}

.card button {
    margin-top: 1rem;
    padding: 12px;
    width: 100%;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: white;
    cursor: pointer;
}

/* Card themes */
.dice {
    background: linear-gradient(135deg, #ffe0e9, #ffffff);
}

.dice button {
    background: linear-gradient(135deg, var(--pink), var(--lavender));
}

.talk {
    background: linear-gradient(135deg, #e8f3ff, #ffffff);
}

.talk button {
    background: linear-gradient(135deg, var(--sky), var(--mint));
}

@keyframes floatEmoji {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Tablet */
@media (min-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero .accent {
        font-size: 3.2rem;
    }

    .games {
        grid-template-columns: repeat(2, 1fr);
        max-width: 900px;
        margin: auto;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .hero {
        padding: 4rem 1rem;
    }

    .hero h1 {
        font-size: 3.6rem;
    }

    .hero .accent {
        font-size: 3.8rem;
    }
}

.about-wetime {
    max-width: 940px;
    margin: 110px auto;
    padding: 0 24px;
    line-height: 1.8;
    color: #374151;
}

.about-wetime h2 {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 32px;
    color: #111827;
}

.about-wetime h2 span {
    display: block;
    margin-top: 6px;
    font-size: 1.15rem;
    font-weight: 500;
    color: #ff4d6d;
}

.about-wetime .intro {
    text-align: center;
    font-size: 1.1rem;
    color: #374151;
    margin-bottom: 42px;
}

.about-content {
    max-width: 860px;
    margin: 0 auto 42px;
}

.about-content p {
    font-size: 1.05rem;
    margin-bottom: 26px;
    color: #4b5563;
}

.about-wetime .closing {
    text-align: center;
    font-size: 1.08rem;
    font-weight: 600;
    color: #1f2937;
}



@media (max-width: 768px) {
    .about-wetime {
        margin: 80px auto;
    }

    .about-wetime h2 {
        font-size: 2rem;
    }

    .about-wetime h2 span {
        font-size: 1rem;
    }

    .about-content p {
        font-size: 1rem;
    }
}


.site-footer {
    margin-top: 120px;
    padding: 60px 24px 32px;
    border-top: 1px solid #e5e7eb;
    background: #ffffff;
    color: #4b5563;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto 32px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-brand h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
}

.footer-brand p {
    font-size: 0.95rem;
    max-width: 360px;
    color: #6b7280;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.95rem;
    color: #4b5563;
    text-decoration: none;
}

.footer-links a:hover {
    color: #ff4d6d;
}

.footer-copy {
    text-align: center;
    font-size: 0.85rem;
    color: #9ca3af;
}

.play-btn {
    background: linear-gradient(135deg, var(--pink), var(--lavender));
    margin-top: 1rem;
    width: 100%;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: white;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    padding: 12px;
}

.play-btn a {
    display: block;
    border: none;
    text-transform: uppercase;
    color: white;
    cursor: pointer;
    text-decoration: none;
    line-height: 1.1;
    letter-spacing: 1.5px;
}