@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
    --primary-red: #D03333;
    --background-light: #f8f6f6;
    --background-dark: #19191E;
    --dark-bg: #19191E;
    --card-bg: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --border-color: #2a2a2a;
    --nav-text: rgba(255, 255, 255, 0.65);
    --nav-text-strong: rgba(255, 255, 255, 0.92);
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--background-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.hero-title,
.section-title {
    font-family: 'Bebas Neue', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 0.05em;
}

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

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 5rem;
    background: rgba(25, 25, 30, 0.95);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1000;
    padding: 0 1rem;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(25, 25, 30, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    height: 3.5rem;
}

.navbar.scrolled .navbar-container {
    padding-bottom: 0.75rem;
}



.navbar-border {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    pointer-events: none;
}


.border-left,
.border-right {
    position: absolute;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
}

.border-left {
    left: 0;
    transition: right 0.3s ease;
}

.border-right {
    right: 0;
    transition: left 0.3s ease;
}

.navbar.scrolled .border-left {
    right: 50%;
}

.navbar.scrolled .border-right {
    left: 50%;
}

.navbar:not(.scrolled) .border-left {
    right: 52%;
}

.navbar:not(.scrolled) .border-right {
    left: 52%;
}

.navbar-container {
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
    height: 100%;
    padding-bottom: 1rem;
}


.nav-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2;
}

.nav-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    font-family: 'Bebas Neue', sans-serif;
    text-transform: none;
    padding: 0;
    margin: 0;
    line-height: 1.5;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 1);
}

.nav-link.active {
    color: var(--primary-red);
}

.social-icon {
    width: 20px;
    height: 20px;
    color: var(--nav-text);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover {
    color: var(--primary-red);
}

.social-icon svg {
    width: 100%;
    height: 100%;
}

.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -0.9rem;
    z-index: 1;
    width: auto;
}

.logo-link {
    display: block;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.85;
}

.logo-image {
    height: 4rem;
    width: auto;
    object-fit: contain;
    transition: height 0.3s ease;
}

.navbar.scrolled .logo-image {
    height: 3rem;
}

.navbar.scrolled .mobile-menu-toggle {
    transform: translateY(8px);
}

.navbar.scrolled .nav-link {
    transform: translateY(8px);
}

.navbar.scrolled .social-icon {
    transform: translateY(13px);
}

.navbar.scrolled .language-switcher {
    transform: translateY(13px);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 2;
}

.nav-link {
    transition: transform 0.3s ease;
}

.social-icon,
.language-switcher {
    transition: transform 0.3s ease;
    transform: translateY(5px);
}

.language-switcher {
    display: flex;
    gap: 8px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0;
}

.lang-btn {
    padding: 6px 12px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-secondary);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
}

.lang-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.lang-btn.active {
    color: var(--primary-red);
    border-color: var(--primary-red);
    background: rgba(208, 51, 51, 0.1);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

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

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 5rem;
    left: 0;
    right: 0;
    background: rgb(25, 25, 30);
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, top 0.3s ease;
}

.mobile-menu.navbar-scrolled {
    top: 3.5rem;
}

.mobile-menu.active {
    max-height: 100vh;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 20px;
    padding-bottom: 0;
}

.mobile-nav::after {
    content: '';
    display: block;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-top: 20px;
    margin-left: -20px;
    margin-right: -20px;
}

.mobile-language-switcher {
    display: none;
}

.mobile-nav-link {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    padding: 15px 20px;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.mobile-nav-link:last-of-type {
    margin-bottom: 0;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--primary-red);
    padding-left: 30px;
}

.btn-primary {
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Bebas Neue', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    background: #666;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid var(--primary-red);
    padding: 12px 30px;
    border-radius: 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Bebas Neue', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary-red);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

.hero {
    padding: 150px 0 100px;
    background: var(--background-dark);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-content {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 72px;
    font-weight: 400;
    color: white;
    margin-bottom: 20px;
    line-height: 1;
    letter-spacing: 0.02em;
}

.highlight {
    color: var(--primary-red);
    background: linear-gradient(135deg, var(--primary-red), #ff5555);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 0.01em;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
}

.hero-stats {
    display: flex;
    gap: 60px;
    justify-content: flex-start;
}

.experience-section {
    padding: 80px 0;
    background: var(--background-dark);
    text-align: center;
}

.experience-content {
    max-width: 900px;
    margin: 0 auto;
}

.experience-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 56px;
    font-weight: 400;
    color: white;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.experience-subtitle {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    color: var(--text-secondary);
    line-height: 1.4;
    letter-spacing: 0.01em;
    font-weight: 300;
    margin-bottom: 60px;
}

.fighting-scene-container {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
}





.fighting-scene-image {
    width: 100%;
    height: 120%;
    object-fit: cover;
    position: relative;
    top: -10%;
}



.stat {
    display: flex;
    flex-direction: column;
}

.features-grid-section {
    padding: 80px 0;
    background: var(--background-dark);
}

.features-grid-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    font-weight: 400;
    color: white;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-red);
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 0;
}

.feature-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.feature-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: white;
    margin-bottom: 15px;
    letter-spacing: 0.02em;
}

.feature-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.4;
    letter-spacing: 0.01em;
    font-weight: 300;
}

.stat-value {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-red);
}

.rarity-section {
    padding: 80px 0;
    background: var(--background-dark);
}

.rarity-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    font-weight: 400;
    color: white;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.rarity-subtitle {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 0.01em;
    font-weight: 300;
}

.rarity-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.rarity-card {
    background: rgba(255, 255, 255, 0.02);
    border: 2px solid;
    padding: 0;
    text-align: center;
    transition: all 0.6s ease-in-out;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    height: 350px;
    box-shadow: 0 0 0px rgba(0, 0, 0, 0), 0 0 0px rgba(0, 0, 0, 0);
}

.rarity-card.common {
    border-color: #ffffff;
}

.rarity-card.common:hover {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6), 0 0 40px rgba(255, 255, 255, 0.4);
}

.rarity-card.uncommon {
    border-color: #1eff00;
}

.rarity-card.uncommon:hover {
    box-shadow: 0 0 20px rgba(30, 255, 0, 0.6), 0 0 40px rgba(30, 255, 0, 0.4);
}

.rarity-card.rare {
    border-color: #0070dd;
}

.rarity-card.rare:hover {
    box-shadow: 0 0 20px rgba(0, 112, 221, 0.6), 0 0 40px rgba(0, 112, 221, 0.4);
}

.rarity-card.epic {
    border-color: #a335ee;
}

.rarity-card.epic:hover {
    box-shadow: 0 0 20px rgba(163, 53, 238, 0.6), 0 0 40px rgba(163, 53, 238, 0.4);
}

.rarity-card.legendary {
    border-color: #ff8000;
}

.rarity-card.legendary:hover {
    box-shadow: 0 0 20px rgba(255, 128, 0, 0.6), 0 0 40px rgba(255, 128, 0, 0.4);
}

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

.rarity-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.rarity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rarity-card.uncommon .rarity-image img {
    object-position: 30% center;
}

.rarity-card.rare .rarity-image img {
    object-position: 40% center;
}

.rarity-card.legendary .rarity-image img {
    object-position: 35% center;
}

.rarity-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    margin: 0;
    padding: 10px 15px;
    text-shadow: 
        0 0 10px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(0, 0, 0, 0.6),
        2px 2px 4px rgba(0, 0, 0, 1);
}

.rarity-card.common .rarity-name {
    color: #ffffff;
}

.rarity-card.uncommon .rarity-name {
    color: #1eff00;
}

.rarity-card.rare .rarity-name {
    color: #0070dd;
}

.rarity-card.epic .rarity-name {
    color: #a335ee;
}

.rarity-card.legendary .rarity-name {
    color: #ff8000;
}

.rarity-percentage {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    color: var(--text-primary);
    letter-spacing: 0.01em;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
    margin: 0;
    padding: 10px 15px;
    text-shadow: 
        0 0 10px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(0, 0, 0, 0.6),
        2px 2px 4px rgba(0, 0, 0, 1);
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.section-title {
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 60px;
}

.features {
    padding: 100px 0;
    background: var(--background-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background: linear-gradient(135deg, var(--card-bg), #1a1010);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
    box-shadow: 0 8px 30px rgba(208, 51, 51, 0.2);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-red);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.breeding-section {
    padding: 80px 0;
    background: var(--background-dark);
}

.breeding-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    font-weight: 400;
    color: white;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.breeding-subtitle {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 0.01em;
    font-weight: 300;
}

.breeding-diagram {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto auto;
    gap: 0;
    position: relative;
}

.breeding-parent {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.breeding-box {
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.02);
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 0px rgba(208, 51, 51, 0), 0 0 0px rgba(208, 51, 51, 0);
}

.breeding-box:hover {
    border-color: var(--primary-red);
    box-shadow: 0 0 20px rgba(208, 51, 51, 0.6), 0 0 40px rgba(208, 51, 51, 0.4);
}

.breeding-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.breeding-label {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.breeding-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 30px;
}

.connector-line {
    background: var(--primary-red);
}

.connector-line.horizontal {
    width: 100%;
    height: 2px;
    position: relative;
}

.connector-line.vertical {
    width: 2px;
    height: 150px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
}

.breeding-result {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.egg-box {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.02);
    border: 2px solid var(--primary-red);
}

.breeding-egg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gameplay {
    padding: 80px 0;
    background: var(--background-dark);
}

.gameplay-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    font-weight: 400;
    color: white;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.gameplay-subtitle {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 0.01em;
    font-weight: 300;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.gameplay-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 35px;
    text-align: left;
    position: relative;
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    background-clip: padding-box;
}

.step::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(19, 21, 25, 0.95) 0%, rgba(19, 21, 25, 0.85) 50%, rgba(19, 21, 25, 0.3) 100%);
    z-index: 0;
    pointer-events: none;
}

.step > * {
    position: relative;
    z-index: 1;
}

.step:nth-child(1) {
    background-image: url('assets/heroes/get-a-cock.jpg');
}

.step:nth-child(2) {
    background-image: url('assets/heroes/Fight-earn.jpg');
}

.step:nth-child(3) {
    background-image: url('assets/heroes/Egg-incubator.jpg');
}

.step:nth-child(4) {
    background-image: url('assets/heroes/Leaderboard.jpg');
}



.step-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 64px;
    color: var(--primary-red);
    font-weight: 400;
    margin-bottom: 15px;
    line-height: 1;
    opacity: 0.8;
}

.step h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 15px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.step p {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    letter-spacing: 0.01em;
    font-weight: 300;
}

.rarity {
    padding: 100px 0;
    background: var(--background-dark);
}

.rarity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.rarity-card {
    background: var(--card-bg);
    border: 2px solid;
    border-radius: 0;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
}

.rarity-card:hover {
    transform: scale(1.05);
}

.rarity-card.common {
    border-color: #808080;
}

.rarity-card.uncommon {
    border-color: #1eff00;
}

.rarity-card.rare {
    border-color: #0070dd;
}

.rarity-card.epic {
    border-color: #a335ee;
}

.rarity-card.legendary {
    border-color: #ff8000;
}

.rarity-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.rarity-stats p {
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.rarity-stats strong {
    color: var(--text-primary);
}

.tokenomics {
    padding: 100px 0;
    background: var(--background-dark);
}

.tokenomics-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 60px;
}

.token-info {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
}

.token-info h4 {
    color: var(--primary-red);
    font-size: 24px;
    margin-bottom: 20px;
}

.token-info ul {
    list-style: none;
    padding: 0;
}

.token-info li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
}

.token-info li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-red);
}

.tokenomics-chart {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
}

.tokenomics-chart h3 {
    color: var(--primary-red);
    font-size: 28px;
    margin-bottom: 30px;
}

.earn-list {
    list-style: none;
    padding: 0;
}

.earn-list li {
    font-size: 18px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.earn-list li:last-child {
    border-bottom: none;
}

.roadmap {
    padding: 100px 0;
    background: var(--background-dark);
}

.roadmap-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.roadmap-timeline:before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.roadmap-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 60px;
}

.roadmap-marker {
    position: absolute;
    left: 20px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--border-color);
    border: 3px solid var(--dark-bg);
}

.roadmap-item.completed .roadmap-marker {
    background: #1eff00;
}

.roadmap-item.active .roadmap-marker {
    background: var(--primary-red);
    box-shadow: 0 0 20px var(--primary-red);
}

.roadmap-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-red);
}

.roadmap-content ul {
    list-style: none;
    padding: 0;
}

.roadmap-content li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
}

.roadmap-content li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-red);
}

.join {
    padding: 80px 0;
    background: var(--background-dark);
    text-align: center;
}

.join-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.join-content p {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 0.01em;
}

.join-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.social-link:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
}

.footer {
    background: var(--background-dark);
    padding: 60px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 15px;
}

.footer-brand p {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--text-secondary);
    font-size: 16px;
    letter-spacing: 0.01em;
    font-weight: 300;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 20px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.footer-column a {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
    font-size: 16px;
    letter-spacing: 0.01em;
    font-weight: 300;
}

.footer-column a:hover {
    color: var(--primary-red);
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-bottom p {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.01em;
    font-weight: 300;
}

@media (min-width: 1024px) {
    .navbar {
        padding: 0.75rem 2rem;
    }
}

@media (min-width: 640px) and (max-width: 1023px) {
    .navbar {
        padding: 0.75rem 1.5rem;
    }
    
    .hero-title {
        font-size: 56px;
    }
    
    .hero-subtitle {
        font-size: 24px;
    }
    
    .experience-title {
        font-size: 48px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .rarity-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .rarity-card {
        height: 300px;
    }
    
    .breeding-diagram {
        max-width: 700px;
    }
    
    .breeding-box {
        width: 200px;
        height: 200px;
    }
    
    .egg-box {
        width: 150px;
        height: 150px;
    }
    
    .gameplay-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .step {
        padding: 35px 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 1rem;
    }
    
    .container {
        padding: 0 15px;
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-image {
        order: -1;
    }
    
    .hero-buttons {
        justify-content: center;
        align-items: center;
        flex-direction: column;
        width: 100%;
    }
    
    .btn-large {
        width: 100%;
        max-width: 300px;
    }

    .nav-left {
        display: none;
    }

    .nav-right .social-icon {
        display: none;
    }

    .nav-right {
        gap: 12px;
    }

    .language-switcher {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-language-switcher {
        display: flex !important;
        gap: 12px;
        justify-content: center;
        padding: 20px 20px 10px 20px;
        margin-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .mobile-nav-link:last-of-type {
        padding-bottom: 0;
    }
    
    .mobile-lang-btn {
        padding: 8px 24px;
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: var(--text-secondary);
        font-family: 'Bebas Neue', sans-serif;
        font-size: 16px;
        cursor: pointer;
        transition: all 0.3s ease;
        border-radius: 0;
        min-width: 80px;
    }
    
    .mobile-lang-btn:hover {
        color: var(--text-primary);
        background: rgba(255, 255, 255, 0.05);
    }
    
    .mobile-lang-btn.active {
        color: var(--primary-red);
        border-color: var(--primary-red);
        background: rgba(208, 51, 51, 0.1);
    }

    .mobile-menu {
        display: block;
    }

    .nav-center {
        bottom: -0.6rem;
    }
    
    .logo-image {
        height: 3.5rem;
    }

    .navbar.scrolled .logo-image {
        height: 2.5rem;
    }
    
    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .experience-section,
    .features-grid-section,
    .rarity-section,
    .breeding-section,
    .gameplay,
    .join {
        padding: 60px 0;
    }
    
    .experience-title {
        font-size: 36px;
    }
    
    .experience-subtitle {
        font-size: 18px;
        padding: 0 15px;
        margin-bottom: 40px;
    }
    
    .fighting-scene-container {
        height: 220px;
    }
    
    .features-grid-title {
        font-size: 36px;
        margin-bottom: 40px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-item {
        padding: 25px 20px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon img {
        width: 40px;
        height: 40px;
    }
    
    .feature-title {
        font-size: 20px;
    }
    
    .feature-text {
        font-size: 14px;
    }
    
    .rarity-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .rarity-title,
    .breeding-title,
    .gameplay-title,
    .join-content h2 {
        font-size: 36px;
    }
    
    .rarity-subtitle,
    .breeding-subtitle,
    .gameplay-subtitle,
    .join-content p {
        font-size: 18px;
        margin-bottom: 40px;
        padding: 0 10px;
    }
    
    .rarity-card {
        height: 300px;
    }
    
    .rarity-name {
        font-size: 24px;
        padding: 8px 12px;
    }
    
    .rarity-percentage {
        font-size: 16px;
        padding: 8px 12px;
    }
    
    .breeding-diagram {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .breeding-box {
        width: 100%;
        max-width: 300px;
        height: 300px;
    }
    
    .breeding-parent {
        width: 100%;
        display: flex;
        align-items: center;
    }
    
    .egg-box {
        width: 100%;
        max-width: 250px;
        height: 250px;
    }
    
    .breeding-connector {
        display: none;
    }
    
    .breeding-result {
        grid-column: 1;
        grid-row: auto;
        margin-top: 0;
    }
    
    .gameplay-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .step {
        padding: 30px 25px;
    }
    
    .step-number {
        font-size: 56px;
    }
    
    .step h3 {
        font-size: 24px;
    }
    
    .step p {
        font-size: 15px;
    }
    
    .join-buttons {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }
    
    .social-links {
        gap: 15px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
    
    .social-link svg {
        width: 20px;
        height: 20px;
    }
    
    .footer {
        padding: 50px 0 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 30px;
    }
    
    .footer-logo {
        height: 50px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-column h4 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .footer-column a {
        font-size: 15px;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .experience-title,
    .features-grid-title,
    .rarity-title,
    .breeding-title,
    .gameplay-title,
    .join-content h2 {
        font-size: 32px;
    }
    
    .experience-subtitle,
    .rarity-subtitle,
    .breeding-subtitle,
    .gameplay-subtitle,
    .join-content p {
        font-size: 16px;
    }
    
    .nav-link {
        font-size: 10px;
    }
    
    .rarity-card {
        height: 250px;
    }
    
    .rarity-name {
        font-size: 20px;
    }
    
    .rarity-percentage {
        font-size: 14px;
    }
    
    .breeding-box {
        height: 250px;
    }
    
    .egg-box {
        height: 200px;
    }
}
