@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
    font-family: 'Headliner No. 45';
    src: url(/assets/Headliner45Font.ttf) format('truetype');
}

:root {
    --yellow-col: #f2aa00;
    --grey-col: #555;
    --white-col: #fff;
    --black-col: #000;
    font-family: 'Roboto Condensed';
}

body {
    background-image: url(assets/banner-pubg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: #555;
    background-blend-mode: overlay;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#backgroundVideo {
    display: none;
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
}

body.index {
    background: url(assets/banner-pubg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: #555;
    background-blend-mode: overlay;
    height: 100vh;
    margin: 0;
    padding: 0;
    min-width: 100%;
    min-height: 100%;
    overflow: hidden;
}

#backgroundVideo1 {
    display: block;
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
}

::selection {
    background-color: var(--yellow-col);
    color: var(--black-col);
}

.beforefooter {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 10px;
    margin-top: 30px;
}

.indexfooter {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    margin-top: 80dvh;
    bottom: 0;
}

.button {
    clip-path: polygon(100% 0, 100% 100%, 10px 100%, 0 calc(100% - 10px), 0 0);
    padding: 10px 20px;
    min-height: 44px;
    background-color: var(--yellow-col);
    color: var(--black-col);
    text-transform: uppercase;
    font-family: 'Headliner No. 45';
    font-size: 1.2rem;
    letter-spacing: 2px;
    border-width: 2px;
    margin: 10px;
    cursor: pointer;
}

.button#reset {
    cursor: url(assets/reset.png), auto;
}

.button#play {
    cursor: url(assets/play.png), auto;
}

.button#stop {
    cursor: url(assets/pause.png), auto;
}

.button#google_translate_element {
    cursor: url(assets/translate.png), auto;
}

footer {
    background-color: var(--yellow-col);
    color: var(--white-col);
    text-align: center;
    padding: 20px;
    border-width: 0px;
    margin-top: auto;
}

.footer {
    border: solid black 1px;
}

.credits {
    color: var(--white-col);
    text-transform: capitalize;
    text-decoration: none;
    margin-top: 5px;
}

input {
    clip-path: polygon(100% 0, 100% 100%, 10px 100%, 0 calc(100% - 10px), 0 0);
    background-color: transparent;
    color: var(--white-col);
    border-width: 3px;
    border-color: var(--yellow-col);
    max-width: 130px;
    vertical-align: middle;
    font-size: 0.9rem;
}

footer a {
    color: var(--black-col);
    font-weight: 900;
    text-shadow: none;
}

footer p {
    color: var(--white-col);
    text-shadow: #000 1px 1px 2px;
}

h1 {
    font-family: 'Headliner No. 45';
    font-size: clamp(1.8rem, 5vw, 3rem);
    letter-spacing: 2px;
    text-align: center;
    margin: 0;
    padding: 0;
    cursor: url(assets/pubg-helmet.png), auto;
}

.fancytitle {
    color: var(--white-col);
}

.goog-te-gadget-icon {
    display: none !important;
}

button#google_translate_element div.goog-te-gadget-simple {
    background-color: var(--yellow-col) !important;
    font-family: 'Headliner No. 45' !important;
    font-size: large !important;
    border: transparent !important;
}

button#google_translate_element
div.goog-te-gadget-simple
a.goog-te-menu-value
span:nth-of-type(3) {
    display: none !important;
}

button#google_translate_element
div.goog-te-gadget-simple
a.goog-te-menu-value
span:nth-of-type(2) {
    display: none;
}

.subheading {
    color: var(--black-col);
    font-weight: 900;
    text-transform: uppercase;
    background-color: var(--yellow-col);
    padding: 5px 10px;
    margin: 0;
    text-align: center;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

h2 {
    font-family: 'Roboto Condensed';
    font-size: 2rem;
    letter-spacing: 2px;
    text-align: center;
    margin: 0;
    padding: 0;
}

p {
    font-family: 'Roboto Condensed';
    letter-spacing: 1px;
    text-align: center;
    margin: 0;
    padding: 0;
    color: #fff;
}

img {
    color: #f2aa00;
    margin: 0;
    padding: 0;
}

.logo {
    max-width: 150px;
    width: 100%;
    height: auto;
}

.intro {
    padding: 10px 20px;
    border-radius: 5px;
    color: var(--white-col);
}

.outro {
    padding: 10px;
    border-radius: 5px;
    color: var(--yellow-col);
}

.container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    gap: 40px;
    margin-top: 30px;
    padding: 0 20px;
    box-sizing: border-box;
}

.header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 15px;
    margin-top: 50px;
}

.madLibsEdit {
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    background-color: rgba(85, 85, 85, 0.25);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.125);
    padding: 20px;
    width: 45%;
    color: var(--white-col);
    box-sizing: border-box;
    overflow-wrap: break-word;
    min-width: 0;
}

.madLibsPreview {
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    background-color: rgba(242, 170, 0, 0.25);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.125);
    padding: 20px;
    width: 45%;
    color: var(--white-col);
    box-sizing: border-box;
    overflow-wrap: break-word;
    min-width: 0;
}

#welcomenotice {
    display: none;
    font-family: 'Roboto Condensed';
    color: var(--white-col);
    background-image: url(assets/pubg-notice-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    position: fixed;
    padding: 40px 20px;
    justify-content: space-evenly;
    align-items: stretch;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: min(80%, 500px);
    box-sizing: border-box;
}

/* Media Queries */
@media only screen and (max-width: 1024px) {
    .container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .madLibsEdit,
    .madLibsPreview {
        width: 85%;
    }
}

@media only screen and (max-width: 768px) {
    .container {
        gap: 15px;
        margin-top: 20px;
        padding: 0 15px;
    }

    .madLibsEdit,
    .madLibsPreview {
        width: 95%;
    }

    .header {
        margin-top: 25px;
        gap: 10px;
    }

    .indexfooter {
        margin-top: 60dvh;
    }

    .button {
        font-size: 1rem;
        margin: 6px;
    }
}

@media only screen and (max-width: 480px) {
    .madLibsEdit,
    .madLibsPreview {
        width: 100%;
    }

    .header {
        margin-top: 15px;
    }

    .logo {
        max-width: 110px;
    }

    #welcomenotice {
        width: 92%;
        padding: 30px 15px;
    }

    input {
        max-width: 100px;
    }
}

/* ── Credits page ── */
.credits-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px 20px;
    flex: 1;
}

.credits-heading {
    font-family: 'Headliner No. 45';
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: 3px;
    color: var(--yellow-col);
    text-align: center;
    margin: 0 0 30px;
    cursor: default;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.credits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    max-width: 960px;
    width: 100%;
}

/* Liquid glass card */
.credit-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    color: var(--white-col);

    /* glass base */
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.18) 0%,
        rgba(255, 255, 255, 0.06) 100%
    );
    backdrop-filter: blur(28px) saturate(200%) brightness(1.05);
    -webkit-backdrop-filter: blur(28px) saturate(200%) brightness(1.05);

    /* border & depth */
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15);

    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* top-edge sheen */
.credit-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.22) 0%,
        transparent 45%
    );
    pointer-events: none;
}

/* liquid ripple blob */
.credit-card::after {
    content: '';
    position: absolute;
    width: 160%;
    height: 100px;
    top: -30px;
    left: -30%;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    filter: blur(12px);
    pointer-events: none;
}

.credit-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}

.credit-card h3 {
    font-family: 'Headliner No. 45';
    font-size: 1.3rem;
    letter-spacing: 2px;
    color: var(--yellow-col);
    text-transform: uppercase;
    margin: 0 0 14px;
    cursor: default;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.credit-card p {
    margin: 6px 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.credit-card a {
    color: var(--yellow-col);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.credit-card a:hover {
    color: #fff;
    text-shadow: 0 0 8px rgba(242, 170, 0, 0.8);
}

@media only screen and (max-width: 600px) {
    .credits-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

