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

:root {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2a2a2a;
    --bg-tertiary: #3a3a3a;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #999999;
    --accent-gold: #d4af37;
    --accent-red: #8b0000;
    --accent-blue: #4169e1;
    --border-color: #444444;
    --gradient-primary: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    --gradient-gold: linear-gradient(135deg, #d4af37, #b8941f);
    --shadow-primary: 0 4px 20px rgba(0, 0, 0, 0.5);
    --shadow-secondary: 0 2px 10px rgba(0, 0, 0, 0.3);
    
    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section and Module Containers */
.section-container, .feature-section, .content-module {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    margin: 0 auto;
    max-width: 1200px;
}

/* Main Content Layout */
.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Ensure all sections except major updates maintain centering */
.section:not(#major-updates-section) .content-grid,
.section:not(.features-overview) .content-grid {
    text-align: center;
    justify-items: center;
}

@media (min-width: 1024px) {
    .content-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

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

.nav-logo h1 {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 0;
}

.nav-logo span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--accent-gold);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(139, 0, 0, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    color: var(--text-primary);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-date {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--gradient-primary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.date-label {
    color: var(--text-muted);
    font-weight: 500;
}

.date-value {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 1.1rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--bg-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--accent-gold);
}

.btn-secondary:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

/* Video Container Styling */
.video-container {
    position: relative;
    width: 100%;
    max-width: 1128px;
    margin: 2rem auto;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border: 2px solid var(--accent-gold);
}

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

/* Keep video placeholder styling for other placeholders */
.video-placeholder {
    background: var(--gradient-primary);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-placeholder:hover {
    border-color: var(--accent-gold);
    transform: scale(1.02);
}

.video-icon {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

/* Trailer Section Styling */
.trailer-section {
    text-align: center;
    padding: 3rem 1rem;
    background: rgba(20, 20, 20, 0.5);
    margin: 2rem 0;
}

.trailer-section h2 {
    color: var(--accent-gold);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.trailer-section p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.video-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(40, 40, 40, 0.8);
    border-radius: 8px;
    border: 1px solid var(--accent-gold);
    max-width: 600px;
    margin: 2rem auto 0 auto;
}

.video-info p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.video-info strong {
    color: var(--accent-gold);
}

/* Abyssal Video Container Styling */
.abyssal-video-container {
    position: relative;
    width: 100%;
    max-width: 1250px;
    margin: 2rem auto;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border: 2px solid var(--accent-red); /* Blood red border for Abyssal theme */
}

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

/* Video Caption Styling */
.video-caption {
    text-align: center;
    margin-top: 1rem;
    padding: 1rem;
    color: var(--text-secondary);
    font-style: italic;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Ad Container Styling */
.ad-container {
    text-align: center;
    margin: 3rem auto;
    padding: 1rem;
    max-width: 100%;
}

.ad-container ins {
    display: block;
    margin: 0 auto;
}

/* Privacy Notice Styling */
.privacy-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(40, 40, 40, 0.95);
    color: var(--text-secondary);
    padding: 1rem;
    text-align: center;
    border-top: 2px solid var(--accent-gold);
    z-index: 1000;
    display: none;
    backdrop-filter: blur(5px);
}

.privacy-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.privacy-btn {
    background: var(--accent-gold);
    color: var(--bg-primary);
    border: none;
    padding: 0.5rem 1rem;
    margin-left: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.privacy-btn:hover {
    background: #b8941f;
    transform: translateY(-1px);
}

.privacy-btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.privacy-btn-secondary:hover {
    background: var(--border-color);
    color: var(--text-primary);
}

/* Features Overview */
.features-overview {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.features-overview h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--accent-gold);
}

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

/* Major Updates Section - New Layout */
.major-updates-section {
    text-align: center;
}

.major-updates-section .container {
    text-align: center;
}

.major-updates-section .section-title {
    text-align: center;
    color: var(--accent-gold);
    margin-bottom: 3rem;
}

/* New Grid Layout Styles for Restructured Modules */

/* Featured Content Styling */
.featured-image-container,
.featured-content-container {
    text-align: center;
    margin: 2rem auto;
    max-width: 800px;
}

.major-update-highlight {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(40, 40, 40, 0.8));
    border: 2px solid var(--accent-gold);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem auto;
}

.major-update-highlight h3 {
    color: var(--accent-gold);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.major-update-highlight p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Grid Layout for Cards */
.endgame-cards-grid,
.updates-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem auto;
    max-width: 1000px;
}

/* Card Styling */
.endgame-card,
.update-card {
    background: rgba(40, 40, 40, 0.8);
    border: 1px solid var(--accent-gold);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.endgame-card:hover,
.update-card:hover {
    transform: translateY(-5px);
    border-color: #f4d03f;
    box-shadow: var(--shadow-secondary);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.endgame-card h3,
.update-card h3 {
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.endgame-card p,
.update-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

.feature-card {
    background: var(--gradient-primary);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-gold);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: translateX(0);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-primary);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Sections */
.section {
    padding: 6rem 0;
}

.section.alt-bg {
    background: var(--bg-secondary);
}

/* Text Centering */
.section-title, .module-title {
    text-align: center;
    margin: 0 auto 1.5rem auto;
    color: var(--accent-gold);
    font-weight: bold;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: var(--gradient-gold);
    margin: 1rem auto;
    border-radius: 2px;
}

.section-content, .module-description {
    text-align: center;
    margin: 0 auto;
    max-width: 800px;
    line-height: 1.6;
}

.feature-list {
    text-align: left;
    display: inline-block;
    margin: 1rem auto;
}

/* Section Divider */
.section-divider {
    text-align: center;
    margin: 3rem auto;
    border-bottom: 2px solid var(--accent-gold);
    width: 80%;
    max-width: 600px;
}

.centered-content {
    text-align: center;
    margin: 0 auto;
    padding: 1rem;
}

/* Update Cards */
.update-card {
    background: var(--gradient-primary);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.update-card h3 {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.update-card ul {
    padding-left: 1.5rem;
}

.update-card li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

/* Image Centering */
.responsive-image, .feature-image {
    display: block;
    margin: 1.5rem auto;
    text-align: center;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.responsive-image.loaded {
    opacity: 1;
}

.image-container {
    text-align: center;
    width: 100%;
    margin: 1rem 0;
}

.feature-image {
    border: 2px solid var(--accent-gold);
}

.feature-image:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

/* Image loading fallback styles */
.responsive-image[src*="jpg"],
.responsive-image[src*="png"],
.responsive-image[src*="webp"] {
    background: var(--bg-tertiary);
    min-height: 200px;
    background-image: 
        radial-gradient(circle, var(--accent-gold) 2px, transparent 2px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    animation: loading-pulse 2s infinite;
}

.responsive-image.loaded[src*="jpg"],
.responsive-image.loaded[src*="png"],
.responsive-image.loaded[src*="webp"] {
    background: none;
    min-height: auto;
    animation: none;
}

@keyframes loading-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Image Placeholders (fallback) */
.image-placeholder {
    background: var(--bg-tertiary);
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
    margin: 2rem 0;
    color: var(--text-muted);
    font-style: italic;
}

/* Tier List */
.tier-list {
    margin-bottom: 3rem;
}

.tier-container {
    background: var(--gradient-primary);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.tier {
    display: flex;
    align-items: stretch;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    min-height: 80px;
}

.tier-label {
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.tier-classes {
    flex: 1;
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    align-items: center;
    flex-wrap: wrap;
}

.s-tier .tier-label { background: #ff7f7f; }
.a-tier .tier-label { background: #ffbf7f; }
.b-tier .tier-label { background: #ffff7f; }
.c-tier .tier-label { background: #7fff7f; }
.d-tier .tier-label { background: #7f7fff; }

.class-card {
    flex: 1;
    min-width: 250px;
    background: var(--gradient-primary);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.class-card:hover {
    border-color: var(--accent-gold);
    transform: scale(1.02);
}

.class-card h4 {
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

/* Specific Module Fixes */

/* Act 4 Section */
.act4-section {
    text-align: center;
}

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

.act4-section img {
    margin: 2rem auto;
    display: block;
}

.act4-features {
    text-align: left;
    display: inline-block;
    margin: 1rem auto;
}

/* Support Gem Section */
.support-gem-section {
    text-align: center;
}

.support-gem-section .major-changes,
.support-gem-section .tier-info {
    text-align: left;
    display: inline-block;
    margin: 1rem auto;
    max-width: 600px;
}

/* Build Guides Section */
.build-guides-section {
    text-align: center;
}

.build-cards-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem auto;
}

.builds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    justify-items: center;
}

.build-card {
    background: var(--gradient-primary);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
    max-width: 350px;
    margin: 0 auto;
}

.build-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-primary);
}

.build-card h4 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.build-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    justify-content: center;
}

.tag {
    background: var(--accent-gold);
    color: var(--bg-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Trading Section */
.trading-section {
    text-align: center;
}

.trading-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem auto;
}

.trading-feature {
    text-align: center;
    max-width: 300px;
}

/* Changes and Features Grids */
.changes-grid,
.feature-grid,
.system-grid,
.balance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem auto;
    justify-items: center;
    text-align: center;
    max-width: 1200px;
}

.change-card,
.league-feature,
.crafting-system,
.balance-category,
.trading-feature,
.endgame-feature {
    background: var(--gradient-primary);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
    margin: 0 auto;
    max-width: 400px;
}

.change-card:hover,
.league-feature:hover,
.crafting-system:hover,
.balance-category:hover,
.trading-feature:hover,
.endgame-feature:hover {
    transform: translateY(-3px);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-secondary);
}

.change-card h3,
.league-feature h4,
.crafting-system h3,
.balance-category h3,
.trading-feature h3,
.endgame-feature h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

/* Feature Lists */
.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
}

.feature-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0;
}

/* Tier Cards */
.tier-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.tier-card {
    background: var(--gradient-primary);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.tier-card:hover {
    border-color: var(--accent-gold);
    transform: scale(1.05);
}

.tier-card h4 {
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: left 0.3s ease;
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .features-grid,
    .builds-grid,
    .changes-grid {
        grid-template-columns: 1fr;
    }
    
    .tier-classes {
        flex-direction: column;
        align-items: stretch;
    }
    
    .class-card {
        min-width: unset;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .section-container {
        padding: 1rem 0.5rem;
        text-align: center;
    }
    
    .responsive-image {
        margin: 1rem auto;
        max-width: 95%;
    }
    
    .feature-image:hover {
        transform: scale(1.01);
    }
    
    .feature-list {
        text-align: center;
        display: block;
        margin: 1rem auto;
    }
    
    .build-cards-container {
        flex-direction: column;
        align-items: center;
    }
    
    .trading-features {
        flex-direction: column;
        align-items: center;
    }
    
    .changes-grid,
    .feature-grid,
    .system-grid,
    .balance-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .update-card {
        text-align: center;
    }
    
    .update-card ul {
        text-align: left;
        display: inline-block;
    }
    
    /* Maintain responsive layout for restructured sections */
    .major-updates-section .updates-cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Responsive styles for new grid layouts */
    .endgame-cards-grid,
    .updates-cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1rem auto;
    }
    
    .featured-image-container,
    .featured-content-container {
        margin: 1rem auto;
        max-width: 100%;
    }
    
    .major-update-highlight {
        padding: 1.5rem;
        margin: 1rem auto;
    }
    
    .major-update-highlight h3 {
        font-size: 1.5rem;
    }
    
    .major-update-highlight p {
        font-size: 1rem;
    }
    
    .endgame-card,
    .update-card {
        padding: 1.25rem;
        margin: 0 auto;
    }
    
    /* Video responsive adjustments */
    .video-container {
        margin: 1rem auto;
        max-width: 95%;
        border-radius: 8px;
    }
    
    .video-container iframe {
        border-radius: 6px;
    }
    
    /* Abyssal video responsive adjustments */
    .abyssal-video-container {
        margin: 1.5rem auto;
        max-width: 95%;
        border-radius: 8px;
    }
    
    .abyssal-video-container iframe {
        border-radius: 6px;
    }
    
    /* Mobile ad adjustments */
    .ad-container {
        margin: 2rem auto;
        padding: 0.5rem;
    }
    
    /* Mobile privacy notice adjustments */
    .privacy-content {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .privacy-content p {
        min-width: unset;
        font-size: 0.9rem;
    }
    
    .privacy-btn {
        margin: 0.25rem;
        padding: 0.75rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 80vh;
    }
    
    .feature-card,
    .update-card,
    .build-card {
        padding: 1.5rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .tier {
        min-height: 120px;
    }
    
    .tier-label {
        width: 50px;
        font-size: 1.2rem;
    }
    
    /* Video adjustments for very small screens */
    .video-container {
        margin: 0.5rem auto;
        max-width: 98%;
    }
    
    /* Abyssal video adjustments for very small screens */
    .abyssal-video-container {
        margin: 1rem auto;
        max-width: 98%;
        border-radius: 6px;
    }
}

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

.feature-card,
.update-card,
.build-card,
.change-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Styles */
::selection {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b8941f;
}