@import "media-bkg.css";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background-color: #262626;
    color: #e8eaed;
    line-height: 1.7;
}

.header {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
    url('https://trollking.com/wp-content/uploads/2023/05/trollking_4k-2000x1200.png') center/cover;
    background-attachment: fixed;
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.game-section {
    position: relative;
    overflow: hidden;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.video-background.active {
    opacity: 1;
}

.video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}



.header h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    color: #e5d2b3;
    margin-bottom: 0.5rem;
}

.header p {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: #e5d2b3;
}

nav {
    background-color: #19171a;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

nav a {
    color: #e8eaed;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

nav a:hover {
    color: #e3cbc0;
}

.game-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    background-color: #19171a;
    flex-wrap: wrap;
}

.game-icon {
    width: 100px;
    height: 100px;
    border-radius: 15px;
    transition: transform 0.3s;
    cursor: pointer;
}

.game-icon:hover {
    transform: scale(1.1);
}

section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    position: relative;
}

.section-alt {
    background-color: #19171a;
}





.floating-box .title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.floating-box .description {
    font-size: 1.2rem;
    line-height: 1.5;
}

h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 2rem;
    color: #e3cbc0;
}

.blockquote {
    text-align: center;
    font-size: 1.25rem;
    font-style: italic;
    margin: 2rem 0;
    padding: 1rem;
    border-left: 4px solid #e3cbc0;
    background-color: rgba(227, 203, 192, 0.1);
}

.store-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.store-link img {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    transition: transform 0.3s;
}

.store-link img:hover {
    transform: scale(1.05);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 2rem 0;
    border-radius: 10px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery img:hover {
    transform: scale(1.05);
}

.content-text {
    max-width: 800px;
    margin: 2rem auto;
    font-size: 1.1rem;
}

.content-text p {
    margin-bottom: 1rem;
}

.about-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.about-image {
    width: 100%;
    border-radius: 10px;
}

footer {
    background-color: #19171a;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.social-links img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    transition: transform 0.3s;
}

.social-links img:hover {
    transform: scale(1.1);
}

hr {
    border: none;
    border-top: 2px solid #303134;
    margin: 3rem 0;
}

@media (max-width: 768px) {
    .about-section {
        grid-template-columns: 1fr;
    }

    nav ul {
        gap: 1rem;
    }

    .game-icons {
        gap: 1rem;
    }

    .store-links {
        gap: 1rem;
    }

    .store-link img {
        width: 100px;
        height: 100px;
    }
}

.video-thumbnail {
    position: relative;
}

.video-thumbnail::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    text-shadow: 0 0 10px rgba(0,0,0,0.8);
    pointer-events: none;
    opacity: 0.9;
}

.video-thumbnail:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
    transition: all 0.3s;
}