/*
Theme Name: Geometry Rash One-Page
Theme URI: https://geometryrash.io/
Author: Your Name
Author URI: https://yourwebsite.com/
Description: A custom, responsive one-page WordPress theme designed for the Geometry Rash game. All content is managed on the front page for a seamless user experience.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-page, game, custom-background, responsive-layout, theme-options
Text Domain: geometryrash-onepage
*/

body {
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(135deg, #1e3a8a, #7e22ce);
    color: #ffffff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
}
.action-button {
    transition: all 0.3s ease;
}
.action-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.5);
}
.geometric-shape {
    position: absolute;
    z-index: -1;
    opacity: 0.3;
}
.triangle {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 80px solid #22d3ee;
    top: 5%;
    left: 2%;
    animation: float 6s ease-in-out infinite;
}
.circle {
    width: 60px;
    height: 60px;
    background: #f472b6;
    border-radius: 50%;
    bottom: 10%;
    right: 5%;
    animation: float 8s ease-in-out infinite;
}
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}
.faq-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 1rem;
}
.faq-item h4 {
    cursor: pointer;
    font-weight: bold;
    color: #22d3ee;
}
.faq-item p {
    display: none;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}
.faq-item.active h4 {
    color: #f472b6;
}
.faq-item.active p {
    display: block;
}
.game-iframe {
    width: 100%;
    max-width: 800px;
    height: 600px;
    border: none;
    display: block;
    margin: 0 auto;
}
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
.modal-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}
.close-button {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: 1.2rem;
    cursor: pointer;
    color: #fff;
}
.close-button:hover {
    color: #22d3ee;
}
.iframe-error {
    display: none;
    color: #f472b6;
    text-align: center;
    margin-top: 1rem;
}
.section-heading {
    text-align: center;
    color: #f472b6;
    font-size: 1.5rem;
    font-weight: bold;
}
.info-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.bg-secondary-card-border {
    background-color: #a855f7;
}
.line-clamp-1 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.entry-content h3 {
    font-size: 1.75rem;
    font-weight: bold;
    color: #22d3ee;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.entry-content p, .entry-content ol, .entry-content ul {
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
    line-height: 1.7;
}
.entry-content ol, .entry-content ul {
    padding-left: 1.5rem;
}
.entry-content li {
    margin-bottom: 0.75rem;
}
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .game-iframe {
        height: 400px;
    }
}
