/* Echoviar - Modern Gaming Entertainment Website */

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-orange: #FF7A00;
    --secondary-orange: #FF9D2E;
    --dark-background: #080808;
    --card-background: #131313;
    --section-background: #111111;
    --border-color: #252525;
    --white-text: #FFFFFF;
    --gray-text: #CFCFCF;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--dark-background);
    color: var(--white-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== PARTICLE CANVAS ===== */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* ===== HEADER STYLES ===== */
#header-placeholder {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

header {
    background: rgba(8, 8, 8, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-img {
    width: 65px;
    height: auto;
    display: block;
}

.logo span {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-orange);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu li a {
    color: var(--gray-text);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--primary-orange);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    background: none;
    border: none;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-orange);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== MAIN CONTENT ===== */
main {
    position: relative;
    z-index: 2;
    padding-top: 80px;
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--white-text);
    text-shadow: 0 0 30px rgba(255, 122, 0, 0.3);
}

.hero-section p {
    font-size: 1.2rem;
    color: var(--gray-text);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Roboto', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    color: var(--white-text);
    box-shadow: 0 4px 15px rgba(255, 122, 0, 0.4);
}


.btn-secondary {
    background: transparent;
    color: var(--white-text);
    border: 2px solid var(--primary-orange);
}

.hero-notice {
    font-size: 0.85rem;
    color: var(--gray-text);
    padding: 1rem;
    background: rgba(255, 122, 0, 0.1);
    border: 1px solid var(--primary-orange);
    border-radius: 6px;
    display: inline-block;
}

/* ===== SECTION STYLES ===== */
section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-background {
    width: 100%;
    max-width: 100%;
}

.section-background section {
    max-width: 1200px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--white-text);
}

.section-title span {
    color: var(--primary-orange);
}

/* ===== ABOUT SECTION ===== */

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    border-radius: 12px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.about-image img {
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--primary-orange) 0%, transparent 70%);
    opacity: 0.3;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.1;
    }
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--white-text);
}

.about-content p {
    color: var(--gray-text);
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.feature-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.feature-box {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}


.feature-box h3 {
    font-size: 1.1rem;
    color: var(--primary-orange);
    margin-bottom: 0.5rem;
}

.feature-box p {
    font-size: 0.9rem;
    color: var(--gray-text);
    margin: 0;
}

/* ===== GAMES SECTION ===== */
.games-section {
    background-color: var(--dark-background);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.game-card {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.game-thumbnail {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.game-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 122, 0, 0.2) 0%, transparent 70%);
    z-index: 2;
    pointer-events: none;
}

.game-thumbnail img,
.game-thumbnail svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.game-thumbnail img {
    transform: scale(1.05);
}

.game-thumbnail-icon {
    font-size: 4rem;
    color: var(--primary-orange);
    position: relative;
    z-index: 1;
}

.game-card-content {
    padding: 1.5rem;
}

.game-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--white-text);
}

.game-card p {
    color: var(--gray-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.game-card .btn {
    width: 100%;
    padding: 0.8rem 1.5rem;
}

/* ===== DISCLAIMER SECTION ===== */

.disclaimer-card {
    background: rgba(19, 19, 19, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 3rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.disclaimer-card h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-orange);
}

.disclaimer-card p {
    color: var(--gray-text);
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.disclaimer-card p:last-child {
    margin-bottom: 0;
}

.disclaimer-highlight-box {
    background: rgba(255, 122, 0, 0.08);
    border: 1px solid var(--primary-orange);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.disclaimer-highlight-box p {
    color: var(--white-text);
    margin: 0;
    font-weight: 500;
}

.disclaimer-points {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
    text-align: left;
}

.disclaimer-points li {
    color: var(--gray-text);
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    line-height: 1.7;
    border-bottom: 1px solid var(--border-color);
}

.disclaimer-points li:last-child {
    border-bottom: none;
}

.disclaimer-points li::before {
    content: '*';
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.disclaimer-points li strong {
    color: var(--primary-orange);
    font-weight: 600;
}

/* ===== PAGE CONTENT STYLES ===== */
.page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.page-content h1 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: var(--white-text);
}

.page-content p {
    color: var(--gray-text);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.page-content h2 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white-text);
}

/* ===== LEGAL PAGE BOXED DESIGN ===== */
.legal-page-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.legal-page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.legal-page-header h1 {
    font-size: 2.8rem;
    color: var(--white-text);
    margin-bottom: 1rem;
}

.legal-page-header .subtitle {
    color: var(--primary-orange);
    font-size: 1.1rem;
    font-weight: 500;
}

.legal-content-box {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.legal-content-box h2 {
    font-size: 1.6rem;
    color: var(--primary-orange);
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--border-color);
}

.legal-content-box h2:last-child {
    border-bottom: none;
}

.legal-content-box p {
    color: var(--gray-text);
    line-height: 1.8;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.legal-content-box p:last-child {
    margin-bottom: 0;
}

.legal-content-box ul {
    list-style: none;
    margin: 1rem 0;
    padding-left: 0;
}

.legal-content-box ul li {
    color: var(--gray-text);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.7;
}

.legal-content-box ul li::before {
    content: '•';
    color: var(--primary-orange);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1;
}

.legal-highlight-box {
    background: rgba(255, 122, 0, 0.08);
    border: 1px solid var(--primary-orange);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.legal-highlight-box p {
    color: var(--white-text);
    margin: 0;
    font-weight: 500;
}

.legal-section-number {
    display: inline-block;
    background: var(--primary-orange);
    color: var(--white-text);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-right: 0.8rem;
    vertical-align: middle;
}

/* ===== CONTACT FORM ===== */
.contact-form {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gray-text);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--dark-background);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--white-text);
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
}

/* ===== GAME PAGE STYLES ===== */
.game-page-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.game-page-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white-text);
}

.game-page-content .game-description {
    color: var(--gray-text);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.game-iframe-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.game-iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.game-notice {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(255, 122, 0, 0.1);
    border: 1px solid var(--primary-orange);
    border-radius: 6px;
    color: var(--gray-text);
    font-size: 0.9rem;
}

/* ===== FOOTER STYLES ===== */
#footer-placeholder {
    margin-top: 4rem;
}

footer {
    background: var(--card-background);
    border-top: 1px solid var(--border-color);
    padding: 3rem 2rem 1.5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-orange);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--gray-text);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-description {
    color: var(--gray-text);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.footer-disclaimer {
    background: rgba(255, 122, 0, 0.1);
    border: 1px solid var(--primary-orange);
    border-radius: 8px;
    padding: 1rem;
    font-size: 0.85rem;
    color: var(--gray-text);
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--gray-text);
    font-size: 0.9rem;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1024px) {
    .hero-section h1 {
        font-size: 3rem;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-layout {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(8, 8, 8, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li a {
        font-size: 1.2rem;
    }

    .hero-section {
        padding: 3rem 1.5rem;
        min-height: auto;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .hero-buttons {
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    section {
        padding: 3rem 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        min-height: 250px;
    }

    .feature-boxes {
        grid-template-columns: 1fr;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .disclaimer-card {
        padding: 2rem 1.5rem;
    }

    .disclaimer-card h2 {
        font-size: 1.5rem;
    }

    .disclaimer-highlight-box {
        padding: 1rem;
    }

    .disclaimer-points li {
        padding: 0.6rem 0;
        padding-left: 1.8rem;
        font-size: 0.95rem;
    }

    .page-content {
        padding: 3rem 1.5rem;
    }

    .page-content h1 {
        font-size: 2rem;
    }

    .legal-page-wrapper {
        padding: 3rem 1.5rem;
    }

    .legal-page-header h1 {
        font-size: 2rem;
    }

    .legal-content-box {
        padding: 1.5rem;
    }

    .legal-content-box h2 {
        font-size: 1.3rem;
    }

    .legal-highlight-box {
        padding: 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .game-page-content {
        padding: 3rem 1.5rem;
    }

    .game-page-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 1rem 1.5rem;
    }

    .logo {
        gap: 0.5rem;
    }

    .logo-img {
        width: 35px;
    }

    .logo span {
        font-size: 1.4rem;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    .hero-section p {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .about-content h2 {
        font-size: 1.8rem;
    }

    .game-card h3 {
        font-size: 1.2rem;
    }

    .disclaimer-card h2 {
        font-size: 1.5rem;
    }

    .page-content h1 {
        font-size: 1.8rem;
    }

    .page-content h2 {
        font-size: 1.4rem;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-orange);
    color: var(--white-text);
    padding: 8px 16px;
    z-index: 1001;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}
