/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
}

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

section {
    padding: 80px 0;
}

h1, h2, h3 {
    margin-bottom: 20px;
    color: #f5c518;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

p {
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    background-color: #f5c518;
    color: #0a0a0a;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 8vh;
    background-color: rgba(10, 10, 10, 0.9);
    padding: 20px 80px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo h1 {
    color: #f5c518;
    font-size: 1.8rem;
    margin: 0;
}

.nav-links {
    display: flex;
    justify-content: space-around;
    width: 50%;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #f5c518;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://via.placeholder.com/1920x1080?text=Hunt+Royale') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

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

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease;
}

/* About Section */
.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.about-text, .about-image {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.about-text p {
    font-size: 1.1rem;
}

.game-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.feature {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 20px;
    margin: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
    background-color: rgba(245, 197, 24, 0.1);
}

.feature i {
    font-size: 3rem;
    color: #f5c518;
    margin-bottom: 15px;
}

/* Characters Section */
.character-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.character-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-align: center;
}

.character-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    background-color: rgba(245, 197, 24, 0.1);
}

.character-image {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.character-1 {
    background-image: url('https://via.placeholder.com/300x300?text=Archer');
}

.character-2 {
    background-image: url('https://via.placeholder.com/300x300?text=Knight');
}

.character-3 {
    background-image: url('https://via.placeholder.com/300x300?text=Mage');
}

.character-4 {
    background-image: url('https://via.placeholder.com/300x300?text=Assassin');
}

.character-card h3 {
    margin: 15px 0 5px;
}

.character-card p {
    color: #cccccc;
    padding: 0 15px 15px;
}

/* Gameplay Section */
.gameplay-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.gameplay-item {
    text-align: center;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.gameplay-item:hover {
    transform: translateY(-10px);
    background-color: rgba(245, 197, 24, 0.1);
}

.gameplay-item i {
    font-size: 3rem;
    color: #f5c518;
    margin-bottom: 15px;
}

/* Contact Section */
.contact {
    text-align: center;
    background-color: #111111;
}

.social-links {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    margin: 0 15px;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a i {
    margin-right: 10px;
    font-size: 1.5rem;
}

.social-links a:hover {
    color: #f5c518;
    transform: translateY(-3px);
}

.newsletter {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter form {
    display: flex;
    margin-top: 20px;
}

.newsletter input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 30px 0 0 30px;
    font-size: 1rem;
}

.newsletter button {
    border-radius: 0 30px 30px 0;
}

/* Footer */
footer {
    background-color: #050505;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo, .footer-links, .footer-social {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-logo h2 {
    text-align: left;
    margin-bottom: 10px;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #f5c518;
}

.social-icons {
    display: flex;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #f5c518;
    color: #0a0a0a;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .nav-links {
        width: 60%;
    }
}

@media screen and (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    
    nav {
        padding: 20px 40px;
    }
    
    .nav-links {
        position: absolute;
        right: 0;
        height: 92vh;
        top: 8vh;
        background-color: rgba(10, 10, 10, 0.95);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        z-index: 999;
    }
    
    .nav-links li {
        opacity: 0;
    }
    
    .burger {
        display: block;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .newsletter form {
        flex-direction: column;
    }
    
    .newsletter input {
        border-radius: 30px;
        margin-bottom: 10px;
    }
    
    .newsletter button {
        border-radius: 30px;
    }
}

.nav-active {
    transform: translateX(0%);
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}
