:root {
    --primary-color: #f1c40f;
    --primary-dark: #d4ac0d;
    --secondary-color: #e67e22;
    --bg-dark: #0f0f0f;
    --bg-card: #1a1a1a;
    --text-light: #ecf0f1;
    --text-gray: #bdc3c7;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Open Sans', sans-serif;
    --border-color: #34495e;
    --glow-color: rgba(241, 196, 15, 0.5);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    background-image: url('assets/bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Navbar */
.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 25px 0;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(241, 196, 15, 0.2);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 50px;
}

.nav-item {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 10px 25px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--primary-color);
}

.nav-item:hover,
.nav-item.active {
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(241, 196, 15, 0.6);
}

.nav-item:hover::before,
.nav-item.active::before {
    width: 80%;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    margin-top: 40px;
}

.logo-container {
    margin-bottom: 30px;
    perspective: 1000px;
}

.main-logo {
    max-width: 550px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.6));
    animation: float 6s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #ddd;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.8s forwards;
}

/* RPG Button */
.cta-button {
    display: inline-block;
    position: relative;
    background: linear-gradient(180deg, #f1c40f 0%, #d35400 100%);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 18px 50px;
    font-size: 1.3rem;
    border-radius: 4px;
    border: 1px solid #f39c12;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 1.1s forwards;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(45deg) translate(-100%, -100%);
    transition: transform 0.6s ease;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(241, 196, 15, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    filter: brightness(1.1);
}

.cta-button:hover::after {
    transform: rotate(45deg) translate(100%, 100%);
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 2;
    background-color: var(--bg-dark);
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231a1a1a' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.info-section {
    padding: 100px 0;
}

.section-title {
    font-family: var(--font-heading);
    text-align: center;
    font-size: 3rem;
    margin-bottom: 80px;
    color: var(--primary-color);
    position: relative;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.section-title::after {
    content: '';
    display: block;
    width: 150px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 20px auto 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

/* RPG Card Style */
.info-card {
    background: linear-gradient(145deg, #222, #1a1a1a);
    padding: 5px;
    /* Border width */
    border-radius: 12px;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-inner {
    background: #1e1e1e;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(45deg, transparent, var(--primary-dark), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

.info-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.info-card:hover::before {
    opacity: 1;
}

.info-card i {
    font-size: 3.5rem;
    background: linear-gradient(180deg, #f1c40f, #e67e22);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
    filter: drop-shadow(0 5px 15px rgba(241, 196, 15, 0.3));
}

.info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-light);
    letter-spacing: 1px;
}

.info-card p {
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* SEO Section */
.seo-section {
    padding: 60px 0 100px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.5));
}

.seo-content {
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-gray);
    text-align: center;
}

.seo-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.seo-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-light);
    margin: 30px 0 15px;
}

.seo-content p {
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.8;
}

.seo-content strong {
    color: var(--primary-color);
}

/* Scroll Reveal Class */
.hidden-element {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.show-element {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
.site-footer {
    background-color: #080808;
    padding: 80px 0 30px;
    border-top: 1px solid #222;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-dark), transparent);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 50px;
}

.footer-logo h2 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(241, 196, 15, 0.2);
}

.footer-logo p {
    color: var(--text-gray);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    gap: 25px;
}

.social-icon {
    width: 55px;
    height: 55px;
    background: #151515;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-gray);
    border: 1px solid #333;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.social-icon i {
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(241, 196, 15, 0.2);
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon:hover i {
    color: #000;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #1a1a1a;
    color: #666;
    font-size: 0.9rem;
}

.legal-text {
    margin-top: 10px;
    font-size: 0.8rem;
    opacity: 0.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(1deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        gap: 20px;
    }

    .nav-item {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .main-logo {
        max-width: 320px;
    }

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