/* Base Styles */
:root {
    --cd-primary: #5b5420;
    --cd-primary-dark: #413b17;
    --cd-primary-light: #7a7235;
    --cd-accent: #a4741b;
    --cd-accent-light: #c9952d;
    --cd-dark: #232323;
    --cd-light: #f5f5f5;
    --cd-gray: #666;
    --cd-transition: all 0.3s ease-in-out;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--cd-light);
    color: var(--cd-dark);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--cd-primary);
    text-decoration: none;
    transition: var(--cd-transition);
}

a:hover {
    color: var(--cd-accent);
    text-decoration: underline;
}

/* Layout */
.cd-container {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 2rem;
    width: 100%;
}

/* Header */
.cd-header {
    background-color: rgba(35, 35, 35, 0.8);
    backdrop-filter: blur(8px);
    color: var(--cd-light);
    left: 0;
    padding: 1rem 0;
    position: fixed;
    right: 0;
    top: 0;
    transition: var(--cd-transition);
    width: 100%;
    z-index: 1000;
}

.cd-header .cd-container {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.cd-logo h1 {
    font-size: 1.75rem;
    margin: 0;
}

.cd-nav ul {
    display: flex;
    list-style: none;
}

.cd-nav li {
    margin: 0 1rem;
}

.cd-nav a {
    color: var(--cd-light);
    font-size: 1rem;
    padding: 0.5rem;
    position: relative;
}

.cd-nav a:hover {
    color: var(--cd-accent-light);
    text-decoration: none;
}

.cd-nav a::after {
    background-color: var(--cd-accent-light);
    bottom: 0;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    transform: scaleX(0);
    transition: var(--cd-transition);
    width: 100%;
}

.cd-nav a:hover::after {
    transform: scaleX(1);
}

.cd-header.scrolled {
    background-color: var(--cd-dark);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

/* Buttons */
.cd-cta-button, .cd-hero-button {
    background: linear-gradient(135deg, var(--cd-primary), var(--cd-accent));
    border: none;
    color: var(--cd-light);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    text-transform: uppercase;
    transition: var(--cd-transition);
}

.cd-cta-button:hover, .cd-hero-button:hover {
    background: linear-gradient(135deg, var(--cd-primary-dark), var(--cd-accent));
    transform: translateY(-2px);
}

.cd-cta-button:focus, .cd-hero-button:focus {
    box-shadow: 0 0 0 3px rgba(91, 84, 32, 0.5);
    outline: none;
}

/* Hero Section */
.cd-hero {
    align-items: center;
    background-color: var(--cd-dark);
    color: var(--cd-light);
    display: flex;
    flex-direction: column;
    height: 80vh;
    justify-content: center;
    margin-top: 0;
    overflow: hidden;
    padding: 6rem 2rem;
    position: relative;
    text-align: center;
}

.cd-hero::before {
    background-position: center;
    background-size: cover;
    content: "";
    height: 100%;
    left: 0;
    opacity: 0.6;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -1;
}

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

.cd-hero h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cd-hero p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.cd-hero-button {
    font-size: 1.125rem;
    padding: 1rem 2rem;
}

/* Disclaimer Section */
.cd-disclaimer {
    background-color: rgba(91, 84, 32, 0.1);
    padding: 4rem 0;
}

.cd-disclaimer-content {
    border: 1px solid var(--cd-primary);
    border-radius: 4px;
    padding: 2rem;
    text-align: center;
}

/* Features Section */
.cd-features {
    padding: 6rem 0;
}

.cd-features .cd-container {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.cd-feature-card {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    transition: var(--cd-transition);
}

.cd-feature-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.cd-feature-card h3 {
    border-bottom: 2px solid var(--cd-primary-light);
    color: var(--cd-primary-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
}

/* Footer */
.cd-footer {
    background-color: var(--cd-dark);
    color: var(--cd-light);
    padding: 4rem 0 2rem;
}

.cd-footer-primary {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.cd-footer-logo {
    flex: 0 0 40%;
}

.cd-footer-logo h2 {
    color: var(--cd-accent-light);
    margin-bottom: 0.5rem;
}

.cd-footer-nav {
    flex: 0 0 50%;
}

.cd-footer-nav h4 {
    color: var(--cd-accent-light);
    margin-bottom: 1rem;
}

.cd-footer-nav ul {
    list-style: none;
}

.cd-footer-nav li {
    margin-bottom: 0.5rem;
}

.cd-footer-nav a {
    color: var(--cd-light);
}

.cd-footer-nav a:hover {
    color: var(--cd-accent-light);
}

.cd-footer-secondary {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    padding-top: 2rem;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .cd-hero h2 {
        font-size: 2.5rem;
    }

    .cd-footer-primary {
        flex-direction: column;
    }

    .cd-footer-logo, .cd-footer-nav {
        flex: 0 0 100%;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .cd-header .cd-container {
        flex-direction: column;
        padding: 1rem;
    }

    .cd-logo, .cd-nav, .cd-cta-button {
        margin-bottom: 1rem;
    }

    .cd-nav ul {
        flex-direction: column;
        text-align: center;
    }

    .cd-nav li {
        margin: 0.5rem 0;
    }

    .cd-hero {
        height: auto;
        min-height: 80vh;
        padding: 6rem 1rem 4rem;
    }

    .cd-hero h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .cd-hero h2 {
        font-size: 1.75rem;
    }
}

/* Custom Scroll Behavior */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background-color: var(--cd-dark);
}

::-webkit-scrollbar-thumb {
    background-color: var(--cd-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--cd-accent);
}

/* Custom Focus States */
a:focus, button:focus, input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 3px rgba(164, 116, 27, 0.5);
    outline: none;
}

/* Scroll-triggered animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cd-feature-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.cd-feature-card:nth-child(1) {
    animation-delay: 0.2s;
}

.cd-feature-card:nth-child(2) {
    animation-delay: 0.4s;
}

.cd-feature-card:nth-child(3) {
    animation-delay: 0.6s;
}

/* Base Styles */
:root {
    --cd-primary: #5b5420;
    --cd-primary-dark: #413b17;
    --cd-primary-light: #7a7235;
    --cd-accent: #a4741b;
    --cd-accent-light: #c9952d;
    --cd-dark: #232323;
    --cd-light: #f5f5f5;
    --cd-gray: #666;
    --cd-transition: all 0.3s ease-in-out;
    --text-color: var(--cd-dark);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--cd-light);
    color: var(--cd-dark);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--cd-primary);
    text-decoration: none;
    transition: var(--cd-transition);
}

a:hover {
    color: var(--cd-accent);
    text-decoration: underline;
}

/* Layout */
.cd-container {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 2rem;
    width: 100%;
}

/* Header and Navigation */
.cd-header {
    background-color: rgba(35, 35, 35, 0.8);
    backdrop-filter: blur(8px);
    color: var(--cd-light);
    left: 0;
    padding: 1rem 0;
    position: fixed;
    right: 0;
    top: 0;
    transition: var(--cd-transition);
    width: 100%;
    z-index: 1000;
}

.cd-logo h1 {
    font-size: 1.75rem;
    margin: 0;
    color: var(--cd-light);
}

/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

.navbar-brand {
    text-decoration: none;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
}

.hamburger {
    width: 30px;
    height: 3px;
    background: var(--cd-light);
    position: relative;
    transition: all 0.3s ease;
}

.hamburger:before,
.hamburger:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background: var(--cd-light);
    transition: all 0.3s ease;
}

.hamburger:before {
    top: -8px;
}

.hamburger:after {
    top: 8px;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-item {
    list-style: none;
}

.nav-link {
    color: var(--cd-light);
    text-decoration: none;
    font-size: 16px;
    padding: 0.5rem;
    position: relative;
}

.nav-link:hover {
    color: var(--cd-accent-light);
    text-decoration: none;
}

.nav-link::after {
    background-color: var(--cd-accent-light);
    bottom: 0;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    transform: scaleX(0);
    transition: var(--cd-transition);
    width: 100%;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

@media screen and (max-width: 768px) {
    .nav-toggle-label {
        display: block;
        cursor: pointer;
        padding: 15px;
        z-index: 2;
    }

    .nav-wrapper {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--cd-dark);
        transition: all 0.3s ease;
        padding-top: 80px;
        flex-direction: column;
        align-items: center;
    }

    .nav-toggle:checked ~ .nav-wrapper {
        left: 0;
    }

    .nav-item {
        margin: 15px 0;
    }

    .nav-link {
        display: inline-block;
        padding: 10px 20px;
        font-size: 18px;
    }

    .nav-toggle:checked ~ .nav-toggle-label .hamburger {
        background: transparent;
    }

    .nav-toggle:checked ~ .nav-toggle-label .hamburger:before {
        transform: rotate(45deg);
        top: 0;
    }

    .nav-toggle:checked ~ .nav-toggle-label .hamburger:after {
        transform: rotate(-45deg);
        top: 0;
    }
}

@media screen and (min-width: 769px) {
    .nav-toggle-label {
        display: none;
    }

    .nav-wrapper {
        display: flex;
    }
}

.cd-header.scrolled {
    background-color: var(--cd-dark);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

/* Buttons */
.cd-cta-button, .cd-hero-button {
    background: linear-gradient(135deg, var(--cd-primary), var(--cd-accent));
    border: none;
    color: var(--cd-light);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    text-transform: uppercase;
    transition: var(--cd-transition);
}

.cd-cta-button:hover, .cd-hero-button:hover {
    background: linear-gradient(135deg, var(--cd-primary-dark), var(--cd-accent));
    transform: translateY(-2px);
}

.cd-cta-button:focus, .cd-hero-button:focus {
    box-shadow: 0 0 0 3px rgba(91, 84, 32, 0.5);
    outline: none;
}

/* Hero Section */
.cd-hero {
    align-items: center;
    background-color: var(--cd-dark);
    color: var(--cd-light);
    display: flex;
    flex-direction: column;
    height: 80vh;
    justify-content: center;
    margin-top: 0;
    overflow: hidden;
    padding: 6rem 2rem;
    position: relative;
    text-align: center;
}

.cd-hero::before {
    background-position: center;
    background-size: cover;
    content: "";
    height: 100%;
    left: 0;
    opacity: 0.6;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -1;
}

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

.cd-hero h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cd-hero p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.cd-hero-button {
    font-size: 1.125rem;
    padding: 1rem 2rem;
}

/* Disclaimer Section */
.cd-disclaimer {
    background-color: rgba(91, 84, 32, 0.1);
    padding: 4rem 0;
}

.cd-disclaimer-content {
    border: 1px solid var(--cd-primary);
    border-radius: 4px;
    padding: 2rem;
    text-align: center;
}

/* Features Section */
.cd-features {
    padding: 6rem 0;
}

.cd-features .cd-container {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.cd-feature-card {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    transition: var(--cd-transition);
}

.cd-feature-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.cd-feature-card h3 {
    border-bottom: 2px solid var(--cd-primary-light);
    color: var(--cd-primary-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
}

/* Gameplay Section */
.cd-gameplay {
    background-color: rgba(35, 35, 35, 0.95);
    color: var(--cd-light);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.cd-gameplay::before {
    content: "";
    background-position: center;
    background-size: cover;
    opacity: 0.2;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.cd-gameplay h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--cd-accent-light);
}

.cd-gameplay-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.cd-gameplay-item {
    background: rgba(0, 0, 0, 0.3);
    border-left: 3px solid var(--cd-accent);
    padding: 2rem;
    border-radius: 0 4px 4px 0;
    transition: var(--cd-transition);
}

.cd-gameplay-item:hover {
    transform: translateX(5px);
    background: rgba(0, 0, 0, 0.5);
}

.cd-gameplay-item h3 {
    color: var(--cd-accent-light);
    margin-bottom: 1rem;
}

/* Call to action section */
.cd-call-to-action {
    background: linear-gradient(135deg, var(--cd-primary-dark), var(--cd-primary));
    color: var(--cd-light);
    padding: 6rem 0;
    text-align: center;
}

.cd-call-to-action h2 {
    margin-bottom: 1.5rem;
}

.cd-call-to-action p {
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.25rem;
}

.cd-call-to-action .cd-cta-button {
    background: linear-gradient(135deg, var(--cd-accent), var(--cd-accent-light));
    font-size: 1.125rem;
    padding: 1rem 2.5rem;
}

.cd-call-to-action .cd-cta-button:hover {
    background: linear-gradient(135deg, var(--cd-accent-light), var(--cd-accent));
}

/* Footer */
.cd-footer {
    background-color: var(--cd-dark);
    color: var(--cd-light);
    padding: 4rem 0 2rem;
}

.cd-footer-primary {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.cd-footer-logo {
    flex: 0 0 40%;
}

.cd-footer-logo h2 {
    color: var(--cd-accent-light);
    margin-bottom: 0.5rem;
}

.cd-footer-nav {
    flex: 0 0 50%;
}

.cd-footer-nav h4 {
    color: var(--cd-accent-light);
    margin-bottom: 1rem;
}

.cd-footer-nav ul {
    list-style: none;
}

.cd-footer-nav li {
    margin-bottom: 0.5rem;
}

.cd-footer-nav a {
    color: var(--cd-light);
}

.cd-footer-nav a:hover {
    color: var(--cd-accent-light);
}

.cd-footer-secondary {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    padding-top: 2rem;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .cd-hero h2 {
        font-size: 2.5rem;
    }

    .cd-footer-primary {
        flex-direction: column;
    }

    .cd-footer-logo, .cd-footer-nav {
        flex: 0 0 100%;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .cd-header .cd-container {
        padding: 0 1rem;
    }

    .cd-hero {
        height: auto;
        min-height: 80vh;
        padding: 6rem 1rem 4rem;
    }

    .cd-hero h2 {
        font-size: 2rem;
    }

    .cd-gameplay-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .cd-hero h2 {
        font-size: 1.75rem;
    }

    .cd-call-to-action p {
        font-size: 1rem;
    }
}

/* Custom Scroll Behavior */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background-color: var(--cd-dark);
}

::-webkit-scrollbar-thumb {
    background-color: var(--cd-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--cd-accent);
}

/* Custom Focus States */
a:focus, button:focus, input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 3px rgba(164, 116, 27, 0.5);
    outline: none;
}

/* Scroll-triggered animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cd-feature-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.cd-feature-card:nth-child(1) {
    animation-delay: 0.2s;
}

.cd-feature-card:nth-child(2) {
    animation-delay: 0.4s;
}

.cd-feature-card:nth-child(3) {
    animation-delay: 0.6s;
}

.cd-gameplay-item {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.cd-gameplay-item:nth-child(1) {
    animation-delay: 0.3s;
}

.cd-gameplay-item:nth-child(2) {
    animation-delay: 0.5s;
}

.cd-gameplay-item:nth-child(3) {
    animation-delay: 0.7s;
}

.cd-gameplay-item:nth-child(4) {
    animation-delay: 0.9s;
}

/* Base Styles */
:root {
    --cd-primary: #5b5420;
    --cd-primary-dark: #413b17;
    --cd-primary-light: #7a7235;
    --cd-accent: #a4741b;
    --cd-accent-light: #c9952d;
    --cd-dark: #232323;
    --cd-light: #f5f5f5;
    --cd-gray: #666;
    --cd-space-blue: #1a2b47;
    --cd-space-purple: #3e1f5c;
    --cd-nebula-pink: #a12c6a;
    --cd-nebula-blue: #0f4c81;
    --cd-star-yellow: #ffd166;
    --cd-planet-green: #06d6a0;
    --cd-transition: all 0.3s ease-in-out;
    --text-color: var(--cd-dark);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--cd-light);
    color: var(--cd-dark);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Enhancement */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2rem;
    letter-spacing: -0.3px;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--cd-primary);
    text-decoration: none;
    transition: var(--cd-transition);
    position: relative;
}

a:hover {
    color: var(--cd-accent);
}

/* Layout */
.cd-container {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 2rem;
    width: 100%;
}

/* Enhanced Header and Navigation */
.cd-header {
    background-color: rgba(26, 43, 71, 0.85);
    backdrop-filter: blur(10px);
    color: var(--cd-light);
    left: 0;
    padding: 1rem 0;
    position: fixed;
    right: 0;
    top: 0;
    transition: var(--cd-transition);
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.cd-logo h1 {
    font-size: 1.75rem;
    margin: 0;
    color: var(--cd-light);
    text-shadow: 0 0 10px rgba(255, 209, 102, 0.5);
    position: relative;
    display: inline-block;
}

.cd-logo h1::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 2px;
    background: var(--cd-star-yellow);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.cd-logo h1:hover::before {
    width: 100%;
}

/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

.navbar-brand {
    text-decoration: none;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
}

.hamburger {
    width: 30px;
    height: 3px;
    background: var(--cd-light);
    position: relative;
    transition: all 0.3s ease;
}

.hamburger:before,
.hamburger:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background: var(--cd-light);
    transition: all 0.3s ease;
}

.hamburger:before {
    top: -8px;
}

.hamburger:after {
    top: 8px;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-item {
    list-style: none;
}

.nav-link {
    color: var(--cd-light);
    text-decoration: none;
    font-size: 16px;
    padding: 0.5rem;
    position: relative;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: var(--cd-star-yellow);
    text-decoration: none;
}

.nav-link::after {
    background-color: var(--cd-star-yellow);
    bottom: 0;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    transform: scaleX(0);
    transition: var(--cd-transition);
    width: 100%;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

@media screen and (max-width: 768px) {
    .nav-toggle-label {
        display: block;
        cursor: pointer;
        padding: 15px;
        z-index: 2;
    }

    .nav-wrapper {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--cd-space-blue);
        transition: all 0.3s ease;
        padding-top: 80px;
        flex-direction: column;
        align-items: center;
    }

    .nav-toggle:checked ~ .nav-wrapper {
        left: 0;
    }

    .nav-item {
        margin: 15px 0;
    }

    .nav-link {
        display: inline-block;
        padding: 10px 20px;
        font-size: 18px;
    }

    .nav-toggle:checked ~ .nav-toggle-label .hamburger {
        background: transparent;
    }

    .nav-toggle:checked ~ .nav-toggle-label .hamburger:before {
        transform: rotate(45deg);
        top: 0;
    }

    .nav-toggle:checked ~ .nav-toggle-label .hamburger:after {
        transform: rotate(-45deg);
        top: 0;
    }
}

@media screen and (min-width: 769px) {
    .nav-toggle-label {
        display: none;
    }

    .nav-wrapper {
        display: flex;
    }
}

.cd-header.scrolled {
    background-color: var(--cd-space-blue);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    padding: 0.5rem 0;
}

/* Enhanced Buttons */
.cd-cta-button, .cd-hero-button {
    background: linear-gradient(135deg, var(--cd-primary), var(--cd-accent));
    border: none;
    color: var(--cd-light);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.85rem 1.75rem;
    text-transform: uppercase;
    transition: var(--cd-transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 1px;
    border-radius: 4px;
}

.cd-cta-button:before, .cd-hero-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.cd-cta-button:hover:before, .cd-hero-button:hover:before {
    left: 100%;
}

.cd-cta-button:hover, .cd-hero-button:hover {
    background: linear-gradient(135deg, var(--cd-primary-dark), var(--cd-accent));
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.2);
}

.cd-cta-button:focus, .cd-hero-button:focus {
    box-shadow: 0 0 0 3px rgba(91, 84, 32, 0.5);
    outline: none;
}

.cd-cta-button:active, .cd-hero-button:active {
    transform: translateY(-1px);
}

/* Hero Section Enhancement */
.cd-hero {
    align-items: center;
    background-color: var(--cd-space-blue);
    color: var(--cd-light);
    display: flex;
    flex-direction: column;
    height: 80vh;
    justify-content: center;
    margin-top: 0;
    overflow: hidden;
    padding: 6rem 2rem;
    position: relative;
    text-align: center;
}

.cd-hero::before {
    background-position: center;
    background-size: cover;
    content: "";
    height: 100%;
    left: 0;
    opacity: 0.6;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -1;
    animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.cd-hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
    animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.cd-hero h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    display: inline-block;
}

.cd-hero h2::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 3px;
    background: var(--cd-star-yellow);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.cd-hero p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.cd-hero-button {
    font-size: 1.125rem;
    padding: 1rem 2.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(164, 116, 27, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(164, 116, 27, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(164, 116, 27, 0);
    }
}

/* Enhanced Disclaimer Section */
.cd-disclaimer {
    background-color: rgba(91, 84, 32, 0.08);
    padding: 4rem 0;
}

.cd-disclaimer-content {
    border: 1px solid var(--cd-primary);
    border-radius: 6px;
    padding: 2.5rem;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.cd-disclaimer-content::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--cd-primary), var(--cd-accent), var(--cd-primary));
    top: 0;
    left: 0;
}

.cd-disclaimer-content h3 {
    color: var(--cd-primary-dark);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.cd-disclaimer-content h3::after {
    content: "";
    position: absolute;
    width: 50px;
    height: 2px;
    background: var(--cd-primary);
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
}

/* Enhanced Features Section */
.cd-features {
    padding: 6rem 0;
    background: linear-gradient(to bottom, rgba(245, 245, 245, 1) 0%, rgba(255, 255, 255, 1) 100%);
    position: relative;
}

.cd-features::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%235b5420' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
    top: 0;
    left: 0;
    opacity: 0.3;
}

.cd-features .cd-container {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    position: relative;
    z-index: 1;
}

.cd-feature-card {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    padding: 2.5rem;
    transition: var(--cd-transition);
    position: relative;
    overflow: hidden;
}

.cd-feature-card::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--cd-primary), var(--cd-accent));
    top: 0;
    left: 0;
    transition: var(--cd-transition);
}

.cd-feature-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
}

.cd-feature-card:hover::before {
    height: 6px;
}

.cd-feature-card h3 {
    border-bottom: 2px solid var(--cd-primary-light);
    color: var(--cd-primary-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    position: relative;
}

.cd-feature-card h3::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--cd-accent);
    bottom: -2px;
    left: 0;
    transition: var(--cd-transition);
}

.cd-feature-card:hover h3::after {
    width: 100%;
}

/* Enhanced Gameplay Section */
.cd-gameplay {
    background-color: rgba(26, 43, 71, 0.98);
    color: var(--cd-light);
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}

.cd-gameplay::before {
    content: "";
    background-position: center;
    background-size: cover;
    opacity: 0.15;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    animation: slowMoveBg 30s infinite alternate;
}

@keyframes slowMoveBg {
    0% {
        transform: scale(1) translate(0, 0);
    }
    50% {
        transform: scale(1.05) translate(-1%, -1%);
    }
    100% {
        transform: scale(1.1) translate(1%, 1%);
    }
}

.cd-gameplay h2 {
    text-align: center;
    margin-bottom: 3.5rem;
    color: var(--cd-star-yellow);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.cd-gameplay h2::after {
    content: "";
    position: absolute;
    width: 70px;
    height: 3px;
    background: var(--cd-star-yellow);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.cd-gameplay-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.cd-gameplay-item {
    background: rgba(15, 35, 60, 0.6);
    border-left: 3px solid var(--cd-accent);
    padding: 2.5rem;
    border-radius: 0 8px 8px 0;
    transition: var(--cd-transition);
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.cd-gameplay-item::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(164, 116, 27, 0.1), transparent);
    top: 0;
    left: 0;
    opacity: 0;
    transition: var(--cd-transition);
}

.cd-gameplay-item:hover {
    transform: translateX(5px) translateY(-5px);
    background: rgba(15, 35, 60, 0.8);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cd-gameplay-item:hover::before {
    opacity: 1;
}

.cd-gameplay-item h3 {
    color: var(--cd-star-yellow);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.cd-gameplay-item h3::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--cd-star-yellow);
    bottom: -5px;
    left: 0;
    transition: var(--cd-transition);
}

.cd-gameplay-item:hover h3::after {
    width: 100%;
}

/* Enhanced Call to action section */
.cd-call-to-action {
    background: linear-gradient(135deg, var(--cd-primary-dark), var(--cd-primary));
    color: var(--cd-light);
    padding: 7rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cd-call-to-action::before {
    content: "";
    position: absolute;
    width: 150%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
    top: -50%;
    left: -25%;
    animation: rotateGradient 15s infinite linear;
}

@keyframes rotateGradient {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.cd-call-to-action h2 {
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: relative;
    display: inline-block;
}

.cd-call-to-action h2::after {
    content: "";
    position: absolute;
    width: 70px;
    height: 3px;
    background: var(--cd-light);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.cd-call-to-action p {
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.25rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.cd-call-to-action .cd-cta-button {
    background: linear-gradient(135deg, var(--cd-accent), var(--cd-accent-light));
    font-size: 1.125rem;
    padding: 1.2rem 3rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cd-call-to-action .cd-cta-button:hover {
    background: linear-gradient(135deg, var(--cd-accent-light), var(--cd-accent));
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Enhanced Footer */
.cd-footer {
    background-color: var(--cd-space-blue);
    color: var(--cd-light);
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.cd-footer::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    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='%23a4741b' fill-opacity='0.1'%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");
    top: 0;
    left: 0;
    opacity: 0.1;
}

.cd-footer-primary {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 1;
}

.cd-footer-logo {
    flex: 0 0 40%;
}

.cd-footer-logo h2 {
    color: var(--cd-star-yellow);
    margin-bottom: 0.8rem;
    position: relative;
    display: inline-block;
}

.cd-footer-logo h2::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 2px;
    background: var(--cd-star-yellow);
    bottom: -8px;
    left: 0;
}

.cd-footer-nav {
    flex: 0 0 50%;
}

.cd-footer-nav h4 {
    color: var(--cd-star-yellow);
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
}

.cd-footer-nav h4::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 2px;
    background: var(--cd-star-yellow);
    bottom: -8px;
    left: 0;
}

.cd-footer-nav ul {
    list-style: none;
}

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

.cd-footer-nav a {
    color: var(--cd-light);
    transition: var(--cd-transition);
    display: inline-block;
    position: relative;
    padding-left: 15px;
}

.cd-footer-nav a::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--cd-star-yellow);
    opacity: 0;
    transition: var(--cd-transition);
}

.cd-footer-nav a:hover {
    color: var(--cd-star-yellow);
    transform: translateX(5px);
}

.cd-footer-nav a:hover::before {
    opacity: 1;
}

.cd-footer-secondary {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    padding-top: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Enhanced Responsive Styles */
@media (max-width: 992px) {
    .cd-hero h2 {
        font-size: 2.5rem;
    }

    .cd-footer-primary {
        flex-direction: column;
    }

    .cd-footer-logo, .cd-footer-nav {
        flex: 0 0 100%;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .cd-header .cd-container {
        padding: 0 1rem;
    }

    .cd-hero {
        height: auto;
        min-height: 80vh;
        padding: 6rem 1rem 4rem;
    }

    .cd-hero h2 {
        font-size: 2rem;
    }

    .cd-gameplay-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .cd-hero h2 {
        font-size: 1.75rem;
    }

    .cd-call-to-action p {
        font-size: 1rem;
    }
}

/* Enhanced Custom Scroll Behavior */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background-color: var(--cd-space-blue);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--cd-primary), var(--cd-accent));
    border-radius: 6px;
    border: 2px solid var(--cd-space-blue);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, var(--cd-accent), var(--cd-accent-light));
}

/* Enhanced Custom Focus States */
a:focus, button:focus, input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 3px rgba(164, 116, 27, 0.5);
    outline: none;
}

/* Enhanced Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatElement {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

.cd-feature-card {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.cd-feature-card:nth-child(1) {
    animation-delay: 0.2s;
}

.cd-feature-card:nth-child(2) {
    animation-delay: 0.4s;
}

.cd-feature-card:nth-child(3) {
    animation-delay: 0.6s;
}

.cd-gameplay-item {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.cd-gameplay-item:nth-child(1) {
    animation-delay: 0.3s;
}

.cd-gameplay-item:nth-child(2) {
    animation-delay: 0.5s;
}

.cd-gameplay-item:nth-child(3) {
    animation-delay: 0.7s;
}

.cd-gameplay-item:nth-child(4) {
    animation-delay: 0.9s;
}

/* Cosmic Play Section */
.cd-play-section {
    padding: 7rem 0;
    background: linear-gradient(135deg, var(--cd-space-blue), var(--cd-space-purple));
    position: relative;
    overflow: hidden;
    color: var(--cd-light);
}

.cd-play-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            radial-gradient(circle at 20% 30%, rgba(61, 31, 92, 0.7) 0%, transparent 30%),
            radial-gradient(circle at 80% 70%, rgba(26, 43, 71, 0.8) 0%, transparent 30%);
    z-index: 0;
}

.cd-play-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: 0;
}

.cd-play-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.cd-play-text {
    flex: 1 1 500px;
}

.cd-play-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--cd-star-yellow);
    text-shadow: 0 0 10px rgba(255, 209, 102, 0.3);
    position: relative;
    display: inline-block;
}

.cd-play-text h2::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 3px;
    background: var(--cd-star-yellow);
    bottom: -10px;
    left: 0;
}

.cd-play-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.cd-play-features {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.cd-play-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cd-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cd-feature-icon::before,
.cd-feature-icon::after {
    content: '';
    position: absolute;
    transition: all 0.3s ease;
}

/* Shield Icon */
.cd-icon-shield::before {
    width: 18px;
    height: 22px;
    background: var(--cd-star-yellow);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.cd-icon-shield::after {
    width: 12px;
    height: 16px;
    background: rgba(26, 43, 71, 0.9);
    clip-path: polygon(50% 15%, 85% 30%, 85% 70%, 50% 85%, 15% 70%, 15% 30%);
}

/* Weapon Icon */
.cd-icon-weapon::before {
    width: 20px;
    height: 6px;
    background: var(--cd-star-yellow);
    border-radius: 3px;
    transform: rotate(45deg);
}

.cd-icon-weapon::after {
    width: 8px;
    height: 8px;
    background: var(--cd-accent-light);
    border-radius: 50%;
    top: 12px;
    left: 18px;
    box-shadow: 0 0 10px var(--cd-accent-light);
}

/* Upgrade Icon */
.cd-icon-upgrade::before {
    width: 18px;
    height: 18px;
    border: 2px solid var(--cd-star-yellow);
    border-radius: 50%;
}

.cd-icon-upgrade::after {
    content: '↑';
    color: var(--cd-star-yellow);
    font-size: 12px;
    font-weight: bold;
}

.cd-play-feature span {
    font-size: 1rem;
    font-weight: 500;
}

.cd-play-action {
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cd-play-button-wrapper {
    position: relative;
    z-index: 2;
}

.cd-play-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: linear-gradient(-45deg, var(--cd-accent), var(--cd-star-yellow));
    position: relative;
    text-decoration: none;
    color: var(--cd-dark);
    font-weight: 700;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow:
            0 10px 30px rgba(0, 0, 0, 0.3),
            0 0 0 10px rgba(255, 255, 255, 0.1),
            0 0 0 20px rgba(255, 255, 255, 0.05);
}

.cd-play-button::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: white;
    border-radius: 50%;
    z-index: -1;
}

.cd-play-button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 30%, rgba(255, 255, 255, 0.15) 70%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cd-play-button-text {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.cd-play-button-icon {
    position: absolute;
    width: 24px;
    height: 24px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.cd-play-button-icon::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 24px;
    border-color: transparent transparent transparent var(--cd-dark);
}

.cd-play-button:hover {
    transform: scale(1.05);
    box-shadow:
            0 15px 40px rgba(0, 0, 0, 0.4),
            0 0 0 15px rgba(255, 255, 255, 0.1),
            0 0 0 30px rgba(255, 255, 255, 0.05);
}

.cd-play-button:hover::after {
    opacity: 1;
}

.cd-play-button:hover .cd-play-button-text {
    opacity: 0;
    transform: scale(0.8);
}

.cd-play-button:hover .cd-play-button-icon {
    opacity: 1;
    transform: scale(1);
}

.cd-play-particles {
    position: absolute;
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.cd-play-particles span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--cd-star-yellow);
    animation: particleExpand 6s infinite;
    opacity: 0;
}

.cd-play-particles span:nth-child(2) {
    animation-delay: 1s;
}

.cd-play-particles span:nth-child(3) {
    animation-delay: 2s;
}

.cd-play-particles span:nth-child(4) {
    animation-delay: 3s;
}

.cd-play-particles span:nth-child(5) {
    animation-delay: 4s;
}

.cd-play-particles span:nth-child(6) {
    animation-delay: 5s;
}

@keyframes particleExpand {
    0% {
        width: 0%;
        height: 0%;
        opacity: 0.8;
        border-width: 2px;
    }
    70% {
        opacity: 0.3;
    }
    100% {
        width: 100%;
        height: 100%;
        opacity: 0;
        border-width: 1px;
    }
}

.cd-players-online {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    backdrop-filter: blur(4px);
}

.cd-pulse-dot {
    width: 10px;
    height: 10px;
    background-color: #2ecc71;
    border-radius: 50%;
    position: relative;
}

.cd-pulse-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #2ecc71;
    border-radius: 50%;
    animation: pulse 2s infinite;
    top: 0;
    left: 0;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    70% {
        transform: scale(2);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

@media (max-width: 992px) {
    .cd-play-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .cd-play-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .cd-play-features {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .cd-play-button {
        width: 180px;
        height: 180px;
        font-size: 1.25rem;
    }

    .cd-play-particles {
        width: 240px;
        height: 240px;
    }
}

/* Footer Styles */
.cd-footer {
    background-color: var(--cd-space-blue);
    color: var(--cd-light);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.cd-footer::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    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='%23a4741b' fill-opacity='0.1'%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");
    top: 0;
    left: 0;
    opacity: 0.1;
}

.cd-footer-primary {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.cd-footer-logo {
    flex: 0 0 30%;
}

.cd-footer-logo h2 {
    color: var(--cd-star-yellow);
    margin-bottom: 0.8rem;
    position: relative;
    display: inline-block;
}

.cd-footer-logo h2::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 2px;
    background: var(--cd-star-yellow);
    bottom: -8px;
    left: 0;
}

.cd-footer-nav, .cd-footer-legal {
    flex: 0 0 30%;
}

.cd-footer-nav h4, .cd-footer-legal h4 {
    color: var(--cd-star-yellow);
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
}

.cd-footer-nav h4::after, .cd-footer-legal h4::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 2px;
    background: var(--cd-star-yellow);
    bottom: -8px;
    left: 0;
}

.cd-footer-nav ul, .cd-footer-legal ul {
    list-style: none;
    padding: 0;
}

.cd-footer-nav li, .cd-footer-legal li {
    margin-bottom: 0.8rem;
}

.cd-footer-nav a, .cd-footer-legal a {
    color: var(--cd-light);
    transition: var(--cd-transition);
    display: inline-block;
    position: relative;
    padding-left: 15px;
}

.cd-footer-nav a::before, .cd-footer-legal a::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--cd-star-yellow);
    opacity: 0;
    transition: var(--cd-transition);
}

.cd-footer-nav a:hover, .cd-footer-legal a:hover {
    color: var(--cd-star-yellow);
    transform: translateX(5px);
    text-decoration: none;
}

.cd-footer-nav a:hover::before, .cd-footer-legal a:hover::before {
    opacity: 1;
}

.cd-disclaimer-wrapper {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.cd-disclaimer-text {
    max-width: 80%;
    margin: 0 auto 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

.disclaimer-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.disclaimer-icons a {
    opacity: 0.7;
    transition: var(--cd-transition);
}

.disclaimer-icons a:hover {
    opacity: 1;
}

.disclaimer-icons img {
    height: 40px;
    max-width: 100%;
}

.cd-footer-secondary {
    font-size: 0.875rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Cookie Disclaimer */
.cd-cookie-disclaimer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, var(--cd-space-blue), var(--cd-space-purple));
    color: var(--cd-light);
    z-index: 1000;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cd-cookie-disclaimer.visible {
    transform: translateY(0);
}

.cd-cookie-content {
    padding: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.cd-cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 300px;
}

.cd-cookie-accept {
    background: var(--cd-star-yellow);
    color: var(--cd-dark);
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--cd-transition);
}

.cd-cookie-accept:hover {
    background: #ffe066;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Age Verification Popup */
.cd-age-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.cd-age-popup.visible {
    opacity: 1;
    visibility: visible;
}

.cd-age-popup-content {
    background: linear-gradient(135deg, var(--cd-space-blue), var(--cd-space-purple));
    color: var(--cd-light);
    max-width: 500px;
    width: 90%;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s ease;
}

.cd-age-popup.visible .cd-age-popup-content {
    transform: scale(1);
}

.cd-age-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--cd-star-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cd-age-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.cd-age-popup h3 {
    margin-bottom: 1rem;
    font-size: 1.75rem;
    color: var(--cd-star-yellow);
}

.cd-age-popup p {
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cd-age-confirm {
    background: linear-gradient(135deg, var(--cd-accent), var(--cd-star-yellow));
    color: var(--cd-dark);
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--cd-transition);
    font-size: 1.1rem;
}

.cd-age-confirm:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive styles */
@media (max-width: 992px) {
    .cd-footer-primary {
        flex-direction: column;
        gap: 2rem;
    }

    .cd-footer-logo, .cd-footer-nav, .cd-footer-legal {
        flex: 0 0 100%;
    }

    .cd-disclaimer-text {
        max-width: 100%;
    }

    .cd-cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .disclaimer-icons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}