/* Global Styles */
* {
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}



/* Heading Typography */
.site-title {
    font-size: 1.8rem; /* Default for desktop */
}

.hero-title {
    font-size: 2.5rem; /* Default for desktop */
}

.section-title {
    font-size: 2.2rem; /* Default for desktop */
}

@media (min-width: 768px) and (max-width: 1023px) {
    .site-title {
        font-size: 1.5rem; /* Tablet */
    }
    .hero-title {
        font-size: 2.2rem; /* Tablet */
    }
    .section-title {
        font-size: 2rem; /* Tablet */
    }
}

@media (max-width: 767px) {
    .site-title {
        font-size: 1.25rem; /* Mobile */
    }
    .hero-title {
        font-size: 1.8rem; /* Mobile */
    }
    .section-title {
        font-size: 1.6rem; /* Mobile */
    }
}

/* Hero Section - Game Card Stack */
.game-card-stack {
    perspective: 1000px;
}

.card-item {
    width: 200px;
    height: 250px;
    transform-origin: center;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.card-item-back {
    transform: translateX(-60px) translateY(-20px) rotate(-10deg) scale(0.8);
    opacity: 0.7;
    z-index: 10;
}

.card-item-middle {
    transform: translateX(0) translateY(0) rotate(0deg) scale(1);
    opacity: 1;
    z-index: 20;
}

.card-item-front {
    transform: translateX(60px) translateY(20px) rotate(10deg) scale(0.8);
    opacity: 0.7;
    z-index: 10;
}

.game-card-stack:hover .card-item-back {
    transform: translateX(-80px) translateY(-30px) rotate(-15deg) scale(0.85);
    opacity: 0.8;
}

.game-card-stack:hover .card-item-middle {
    transform: translateX(0) translateY(0) rotate(0deg) scale(1.05);
}

.game-card-stack:hover .card-item-front {
    transform: translateX(80px) translateY(30px) rotate(15deg) scale(0.85);
    opacity: 0.8;
}

@media (max-width: 767px) {
    .game-card-stack {
        height: 200px;
    }
    .card-item {
        width: 150px;
        height: 180px;
    }
    .card-item-back {
        transform: translateX(-40px) translateY(-10px) rotate(-10deg) scale(0.7);
    }
    .card-item-front {
        transform: translateX(40px) translateY(10px) rotate(10deg) scale(0.7);
    }
    .game-card-stack:hover .card-item-back {
        transform: translateX(-50px) translateY(-15px) rotate(-15deg) scale(0.75);
    }
    .game-card-stack:hover .card-item-front {
        transform: translateX(50px) translateY(15px) rotate(15deg) scale(0.75);
    }
}

/* Game Card Images */
.game-card img {
    height: 12rem; /* Fixed height for game card images */
    object-fit: cover;
}

@media (min-width: 640px) {
    .game-card img {
        height: 15rem;
    }
}

/* Game Modal */
#gameModal {
    overflow-y: auto;
}

#gameIframe {
    width: 100%;
    height: 100%;
    max-width: 100vw;
    max-height: 100vh;
}

/* FAQ Accordion */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Arbitrary large value to allow content to show */
    transition: max-height 0.3s ease-in;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Buttons */
button {
    text-decoration: none !important;
}
/*
 * New stock styles for common HTML elements within .dataTrustFrame.
 * These styles aim for readability and a balanced visual hierarchy
 * without overly large heading sizes.
 */

.dataTrustFrame {
    /* Padding for the container itself, providing space from its edges. */
    padding-top: 20px;
    padding-left: 25px;
    padding-right: 25px;
    padding-bottom: 20px; /* Added for visual balance, though not explicitly requested for bottom. */
    /* Optional: Add a background or border for visual distinction if needed. */
    /* background-color: #f9f9f9; */
    /* border: 1px solid #ddd; */
}

/* --- Headings --- */
.dataTrustFrame h1,
.dataTrustFrame h2,
.dataTrustFrame h3,
.dataTrustFrame h4,
.dataTrustFrame h5 {
    /* Reset default top margin for consistency. */
    margin-top: 0;
    /* Common font family for headings. */
    font-family: Arial, sans-serif;
    /* Ensure headings are bold. */
    font-weight: bold;
    /* Default text color for headings. */
    color: #333;
}

.dataTrustFrame h1 {
    /* Main title, moderate size. */
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.dataTrustFrame h2 {
    /* Secondary heading. */
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 18px;
}

.dataTrustFrame h3 {
    /* Tertiary heading. */
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 16px;
}

.dataTrustFrame h4 {
    /* Fourth level heading. */
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 14px;
}

.dataTrustFrame h5 {
    /* Fifth level heading, slightly smaller than body text for hierarchy. */
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 12px;
}

/* --- Paragraphs --- */
.dataTrustFrame p {
    /* Standard body text size for readability. */
    font-size: 16px;
    /* Good line spacing for paragraphs. */
    line-height: 1.6;
    /* Space between paragraphs. */
    margin-bottom: 1em;
    /* Default text color. */
    color: #444;
    /* Common font family for body text. */
    font-family: Arial, sans-serif;
}

/* Remove bottom margin from the last paragraph if it's directly before another block. */
.dataTrustFrame p:last-child {
    margin-bottom: 0;
}

/* --- Lists --- */
.dataTrustFrame ul,
.dataTrustFrame ol {
    /* Top and bottom margin for spacing lists from surrounding content. */
    margin-top: 1em;
    margin-bottom: 1em;
    /* Indentation for list markers (bullets/numbers). */
    padding-left: 25px;
    /* Default text color for list items. */
    color: #444;
    /* Common font family for list items. */
    font-family: Arial, sans-serif;
}

.dataTrustFrame ul {
    /* Default bullet style. */
    list-style-type: disc;
}

.dataTrustFrame ol {
    /* Default numbering style. */
    list-style-type: decimal;
}

.dataTrustFrame li {
    /* Space between individual list items. */
    margin-bottom: 0.5em;
    /* Inherit line height for readability within list items. */
    line-height: inherit;
}

/* Remove bottom margin from the last list item in a list. */
.dataTrustFrame li:last-child {
    margin-bottom: 0;
}


.material-symbols-outlined.star-filled {
    color: #FFD700;
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

#challenges{
    .material-symbols-outlined.icon.text-gray-400.text-3xl{
        cursor: pointer !important;
    }
}

@media (max-width: 767px){
    #leaderboards{
        .flex.items-center.justify-between.p-4.bg-gray-50.rounded-md.shadow-sm{
            flex-direction: column;
        }
    }
    
footer{
    .text-gray-400.text-sm{
        text-align: center;
    }
}
}

header{
    width: 100% !important;
}

.wr{
    display: flex;
    flex-direction: column;
    min-height: 100vh;

    main{
        flex: 1;
    }
}


section{
    overflow: hidden;
}
.frame-wrap {
    width: 100%;
    height: 100vh;
}