/*
   Base
*/
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #1e2f23;
    font-family: 'Orbitron', Arial, sans-serif;
    background: #ffffff;
}

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

/* 
   Shared Layout
 */
header {
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(30, 47, 35, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    padding: 1rem 2rem;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-links a {
    position: relative;
    color: #ffffff;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-links a:hover {
    color: #4caf50;
    transform: scale(1.08);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: #4caf50;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: #4caf50;
    font-weight: 700;
}

.page-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 7rem 2rem 4rem;
    color: #ffffff;
    text-align: center;
    background:
        linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
        url("assets/background/BackgroundWebsite.png") center / cover fixed;
}

.compact-hero {
    min-height: 50vh;
}

.parallax-content {
    max-width: 760px;
}

.page-hero h1 {
    margin-bottom: 1rem;
    font-size: 3rem;
    animation: fadeUp 1s ease forwards;
}

.page-hero p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    line-height: 1.6;
    animation: fadeUp 1.5s ease forwards;
}

.footer {
    padding: 20px 0;
    color: #ffffff;
    background-color: #000000;
}

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

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo-img {
    height: 50px;
    cursor: pointer;
    transition: transform 0.4s ease;
}

.footer-logo-img:hover {
    transform: scale(1.08) translateY(-2px);
}

.footer-text {
    color: #cccccc;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

/* 
   Shared Components
*/
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    margin: 0 0.5rem;
    border: 0;
    border-radius: 5px;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.primary-btn {
    color: #ffffff;
    background-color: #4caf50;
    animation: pulse 2s infinite;
}

.primary-btn:hover {
    background-color: #3d8b40;
}

.primary-btn:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

.secondary-btn {
    color: #4caf50;
    border: 2px solid #4caf50;
}

.secondary-btn:hover {
    color: #ffffff;
    background-color: #4caf50;
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

.character-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: auto;
}

.character-card {
    padding: 2rem;
    color: #ffffff;
    text-align: center;
    background: #1c1c1c;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.character-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.character-card img {
    width: 100%;
    height: 250px;
    margin-bottom: 1rem;
    object-fit: cover;
    border-radius: 8px;
}

.character-card h3 {
    margin-bottom: 0.5rem;
    color: #4caf50;
}

.character-card p {
    font-size: 0.95rem;
    line-height: 1.5;
}

.empty-message {
    text-align: center;
}

/*
   Home Page
*/
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 7rem 2rem 4rem;
    color: #ffffff;
    text-align: center;
    background:
        linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
        url("assets/background/BackgroundWebsite.png") center / cover fixed;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    margin-bottom: 1rem;
    font-size: 3rem;
    animation: fadeUp 1s ease forwards;
}

.hero h2 {
    margin-bottom: 1rem;
    color: #a8e6a3;
    font-size: 1.5rem;
    animation: fadeUp 1.4s ease forwards;
}

.hero p {
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.6;
    animation: fadeUp 1.8s ease forwards;
}

.hero-buttons {
    animation: fadeUp 2.2s ease forwards;
}

.trailer {
    padding: 5rem 2rem;
    color: #ffffff;
    text-align: center;
    background: #111111;
}

.trailer h2 {
    margin-bottom: 1rem;
    color: #a8e6a3;
}

.video-container {
    position: relative;
    max-width: 800px;
    height: 0;
    margin: 2rem auto 0;
    padding-bottom: 56.25%;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 8px;
}

.overview {
    max-width: 1000px;
    margin: auto;
    padding: 5rem 2rem;
    text-align: center;
    border-top: 3px solid #4caf50;
}

.overview h2,
.features h2 {
    margin-bottom: 1rem;
    color: #1e2f23;
}

.overview p {
    line-height: 1.7;
}

.features {
    padding: 5rem 2rem;
    background: linear-gradient(#f4f6f5, #e8f5e9);
}

.features h2 {
    margin-bottom: 2rem;
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: auto;
}

.feature-card {
    padding: 2rem;
    text-align: center;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature-card h3 {
    margin-bottom: 0.8rem;
    color: #2e7d32;
}

.characters-preview {
    padding: 5rem 2rem;
    color: #ffffff;
    text-align: center;
    background-color: #111111;
}

.characters-preview h2 {
    margin-bottom: 3rem;
    color: #a8e6a3;
}

.characters-preview .btn {
    margin-top: 3rem;
}

/*
   About Page
*/
.about-content {
    max-width: 900px;
    margin: auto;
    padding: 5rem 2rem;
}

.about-block {
    margin-bottom: 3rem;
}

.about-block h2 {
    margin-bottom: 0.8rem;
    color: #2e7d32;
}

.about-block p {
    line-height: 1.7;
}

/*
   Gameplay Page
*/
.gameplay-content {
    max-width: 1000px;
    margin: auto;
    padding: 5rem 2rem;
}

.gameplay-block {
    margin-bottom: 4rem;
    text-align: center;
}

.gameplay-block h2 {
    margin-bottom: 1rem;
    color: #4caf50;
    font-size: 2rem;
    animation: fadeUp 1s ease forwards;
}

.gameplay-block p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
    animation: fadeUp 1.2s ease forwards;
}

.gameplay-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: 1rem auto 0;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gameplay-img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

/*
   Characters Page
*/
.characters-content {
    max-width: 1200px;
    margin: auto;
    padding: 5rem 2rem;
}

/*
   News Page
*/
.news {
    max-width: 900px;
    margin: auto;
    padding: 6rem 2rem;
}

.news-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    color: #ffffff;
    background: #1c1c1c;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card h3 {
    margin-bottom: 0.5rem;
    color: #4caf50;
}

.news-card p {
    line-height: 1.6;
}

.news-card small {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.8rem;
    opacity: 0.7;
}

/*
   Ratings Page
*/
.survey {
    padding: 8rem 2rem 5rem;
    text-align: center;
    background: #f4f6f5;
}

.survey h2 {
    margin-bottom: 1rem;
    color: #1e2f23;
}

.survey p {
    margin-bottom: 2rem;
}

.feedback-container {
    max-width: 800px;
    margin: 0 auto 50px;
    padding: 2rem;
}

.feedback-container h2,
.feedback-container > p {
    margin-bottom: 1rem;
}

.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feedback-form input,
.feedback-form textarea,
.feedback-form select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #cccccc;
    border-radius: 5px;
    font: inherit;
}

.feedback-form textarea {
    min-height: 140px;
    resize: vertical;
}

.feedback-form .btn {
    align-self: flex-start;
    margin-left: 0;
}

.feedback-card {
    margin-top: 1rem;
    padding: 1rem;
    color: #ffffff;
    background: #1c1c1c;
    border-radius: 8px;
}

.feedback-card strong {
    color: #4caf50;
}

.feedback-card p {
    margin-top: 0.75rem;
    line-height: 1.6;
}

/*
   Animation
*/
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(76, 175, 80, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

/*
   Responsive
*/
@media (max-width: 768px) {
    .navbar,
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.9rem;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 2.25rem;
    }

    .hero h2,
    .page-hero p {
        font-size: 1rem;
    }

    .btn {
        margin: 0.5rem;
    }
}
