/* Main stylesheet */
@import url("../fonts/albertusfont.css");


/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #d4af37; /* Gold color from logo */
    --secondary-color: #8b4513; /* Dark brown/copper accent */
    --accent-color: #ff7518; /* Bright orange accent from logo */
    --text-color: #e0e0e0;
    --dark-bg: #1a1a1a; /* Slightly lighter dark background */
    --darker-bg: #0a0a0a;
    --nav-width-collapsed: 70px; /* Width when sidebar is collapsed */
    --nav-width-expanded: 280px; /* Width when sidebar is expanded */
    --section-transition: 0.5s;
    --metallic-gray: #a9a9a9; /* Metallic silver from armor in logo */
    --metallic-highlight: #c0c0c0; /* Lighter metallic highlight */
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Albertus' !important;
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .nav-item span, .btn {
    font-family: 'Albertus Extra', 'Albertus', serif;
    font-weight: bold;
}

.container {
    display: flex;
    min-height: 100vh;
}

/* Left Side Navigation - Updated Sidebar */
.sidebar {
    width: var(--nav-width-collapsed); /* Start with collapsed width */
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0.5rem; /* Reduced padding for collapsed state */
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden; /* Hide horizontal overflow */
    transition: all 0.3s ease; /* Smooth transition for width change */
    z-index: 1000;
    left: 0;
    top: 0;
}

.sidebar-logo {
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-logo img {
    max-width: 50px; /* Smaller logo when collapsed */
    height: auto;
    transition: max-width 0.3s ease;
}

.sidebar:hover {
    width: var(--nav-width-expanded); /* Expand on hover */
    padding: 1.5rem; /* Restore full padding on hover */
}

.sidebar:hover .sidebar-logo img {
    max-width: 180px; /* Full size logo when expanded */
}

.sidebar-logo p {
    display: none; /* Hide text when collapsed */
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    transition: opacity 0.3s ease;
}

.sidebar:hover .sidebar-logo p {
    display: block; /* Show text when expanded */
}

.server-selector {
    margin: 1rem 0;
    width: 100%;
    position: relative;
}

.server-select {
    width: 100%;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 4px;
    font-family: 'Albertus', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.server-select:hover {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.server-select:focus {
    outline: none;
}

.server-select option {
    background: #1a1a1a;
    color: #fff;
    padding: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.server-select option:checked {
    background: rgba(26, 26, 26, 0.747);
}

.auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 5px;
}

.auth-buttons .sidebar-link {
    padding: 0.6rem;
    justify-content: center;
    font-size: 0.9rem;
}

.auth-buttons .sidebar-link i {
    margin: 0;
    font-size: 1.2rem;
}

.auth-buttons .sidebar-link:not(:only-child) {
    text-align: center;
}

/* Hide text in auth buttons when collapsed */
.auth-buttons .sidebar-link span {
    display: none;
}

.sidebar:hover .auth-buttons {
    flex-direction: row;
    justify-content: center;
}

.sidebar:hover .auth-buttons .sidebar-link span {
    display: inline;
    margin-left: 0.5rem;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 1rem;
}

.sidebar-link {
    padding: 0.8rem 0.5rem; /* Reduced horizontal padding when collapsed */
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    justify-content: center; /* Center icons when collapsed */
    white-space: nowrap; /* Prevent text wrapping */
}

.sidebar:hover .sidebar-link {
    padding: 0.8rem 1rem; /* Restore full padding when expanded */
    justify-content: flex-start; /* Left align when expanded */
}

.sidebar-link span {
    display: none; /* Hide text when collapsed */
    transition: opacity 0.3s ease;
}

.sidebar:hover .sidebar-link span {
    display: inline; /* Show text when expanded */
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.sidebar-link.active {
    background: rgba(255, 255, 255, 0.15);
    color: #f7aa35;
    font-weight: 600;
    border-left: 3px solid #fff;
}

.sidebar-link i {
    font-size: 1.2rem;
}

.sidebar-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
}

/* Add server status section */
.server-status {
    padding: 0.5rem 0;
    color: #fff;
    margin-top: auto;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin: -1.5rem 0;
    text-align: center; /* Center when collapsed */
    transition: all 0.7s ease-out; /* Match sidebar transition */
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.sidebar:hover .server-status {
    padding: 1rem;
    text-align: left; /* Left align when expanded */
    align-items: flex-start;
}

.status-indicator {
    display: flex;
    flex-direction: column; /* Stack vertically when collapsed */
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 1.5rem;
    width: 100%;
}

.sidebar:hover .status-indicator {
    flex-direction: row; /* Horizontal when expanded */
    justify-content: flex-start;
    gap: 0.5rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff4444;
    display: block; /* Always show the status dot */
}

.status-indicator.online .status-dot {
    background: #00C853;
}

.status-indicator.offline .status-dot {
    background: #ff4444;
}

.status-indicator.checking .status-dot {
    background: #FFA726;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.status-indicator span {
    display: none; /* Hide text when collapsed */
}

.sidebar:hover .status-indicator span {
    display: inline; /* Show text when expanded */
}


.online-count {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column; /* Stack vertically when collapsed */
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    width: 100%;
}

.sidebar:hover .online-count {
    flex-direction: row; /* Horizontal when expanded */
    justify-content: flex-start;
    gap: 0.5rem;
}

/* Show player count below the icon when collapsed */
.online-count i {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.online-count::after {
    content: attr(data-count);
    font-size: 0.8rem;
    background: #f7aa35;
    color: #000;
    border-radius: 10px;
    padding: 0px 5px;
    font-weight: bold;
    line-height: 1.4;
    display: block;
}

.sidebar:hover .online-count::after {
    display: none; /* Hide the count badge when expanded */
}

.online-count span {
    display: none; /* Hide text when collapsed */
}

.sidebar:hover .online-count span {
    display: inline; /* Show text when expanded */
}

/* Social media section */
.social-media {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 0;
    margin-top: 1.5rem;
    border-radius: 8px;
    width: 100%;
    transition: all 0.2s ease-out;
}

.sidebar:hover .social-media {
   
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 12px;
}

.social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    text-decoration: none;
    margin: 0.5rem 0;
    transition: all 0.2s ease-out;
    width: 100%;
}

.sidebar:hover .social-icon {
    width: calc(25% - 9px);
    margin: 0;
}

.icon-container {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease-out;

}

.social-icon.discord .icon-container {
    color: rgba(255, 255, 255, 0.7);
}

.social-icon.facebook .icon-container {
    color: rgba(255, 255, 255, 0.7);
}

.social-icon.youtube .icon-container {
    color: rgba(255, 255, 255, 0.7);
}

.social-icon.instagram .icon-container {
    color: rgba(255, 255, 255, 0.7);
}

.social-icon.tiktok .icon-container {
    color: rgba(255, 255, 255, 0.7);
}

.social-icon:hover .icon-container {
    transform: scale(1.1);
}

.sidebar:hover .social-icon:hover .icon-container {
    background: rgba(224, 224, 223, 0.2);
}

.social-icon i {
    font-size: 1.2rem;
}

.social-icon span {
    display: none;
    font-size: 1rem;
    font-weight: 500;
}

.sidebar:hover .social-icon span {
    display: inline;
}

/* Fix scrollbar issue */
.sidebar {
    overflow-y: auto;
    overflow-x: hidden;
    height: 100vh;
    max-height: 100vh;
}

.sidebar-bottom {
    margin-top: auto;
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Scrollbar styling */
/* Global scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, rgba(212, 175, 55, 0.4), rgba(255, 117, 24, 0.4));
    border-radius: 4px;
    box-shadow: 0 0 6px rgba(255, 165, 0, 0.3);
    border: 1px solid rgba(255, 165, 0, 0.1);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, rgba(212, 175, 55, 0.6), rgba(255, 117, 24, 0.6));
    box-shadow: 0 0 8px rgba(255, 165, 0, 0.5);
}

/* Sidebar specific scrollbar (keeping it more subtle) */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.sidebar::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, rgba(212, 175, 55, 0.3), rgba(255, 117, 24, 0.3));
    border-radius: 3px;
    box-shadow: 0 0 4px rgba(255, 165, 0, 0.2);
}

/* Mobile sidebar toggle */
.sidebar-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    padding: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
}

/* Update content margin to match new sidebar width */
.content {
    flex: 1;
    margin-left: var(--nav-width-collapsed); /* Start with margin for collapsed sidebar */
    position: relative;
    overflow: hidden;
    transition: margin-left 0.3s ease; /* Smooth transition for margin change */
}

.sidebar:hover ~ .content {
    margin-left: var(--nav-width-expanded); /* Adjust margin when sidebar expands */
}

.side-nav:hover {
    width: var(--nav-width-expanded); /* Expand on hover */
}

.logo {
    padding: 20px;
    text-align: center;
}

.logo img {
    max-width: 100%;
    height: auto;
    transition: max-width 0.3s ease;
}

.side-nav:hover .logo img {
    max-width: 100%; /* Keep the same size when expanded */
}

.nav-menu {
    list-style: none;
    margin-top: 30px;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 15px;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    position: relative; /* For the arrow indicator */
}

.nav-item i {
    font-size: 20px;
    margin-right: 15px;
    width: 24px;
    text-align: center;
    min-width: 24px; /* Ensure icon has minimum width */
}

.nav-item span {
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap; /* Prevent text wrapping */
    opacity: 0; /* Hide text by default */
    transition: opacity 0.2s ease;
}

.side-nav:hover .nav-item span {
    opacity: 1; /* Show text when nav is expanded */
}

.nav-item:hover {
        background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-left: 4px solid rgba(250, 250, 250, 0.637);
}

.nav-item.active {
    background-color: rgba(165, 113, 35, 0.3); /* Gold color with more opacity */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-left: 4px solid rgb(250, 250, 250, 0.7);
}

/* Arrow indicator for active section */
.nav-item.active::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid var(--dark-bg);
    opacity: 0; /* Hidden by default */
    transition: opacity 0.3s ease;
}

.side-nav:hover .nav-item.active::after {
    opacity: 1; /* Show arrow when nav is expanded */
}

/* Main Content Area */
.content {
    flex: 1;
    margin-left: var(--nav-width-collapsed); /* Start with margin for collapsed nav */
    position: relative;
    overflow: hidden;
    transition: margin-left 0.3s ease; /* Smooth transition for content margin */
}

.side-nav:hover ~ .content {
    margin-left: var(--nav-width-expanded); /* Adjust content margin when nav expands */
}

/* Sections */
.section {
    min-height: 100vh;
    padding: 40px;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--section-transition), visibility var(--section-transition);
    overflow-y: auto;
    max-height: 100vh;
}

.section.active {
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

/* Home Section Styles */
#home {
    padding: 0;
    background-image: url('../images/bg-texture.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
}

.hero-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    overflow-y: auto;
}

#home h1 {
    font-size: 2.8rem; /* Reduced from 4rem for less overwhelming presence */
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Subtle shadow for depth */
    font-weight: 500; /* Slightly lighter weight for elegance */
    letter-spacing: 2px; /* Added letter spacing for sophistication */
    text-transform: uppercase; /* Uppercase for impact with smaller size */
    color: #f7aa35;
    position: relative;
    display: inline-block;
    padding-bottom: 10px; /* Space for the underline effect */
}

#home h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 580px; /* Width of underline */
    height: 2px;
    background: linear-gradient(90deg, transparent, #f7aa35, transparent);
}

#home h2 {
    font-family: 'Albertus Normal';
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 1;
    font-weight: normal;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Countdown Timer */
.countdown-container {
    margin: 30px 0;
}

.countdown-container h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Glass Effect Mixin */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}


/* Countdown Timer with Glass Effect */
.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    padding: 15px;
    min-width: 130px;
}

.time-block span:first-child {
    font-size: 2.5rem;
    font-weight: bold;
    color: #f7aa35;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.time-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-top: 5px;
}

/* CTA Buttons */
.cta-buttons {
    margin: 30px 0;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin: 0 10px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: rgba(247, 170, 53, 0.293); /* Gold with transparency */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(247, 170, 53, 0.5);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    background: rgba(247, 170, 53, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    
}

/* Add shine effect to buttons */
.btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to bottom right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.btn:hover::after {
    opacity: 1;
    transform: rotate(45deg) translate(10%, 10%);
}

/* Starter Pack Rewards */
.starter-pack {
    margin-top: 40px;
    width: 100%;
    max-width: 900px;
}

.starter-pack h3 {
    font-family: 'Albertus';
    font-size: 1.8rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
    color: #f7aa35;
    text-transform: uppercase;
    font-weight: normal;
}

.rewards-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.reward-item {
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border: 1px solid rgba(44, 38, 38, 0.938);
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 16px rgba(12, 12, 12, 0.2);
}

.reward-item:hover {
    transform: translateY(-5px);
    background: rgba(31, 30, 30, 0.514);
}

.reward-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    overflow: hidden; /* Added to clip the image */
}

.reward-icon img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 50%; /* Added to make image circular */
    object-fit: cover; /* Added to ensure proper image scaling */
    width: 100%; /* Added to ensure the image fills the container */
    height: 100%; /* Added to ensure the image fills the container */
}

.reward-info h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: rgba(247, 170, 53);
}

.reward-info p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Features Section */
#features {
    background-image: url('../images/bg-features.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    min-height: 100vh;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 80px 0;
}

#features h1 {
    font-size: 2.8rem; /* Reduced from 4rem for less overwhelming presence */
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Subtle shadow for depth */
    font-weight: 500; /* Slightly lighter weight for elegance */
    letter-spacing: 2px; /* Added letter spacing for sophistication */
    text-transform: uppercase; /* Uppercase for impact with smaller size */
    color: #f7aa35;
    position: relative;
    display: inline-block;
    padding-bottom: 10px; /* Space for the underline effect */
}

#features h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 580px; /* Width of underline */
    height: 2px;
    background: linear-gradient(90deg, transparent, #f7aa35, transparent);
}


#features h2 {
    font-family: 'Albertus Normal';
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 1;
    font-weight: normal;
    letter-spacing: 1px;
    text-transform: uppercase;
}


/* Features Container */
.features-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 0 auto;
    max-width: 1100px;
}

/* Character Selection */
.character-selection {
    display: flex;
    flex-direction: column;
    width: 500px;
    height: 490px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(224, 192, 128, 0.3);
}

/* Features Showcase */
.features-showcase-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 35px auto;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.features-showcase-wrapper {
    flex: 1;
    overflow: hidden;
    margin: 0 auto;
    box-sizing: border-box;
}

.features-showcase-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.features-showcase-item {
    flex: 0 0 calc(33.333% - 14px);
    position: relative;
    height: 200px;
    border: 1px solid rgba(224, 192, 128, 0.3);
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.features-showcase-item:hover {
    border-color: rgba(224, 192, 128, 0.8);
}

.features-showcase-item:hover .features-showcase-image {
    transform: scale(1.1);
}

.features-showcase-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 386px;
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.features-showcase-content {
    position: relative;
    z-index: 1;
    height: 100%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
   
}

.features-text-container {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 12px;
    padding: 8px;
    width: 100%;
    backdrop-filter: blur(1px);
}

.features-showcase-item h4 {
    color: #e0c080;
    margin: 0;
    font-size: 1.1em !important;
    font-weight: 400;
    font-family: 'Albertus' !important;
    letter-spacing: 0.7px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.features-showcase-item p {
    color: #a89060;
    font-size: 0.9em;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.features-showcase-prev,
.features-showcase-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(224, 192, 128, 0.3);
    color: #e0c080;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.features-showcase-prev:hover:not(:disabled),
.features-showcase-next:hover:not(:disabled) {
    background: rgba(224, 192, 128, 0.2);
    border-color: rgba(224, 192, 128, 0.8);
}

.features-showcase-prev:disabled,
.features-showcase-next:disabled {
    opacity: 0.5;
    cursor: default;
}

.features-showcase-prev {
    left: 10px;
}

.features-showcase-next {
    right: 10px;
}

/* Inventory UI */
.inventory-ui {
    width: 500px;
    height: 490px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(224, 192, 128, 0.3);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.inventory-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 15px;
    background: linear-gradient(to bottom, #3c3223, #1a1610);
    border-bottom: 1px solid rgba(224, 192, 128, 0.3);
}

.inventory-header h3 {
    color: #e0c080;
    font-size: 16px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.inventory-close {
    color: #e0c080;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.inventory-close:hover {
    color: #fff;
}

.inventory-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-auto-rows: 1fr;
    gap: 4px;
    padding: 10px;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.inventory-grid.grid-fixed-10 {
    grid-template-columns: repeat(5, 1fr);
    grid-auto-rows: 1fr; /* keeps rows balanced */
}

/* Placeholder styling: visible cell, subtly dimmed */
.inventory-slot.inventory-placeholder {
    opacity: 0.35;
    background: rgba(255, 255, 255, 0.03);
}
.inventory-slot.inventory-placeholder .item-tooltip {
    display: none; /* keep hover clean, show just empty slot */
}

.inventory-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
    justify-content: center;
}

.btn-filter {
    cursor: pointer;
    padding: 6px 10px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(0,0,0,0.4);
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-filter:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.35);
}
.btn-filter.active {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.5);
}
.inventory-slot.hidden {
    display: none;
}

/* Category subheading inside grid */
.inventory-category-title {
    grid-column: 1 / -1; /* span full width of the grid */
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    color: #fff;
    margin: 6px 0 8px;
    padding-top: 6px;
    border-top: 1px solid rgba(255,255,255,0.15);
    opacity: 0.9;
}

.inventory-slot {
    width: 100%;
    aspect-ratio: 1;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(224, 192, 128, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

.inventory-slot:hover {
    border-color: rgba(224, 192, 128, 0.8);
    box-shadow: 0 0 10px rgba(224, 192, 128, 0.3);
}

.inventory-slot img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    filter: drop-shadow(0 0 3px rgba(224, 192, 128, 0.5));
}

.item-tooltip {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    min-height: 180px;
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid rgba(224, 192, 128, 0.5);
    padding: 15px;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    margin-top: 10px;
}

/* Default tooltip positioning - centered */
.inventory-slot .item-tooltip {
    left: 50%;
    transform: translateX(-50%);
}

/* JavaScript-applied classes for edge positioning */
.inventory-grid .inventory-slot.tooltip-left .item-tooltip {
    left: 0 !important;
    right: auto !important;
    transform: none !important;
}

.inventory-grid .inventory-slot.tooltip-right .item-tooltip {
    right: 0 !important;
    left: auto !important;
    transform: none !important;
}


.inventory-slot:hover .item-tooltip {
    opacity: 1;
}

.inventory-slot:hover .item-tooltip {
    opacity: 1;
}

.item-tooltip h4 {
    color: #e0c080;
    margin: 0 0 5px;
    font-size: 14px;
    text-align: center;
}

.item-rarity {
    text-align: center;
    font-size: 12px;
    margin-bottom: 8px;
    font-style: italic;
}

.item-rarity.common {
    color: #b0b0b0;
}

.item-rarity.rare {
    color: #4080ff;
}

.item-rarity.epic {
    color: #a040ff;
}

.item-rarity.legendary {
    color: #ffa500;
}

.item-tooltip p {
    color: #ffffff;
    font-size: 12px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.item-stats {
    border-top: 1px solid rgba(224, 192, 128, 0.3);
    padding-top: 8px;
}

.item-stats .stat {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #e0c080;
    margin-bottom: 3px;
}

.item-stats .stat span {
    color: #ffffff;
}

.inventory-footer {
    padding: 8px 15px;
    background: linear-gradient(to bottom, #1a1610, #3c3223);
    border-top: 1px solid rgba(224, 192, 128, 0.3);
}

.inventory-stats {
    display: flex;
    justify-content: space-between;
}

.stat-item {
    color: #ffffff;
    font-size: 12px;
}

.stat-item span {
    color: #e0c080;
    margin-right: 5px;
}

.character-list {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.6);
    border-bottom: 1px solid rgba(224, 192, 128, 0.3);
}

.character {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px;
    border-radius: 8px;
    position: relative;
}

.character.active {
    background: rgba(224, 192, 128, 0.2);
}

.character.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: #e0c080;
}

.character-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(224, 192, 128, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.character:hover .character-icon {
    transform: translateY(-3px);
    border-color: #e0c080;
    box-shadow: 0 3px 10px rgba(224, 192, 128, 0.4);
}

.character-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(224, 192, 128, 0.5));
}

.character-name {
    margin-top: 5px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.character:hover .character-name,
.character.active .character-name {
    color: #e0c080;
}

.character-preview {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.character-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateX(50px);
    pointer-events: none;
}

.character-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
    z-index: 5;
}

.character-image {
    flex: 1;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 250px;
    min-height: 250px;
}

.character-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.character-card:hover .character-image img {
    transform: scale(1.05);
}

.character-info {
    padding: 12px;
    background: rgba(0, 0, 0, 0.7);
    border-top: 1px solid rgba(224, 192, 128, 0.3);
    text-align: center;
}

.character-title {
    font-size: 20px;
    color: #e0c080;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.character-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.4;
    max-height: 55px;
    overflow-y: auto;
}

.character-select-btn {
    display: inline-block;
    padding: 6px 18px;
    background: linear-gradient(135deg, #e0c080 0%, #a67c00 100%);
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.character-select-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(224, 192, 128, 0.4);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: rgba(20, 15, 10, 0.95);
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 1000px;
    border: 1px solid rgba(224, 192, 128, 0.5);
    box-shadow: 0 0 20px rgba(224, 192, 128, 0.3);
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from {opacity: 0; transform: translateY(-30px);}
    to {opacity: 1; transform: translateY(0);}
}

.modal-header {
    padding: 15px;
    background: linear-gradient(to bottom, #3c3223, #1a1610);
    border-bottom: 1px solid rgba(224, 192, 128, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    color: #e0c080;
    margin: 0;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.close-modal {
    color: #e0c080;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover {
    color: #fff;
}

.modal-body {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-footer {
    padding: 15px;
    background: linear-gradient(to top, #3c3223, #1a1610);
    border-top: 1px solid rgba(224, 192, 128, 0.3);
    text-align: right;
}

.modal-footer button {
    background: linear-gradient(to bottom, #e0c080, #a67c52);
    color: #000;
    border: none;
    padding: 8px 16px;
    margin-left: 10px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.modal-footer button:hover {
    background: linear-gradient(to bottom, #f0d090, #b68c62);
    box-shadow: 0 0 10px rgba(224, 192, 128, 0.5);
}

/* Class Tree Styles */
.class-tree {
    width: 100%;
}

.class-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 3px;
    color: #e0c080;
}

.class-table th {
    background: rgba(60, 50, 35, 0.7);
    padding: 6px;
    text-align: center;
    border: 1px solid rgba(224, 192, 128, 0.3);
    font-size: 14px;
    text-transform: uppercase;
}

.class-table td {
    background: rgba(30, 25, 20, 0.7);
    padding: 5px;
    text-align: center;
    border: 1px solid rgba(224, 192, 128, 0.3);
    vertical-align: middle;
}

.class-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
 
    transition: all 0.3s ease;
}

.class-item:hover {
    background: rgba(224, 192, 128, 0.2);
}

.class-item.selected {
    background: rgba(224, 192, 128, 0.3);
    background-attachment: fixed;
    text-align: center;

}

#download {
    background-image: url('../images/bg-download.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    padding: 40px 20px;
}

#download h1 {
    font-size: 2.8rem; /* Reduced from 4rem for less overwhelming presence */
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Subtle shadow for depth */
    font-weight: 500; /* Slightly lighter weight for elegance */
    letter-spacing: 2px; /* Added letter spacing for sophistication */
    text-transform: uppercase; /* Uppercase for impact with smaller size */
    color: #f7aa35;
    position: relative;
    display: inline-block;
    padding-bottom: 10px; /* Space for the underline effect */
}

#download h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 580px; /* Width of underline */
    height: 2px;
    background: linear-gradient(90deg, transparent, #f7aa35, transparent);
}

#download h2 {
    font-family: 'Albertus Normal';
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 1;
    font-weight: normal;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Download UI - Inventory Style */
.download-ui {
    width: 350px;
    height: auto;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(224, 192, 128, 0.3);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: 20px;
    transition: all 0.3s ease;
}

.download-ui:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(224, 192, 128, 0.2);
}

.download-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 15px;
    background: linear-gradient(to bottom, #3c3223, #1a1610);
    border-bottom: 1px solid rgba(224, 192, 128, 0.3);
}

.download-header h3 {
    color: #e0c080;
    font-size: 16px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.download-close {
    color: #e0c080;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.download-close:hover {
    color: #fff;
}

.download-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.download-ui-icon {
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(224, 192, 128, 0.1);
    border: 1px solid rgba(224, 192, 128, 0.3);
    border-radius: 8px;
}

.download-ui-icon img {
    max-width: 140px;
    max-height: 140px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(224, 192, 128, 0.5));
}

.download-description {
    color: #ffffff;
    font-size: 14px;
    text-align: center;
    line-height: 1.4;
    margin: 0;
}

.download-footer {
    padding: 8px 15px;
    background: linear-gradient(to bottom, #1a1610, #3c3223);
    border-top: 1px solid rgba(224, 192, 128, 0.3);
}

.download-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.download-stat-item {
    color: #ffffff;
    font-size: 12px;
}

.download-stat-item span {
    color: #e0c080;
    margin-right: 5px;
}

.download-btn {
    background: linear-gradient(to bottom, #e0c080, #b8965f);
    color: #1a1610;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.download-btn:hover {
    background: linear-gradient(to bottom, #f0d090, #c8a66f);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(224, 192, 128, 0.3);
}

.download-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    text-align: center;
    color: #e0e0e0;
    margin-left: auto;
    margin-right: auto;
}

.download-options {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}


.download-card {
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 4px 16px rgba(12, 12, 12, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-card:hover {
    transform: translateY(-5px);
    background: rgba(7, 7, 7, 0.314);
    transition: transform 0.5s ease;
}

.download-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-icon img {
    width: 120px;
    height: 120px;
}

.download-icon i {
    font-size: 2.5rem;
    color: white;
}

.download-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #f7aa35;
}

.download-card p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.file-size {
    display: block;
    font-weight: bold;
    margin-bottom: 20px;
    color: rgb(247, 247, 247);
}

.download-support {
    width: 100%;
    max-width: 980px;
    margin: 0 auto 20px;
}

.support-content {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.support-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.support-icon i {
    font-size: 2rem;
    color: #e0e0e0;
}

.support-text {
    text-align: left;
}
.support-text h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #e0e0e0;
}

.support-text p {
    margin-bottom: 20px;
    font-size: 1rem;
    color: #a9a9a9;
}


/* Media queries for download section */
@media (max-width: 768px) {
    .support-content {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .support-text {
        text-align: center;
    }
}

@media (max-width: 480px) {
    #download h2 {
        font-size: 1.8rem;
    }
    
    .download-subtitle {
        font-size: 1rem;
    }
    
    .download-card {
        padding: 20px;
    }
}



/* Community Section */
#community {
    background-image: url('../images/bg-community.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    min-height: 100vh;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 80px 0;
}


#community h1 {
    font-size: 2.8rem; /* Reduced from 4rem for less overwhelming presence */
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Subtle shadow for depth */
    font-weight: 500; /* Slightly lighter weight for elegance */
    letter-spacing: 2px; /* Added letter spacing for sophistication */
    text-transform: uppercase; /* Uppercase for impact with smaller size */
    color: #f7aa35;
    position: relative;
    display: inline-block;
    padding-bottom: 10px; /* Space for the underline effect */
}

#community h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 580px; /* Width of underline */
    height: 2px;
    background: linear-gradient(90deg, transparent, #f7aa35, transparent);
}


#community h2 {
    font-family: 'Albertus Normal';
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 1;
    font-weight: normal;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.community-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(3px);
}

.community-container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.community-header {
    text-align: center;
    margin-bottom: 30px;
}

.community-header .section-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
    background: linear-gradient(90deg, #fff, #a3a3ff, #fff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    }
    100% {
        text-shadow: 0 0 25px rgba(163, 163, 255, 0.7);
    }
}

.community-header .section-subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.community-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    flex: 1;
    height: 70vh;
    max-height: 700px;
}

.showcase-module {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Override showcase-module effects for gallery */
.showcase-module.gallery-module {
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    transition: none;
    border: none;
}

.showcase-module:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Disable hover effects for gallery */
.showcase-module.gallery-module:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

.module-content {
    height: 100%;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Video Module */
.video-module {
    background: linear-gradient(135deg, rgba(63, 62, 54, 0.2), rgba(139, 105, 32, 0.2));
    border: 1px solid rgba(247, 170, 53, 0.3);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(247, 170, 53, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 15px;
}

.video-frame {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.video-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.video-badge i {
    color: #ff0000;
}

/* Discord Module */
.discord-module {
    background: linear-gradient(135deg, rgba(63, 62, 54, 0.4), rgba(139, 105, 32, 0.4));
    border: 1px solid rgba(247, 170, 53, 0.3);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(247, 170, 53, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 15px;
}

.discord-module .module-content {
    padding: 15px 25px 25px;
}

.discord-branding {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    margin-top: -5px;
}

.discord-branding i {
    font-size: 2.2rem;
    color: #f7aa35;
    margin-right: 12px;
}

.discord-branding h3 {
    font-size: 1.6rem;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.5px;
 
}

.discord-description {
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.9;
    line-height: 1.4;
    text-align: center;
}

.discord-metrics {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
}

.metric-block {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 12px 8px;
    text-align: center;
    flex: 1;
    margin: 0 5px;
    border: 1px solid rgba(247, 170, 53, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
}

.metric-block:hover {
    transform: translateY(-3px);
    border-color: rgba(247, 170, 53, 0.7);
    box-shadow: 0 0 15px rgba(247, 170, 53, 0.4);
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f7aa35;
    margin-bottom: 5px;

}

.metric-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

.discord-join {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(247, 170, 53, 0.293);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(247, 170, 53, 0.5);
    color: white;
    padding: 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    margin-top: auto;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.discord-join:hover {
    background: rgba(247, 170, 53, 0.5);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    transform: translateY(-2px);
}

.discord-join i {
    margin-right: 8px;
    font-size: 1.2rem;
}

/* Gallery Module */
.gallery-module {
    position: relative;
    overflow: hidden;

}

.gallery-module .module-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.gallery-title {
    margin: 0 0 12px 0;
    font-size: 1.3rem;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.gallery-viewer {
    position: relative;
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.gallery-slides {
    height: 80%;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(247, 170, 53, 0.3);
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.gallery-slide.active {
    opacity: 1;
    z-index: 2;
    animation: subtle-glow 3s infinite alternate;
}

@keyframes subtle-glow {
    from {
        box-shadow: 0 0 10px rgba(247, 170, 53, 0.2);
    }
    to {
        box-shadow: 0 0 20px rgba(247, 170, 53, 0.5);
    }
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.slide-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px 15px 15px;
    text-align: center;
    font-weight: 500;
}

.gallery-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    margin-top: auto;
}

.gallery-prev,
.gallery-next {
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(224, 192, 128, 0.3);
    color: #e0c080;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 5px;
}


.gallery-prev:hover,
.gallery-next:hover {
    background: rgba(224, 192, 128, 0.2);
    border-color: rgba(224, 192, 128, 0.8);
}

.gallery-indicators {
    display: flex;
    margin: 0 10px;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(224, 192, 128, 0.4);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: rgba(224, 192, 128, 0.8);
    transform: scale(1.3);
}

/* Connect Module */
.connect-module {
    background: linear-gradient(135deg, rgba(30, 30, 40, 0.9), rgba(20, 20, 30, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.connect-module .module-content {
    padding: 20px;
}

.connect-title {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.connect-platforms {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
    flex: 1;
}

.platform-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    padding: 15px 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border: 2px solid rgba(247, 170, 53, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.platform-link:hover {
    transform: translateY(-2px);
    border-color: rgba(247, 170, 53, 0.5);
}

.platform-link i {
    font-size: 1.8rem;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.platform-link span {
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.platform-link:hover i {
    transform: scale(1.05);
}

.platform-youtube i {
    color: rgba(255, 0, 0, 0.9);
}

.platform-facebook i {
    color: rgba(24, 119, 242, 0.9);
}

.platform-instagram i {
    color: rgba(225, 48, 108, 0.9);
}

.platform-tiktok i {
    color: rgba(238, 238, 238, 0.9);
}



.action-panel {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.action-panel h4 {
    margin: 0 0 12px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.action-button {
    padding: 10px 15px;

    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.register-button {
    background: rgba(247, 170, 53, 0.293); /* Gold with transparency */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(247, 170, 53, 0.5);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.register-button:hover {
    background: rgba(247, 170, 53, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.download-button {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.download-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .community-showcase {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, auto);
        height: auto;
    }
    
    .showcase-module {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .community-header .section-title {
        font-size: 2.2rem;
    }
    
    
    .connect-platforms {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .connect-platforms {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }
}

/* Register Section */
#register {
    background-color: var(--dark-bg);
    text-align: center;
}

#register h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.register-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.register-form {
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    padding: 30px;
    width: 100%;
    max-width: 500px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(0, 0, 0, 0.3);
    color: var(--text-color);
    font-size: 16px;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(138, 43, 226, 0.3);
}

.form-group.checkbox {
    display: flex;
    align-items: center;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 10px;
}

.form-group.checkbox label {
    margin-bottom: 0;
}

.register-info {
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    padding: 30px;
    width: 100%;
    max-width: 400px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.register-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.register-info ul {
    list-style: none;
}

.register-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.register-info li i {
    color: var(--accent-color);
    margin-right: 10px;
}

/* Donate Section */
#donate {
    background-image: url('../images/bg-donate.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    padding: 40px 20px;
}

#donate h1 {
    font-size: 2.8rem; /* Reduced from 4rem for less overwhelming presence */
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Subtle shadow for depth */
    font-weight: 500; /* Slightly lighter weight for elegance */
    letter-spacing: 2px; /* Added letter spacing for sophistication */
    text-transform: uppercase; /* Uppercase for impact with smaller size */
    color: #f7aa35;
    position: relative;
    display: inline-block;
    padding-bottom: 10px; /* Space for the underline effect */
}

#donate h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 580px; /* Width of underline */
    height: 2px;
    background: linear-gradient(90deg, transparent, #f7aa35, transparent);
}


#donate h2 {
    font-family: 'Albertus Normal';
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 1;
    font-weight: normal;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.price-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  padding: 4px 7px;
  color: #ffffff;
  font-weight: bold;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  z-index: 10;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  transform: rotate(0deg);
  transition: all 0.3s ease;
}

.card_box:hover .price-tag {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 5px 10px rgba(0,0,0,0.4);
}

.card-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

/* Payment methods container */
.payment-methods-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    max-width: 300px;
    width: 100%;
}

.payment-methods-title {
    color: #f7aa35;
    text-align: center;
    font-size: 24px;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(255, 196, 0, 0.5);
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.payment-method {
    background: linear-gradient(170deg, rgba(27, 27, 27, 0.5) 0%, rgba(31, 27, 22, 0.1) 50%, rgba(56, 56, 55, 0.6) 100%);
    border: 1px solid rgba(99, 99, 99, 0.3);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}



.payment-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(78, 78, 78, 0.2);
    border-color: rgba(99, 99, 99, 0.6);
}

.payment-method:hover::before {
    left: 100%;
    transition: 0.7s ease-in-out;
}

.payment-method i {
    font-size: 25px;
    object-fit: contain;
    margin-bottom: 10px;
}

.payment-method-name {
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

.payment-method-info {
    color: #aaaaaa;
    font-size: 12px;
    text-align: center;
    margin-top: 5px;
}

.card_box {
  width: 300px;
  height: 700px;
  border-radius: 20px;
  background: linear-gradient(170deg, rgba(255, 174, 0, 0.5) 0%, rgba(255, 140, 0, 0.1) 50%, rgba(139, 69, 19, 0.6) 100%);
  position: relative;
  box-shadow: 0 25px 50px rgba(0,0,0,0.55);
  cursor: pointer;
  transition: all 1.5s;
  overflow: hidden;
}

.card_box::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  z-index: 5;
}

.card_box:hover {

  transform: translateY(-10px);
  transition: 0.5s ease-in-out;
}

.card_box:hover::before {
  left: 100%;
  transition: 1s ease-in-out;
  /* Prevent the animation from reversing when mouse leaves */
  transition-property: left;
  transition-delay: 0s;
}

/* Add this to prevent the animation from going back */
.card_box::before {
  transition: none;
}

.box-image {
  width: 128px;
  height: auto;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.5));
}

.box-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.card-content {
  position: relative;
  padding: 20px;
  color: white;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
  height: 100%;
}

.pack-title {
  font-size: 22px;
  text-align: center;
  margin: 0;
  color: #ffc31f;
  padding: 0 !important;
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.pack-description {
  font-size: 14px;
  text-align: center;
  color: #ccc;
  margin: 0;
}

.donate-rewards-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 0;
}

.donate-reward-item {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid #e6a823a2;
  border-radius: 8px;
  padding: 10px;
  transition: all 0.2s;
}

.donate-reward-item:hover {
  background: rgba(0, 0, 0, 0.3);
  transform: translateX(5px);
}

.donate-reward-icon {
  background: rgba(70, 70, 70, 0.116);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 50%;
  border: 1px solid rgb(95, 95, 95);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}

.donate-reward-icon img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: contain;
  vertical-align: middle;
}

.donate-reward-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
  padding: 0 10px;
}

.donate-reward-name {
  font-size: 14px;
  color: #fff;
}

.donate-reward-amount {
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  color: #000;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 12px;
  min-width: 30px;
  text-align: center;
}

.buy-button {
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  border: none;
  color: #000;
  font-weight: bold;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: auto;
  transition: all 0.2s;
}

.buy-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

.card_box span.ribbon {
  position: absolute;
  overflow: hidden;
  width: 150px;
  height: 150px;
  top: -10px;
  left: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card_box span.ribbon::before {
  content: '7 Days';
  position: absolute;
  width: 150%;
  height: 40px;
  background-image: linear-gradient(45deg, #ffd700 0%, #ffbb00 51%, #ff6b00 100%);
  transform: rotate(-45deg) translateY(-20px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 5px 10px rgba(0,0,0,0.23);
}

.card_box span.ribbon::after {
  content: '';
  position: absolute;
  width: 10px;
  bottom: 0;
  left: 0;
  height: 10px;
  z-index: -1;
  box-shadow: 140px -140px #cc3f47;
  background-image: linear-gradient(45deg, #FF512F 0%, #F09819  51%, #FF512F  100%);
}

.card_box span.ribbon1 {
  position: absolute;
  overflow: hidden;
  width: 150px;
  height: 150px;
  top: -10px;
  left: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card_box span.ribbon1::before {
  content: '30 Days';
  position: absolute;
  width: 150%;
  height: 40px;
  background-image: linear-gradient(45deg, #ffd700 0%, #ffbb00 51%, #ff6b00 100%);
  transform: rotate(-45deg) translateY(-20px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 5px 10px rgba(0,0,0,0.23);
}

.card_box span.ribbon1::after {
  content: '';
  position: absolute;
  width: 10px;
  bottom: 0;
  left: 0;
  height: 10px;
  z-index: -1;
  box-shadow: 140px -140px #cc3f47;
  background-image: linear-gradient(45deg, #FF512F 0%, #F09819  51%, #FF512F  100%);
}

.card_box span.ribbon2 {
  position: absolute;
  overflow: hidden;
  width: 150px;
  height: 150px;
  top: -10px;
  left: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card_box span.ribbon2::before {
  content: '90 Days';
  position: absolute;
  width: 150%;
  height: 40px;
  background-image: linear-gradient(45deg, #ffd700 0%, #ffbb00 51%, #ff6b00 100%);
  transform: rotate(-45deg) translateY(-20px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 5px 10px rgba(0,0,0,0.23);
}

.card_box span.ribbon2::after {
  content: '';
  position: absolute;
  width: 10px;
  bottom: 0;
  left: 0;
  height: 10px;
  z-index: -1;
  box-shadow: 140px -140px #cc3f47;
  background-image: linear-gradient(45deg, #FF512F 0%, #F09819  51%, #FF512F  100%);
}



@media (max-width: 768px) {
    

   .sidebar {
    width: var(--nav-width-collapsed); /* Start with collapsed width */
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0.5rem; /* Reduced padding for collapsed state */
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: fixed;
    height: 100vh;            /* fallback */
    height: 100dvh;           /* correct mobile viewport height */
    overflow-y: auto;         /* already present, keep it */
    overflow-x: hidden; /* Hide horizontal overflow */
    -webkit-overflow-scrolling: touch; /* smooth, enabled scroll in fixed element */
    overscroll-behavior: contain;      /* prevent page bounce when scrolling menu */
    touch-action: pan-y;                /* allow vertical scroll gestures */
    transition: all 0.3s ease; /* Smooth transition for width change */
    z-index: 1000;
    left: 0;
    top: 0;
}

.sidebar-logo img {
    max-width: 50px; /* Smaller logo when collapsed */
    height: auto;
    transition: max-width 0.3s ease;
}

/* Keep collapsed on hover (no expansion) */
.sidebar:hover {
    width: var(--nav-width-collapsed);
    padding: 1rem 0.5rem;
}

.sidebar:hover ~ .content {
    margin-left: var(--nav-width-collapsed); /* Adjust margin when sidebar expands */
}

.side-nav:hover {
    width: var(--nav-width-collapsed); /* Expand on hover */
}

.side-nav:hover ~ .content {
    margin-left: var(--nav-width-collapsed); /* Adjust content margin when nav expands */
}

.sidebar:hover .sidebar-logo img {
    max-width: 50px;
}

.sidebar-logo p {
    display: none; /* Hide text when collapsed */
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    transition: opacity 0.3s ease;
}
.sidebar:hover .sidebar-logo p {
    display: none; /* Keep hidden on hover */
}

/* Keep status indicator collapsed on hover */
.sidebar:hover .status-indicator {
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.sidebar:hover .status-indicator span {
    display: none;
}

/* Keep player count badge collapsed on hover */
.sidebar:hover .online-count {
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.sidebar:hover .online-count::after {
    display: block;
}
.sidebar:hover .online-count span {
    display: none;
}

/* Keep social icons in a single column on hover */
.sidebar:hover .social-media {
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
}

/* Keep auth buttons collapsed on hover */
.sidebar:hover .auth-buttons {
    flex-direction: column;
    justify-content: center;
}
.sidebar:hover .auth-buttons .sidebar-link span {
    display: none; /* Keep text hidden on hover */
}

/* Keep sidebar links collapsed on hover */
.sidebar:hover .sidebar-link {
    padding: 0.8rem 0.5rem; /* Keep collapsed padding on hover */
    justify-content: center; /* Keep centered on hover */
}
.sidebar:hover .sidebar-link span {
    display: none; /* Keep text hidden on hover */
}


    /* Mobile-only: content spacing & scroll */
    .content {
        margin-left: var(--nav-width-collapsed);                /* match collapsed nav */
        padding-bottom: calc(80px + env(safe-area-inset-bottom));/* bottom space incl. iOS safe area */
        overflow: auto;                                         /* allow vertical scroll in content */
    }


    /* Keep collapsed margin even if nav is hovered on mobile */
    .sidebar:hover ~ .content {
        margin-left: var(--nav-width-collapsed);
    }


    .features-container {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    
    .character-selection {
        width: 100%;
        max-width: 600px;
        height: 450px;
    }
    
    .features-showcase-container {
        width: 100%;
        max-width: 600px;
    }

    .features-container {
        padding: 0;
    }
    
    .character-selection {
        max-width: 100%;
    }
    
    .character-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .character-icon {
    width: 24px;
    height: 24px;
    }

    .character-image {
    max-height: 150px;
    min-height: 150px;
    }

    .character {
        flex: 0 0 calc(20% - 8px);
        min-width: 60px;
    }
    
    .character-name {
        font-size: 12px;
    }
    

    .inventory-ui {
        width: 100%;
        max-width: 400px;
        height: auto;
        position: relative;
        overflow: visible;
        margin-bottom: 30px;
    }
    
    .inventory-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3px;
        padding: 8px;
    }
    

/* Mobile nth-child rules neutralized - using JavaScript positioning instead */
.inventory-slot:nth-child(4n-3) .item-tooltip,
.inventory-slot:nth-child(4n-1) .item-tooltip,
.inventory-slot:nth-child(4n-2) .item-tooltip,
.inventory-slot:nth-child(4n) .item-tooltip {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}



    /* Mobile Carousel - Show 1 slide */
    .features-showcase-container {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .features-showcase-wrapper {
        overflow: hidden;
        width: 100%;
    }
    
    .features-showcase-track {
        display: flex;
        transition: transform 0.3s ease;
        width: 500%; /* 5 slides * 100% */
    }
    
    .features-showcase-item {
        flex: 0 0 20%; /* Each slide takes 20% of track (100% / 5 slides) */
        width: 20%;
        min-height: 200px;
    }
    
    .features-showcase-prev,
    .features-showcase-next {
        display: block;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(224, 192, 128, 0.8);
        color: #1a1610;
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        font-size: 18px;
        cursor: pointer;
        z-index: 10;
        transition: all 0.3s ease;
    }
    
    .features-showcase-prev {
        left: 10px;
    }
    
    .features-showcase-next {
        right: 10px;
    }
    
    .features-showcase-prev:hover,
    .features-showcase-next:hover {
        background: rgba(224, 192, 128, 1);
        transform: translateY(-50%) scale(1.1);
    }

    .card-container {
        flex-direction: column;
    }
}


/* Responsive Design for Features Section - Tablet/Laptop */
@media (max-width: 1200px) and (min-width: 769px) {
    .features-container {
        gap: 20px;
        align-items: center;
        padding: 0 20px;
        margin-bottom: 30px;
    }

     .character-selection {
        width: 400px;
        max-width: 400px;
    }
    
    .character-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .character {
        flex: 0 0 calc(20% - 8px);
        min-width: 60px;
    }
    
    .character-name {
        font-size: 12px;
    }

    
  .inventory-ui {
        width: 400px;
        max-width: 400px;
        position: relative;
        overflow: visible;
    }
    
    .inventory-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3px;
        padding: 8px;
    }
    

        /* Mobile nth-child rules neutralized - using JavaScript positioning instead */
        .inventory-slot:nth-child(4n-3) .item-tooltip,
        .inventory-slot:nth-child(4n-1) .item-tooltip,
        .inventory-slot:nth-child(4n-2) .item-tooltip,
        .inventory-slot:nth-child(4n) .item-tooltip {
            left: 50%;
            right: auto;
            transform: translateX(-50%);
        }



    /* Mobile Carousel - Show 1 slide */
    .features-showcase-container {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .features-showcase-wrapper {
        overflow: hidden;
        width: 100%;
    }

    .download-options {
    gap: 20px;
    margin-bottom: 60px;
    }

    .download-card {
        padding: 20px;
        width: 250px;
    }

    .download-support {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 20px;
    }

    .card-container {
        gap: 20px;
    }

    .price-tag {
    top: 10px;
    right: 10px;
    padding: 2px 4px;
    font-weight: bold;
    }

        .card_box {
        width: 200px;
        height: 500px;
        border-radius: 20px;
        background: linear-gradient(170deg, rgba(255, 174, 0, 0.5) 0%, rgba(255, 140, 0, 0.1) 50%, rgba(139, 69, 19, 0.6) 100%);
        position: relative;
        box-shadow: 0 25px 50px rgba(0,0,0,0.55);
        cursor: pointer;
        transition: all 1.5s;
        overflow: hidden;
        }

        .card_box::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent
        );
        z-index: 5;
        }

        .card_box:hover {

        transform: translateY(-10px);
        transition: 0.5s ease-in-out;
        }

        .card_box:hover::before {
        left: 100%;
        transition: 1s ease-in-out;
        /* Prevent the animation from reversing when mouse leaves */
        transition-property: left;
        transition-delay: 0s;
        }

        /* Add this to prevent the animation from going back */
        .card_box::before {
        transition: none;
        }

        .box-image {
        width: 100px;
        height: auto;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.5));
        }

        .box-image img {
        width: 100%;
        height: auto;
        object-fit: contain;
        }

        .card-content {
        position: relative;
        padding: 10px;
        color: white;
        z-index: 1;
        display: flex;
        flex-direction: column;
        gap: 10px;
        height: 100%;
        }

        .pack-title {
        font-size: 16px;
        text-align: center;
        margin: 0;
        color: #ffc31f;
        padding: 0 !important;
        text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
        }

        .pack-description {
        font-size: 10px;
        text-align: center;
        color: #ccc;
        margin: 0;
        }

        .donate-rewards-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 0;
        }

        .donate-reward-item {
        display: flex;
        align-items: center;
        background: rgba(0, 0, 0, 0.5);
        border: 1px solid #e6a823a2;
        border-radius: 8px;
        padding: 5px;
        transition: all 0.2s;
        }

        .donate-reward-item:hover {
        background: rgba(0, 0, 0, 0.3);
        transform: translateX(5px);
        }

        .donate-reward-icon {
        background: rgba(70, 70, 70, 0.116);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        border-radius: 50%;
        border: 1px solid rgb(95, 95, 95);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        width: 28px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        align-self: center;
        }

        .donate-reward-icon img {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        object-fit: contain;
        vertical-align: middle;
        }

        .donate-reward-info {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex: 1;
        padding: 0 10px;
        }

        .donate-reward-name {
        font-size: 8px;
        color: #fff;
        }

        .donate-reward-amount {
        background: linear-gradient(135deg, #ffd700, #ff8c00);
        color: #000;
        font-weight: bold;
        padding: 2px 6px;
        border-radius: 10px;
        font-size: 10px;
        min-width: 30px;
        text-align: center;
        }

        .buy-button {
        background: linear-gradient(135deg, #ffd700, #ff8c00);
        border: none;
        color: #000;
        font-weight: bold;
        padding: 10px;
        border-radius: 8px;
        cursor: pointer;
        margin-top: auto;
        transition: all 0.2s;
        }

        .buy-button:hover {
        transform: scale(1.05);
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
        }

        .card_box span.ribbon {
        position: absolute;
        overflow: hidden;
        width: 100px;
        height: 100px;
        top: -10px;
        left: -10px;
        display: flex;
        align-items: center;
        justify-content: center;
        }

        .card_box span.ribbon::before {
        content: '7 Days';
        position: absolute;
        width: 150%;
        height: 40px;
        background-image: linear-gradient(45deg, #ffd700 0%, #ffbb00 51%, #ff6b00 100%);
        transform: rotate(-45deg) translateY(-20px);
        display: flex;
        font-size: 10px;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-weight: 600;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        box-shadow: 0 5px 10px rgba(0,0,0,0.23);
        }

        .card_box span.ribbon::after {
        content: '';
        position: absolute;
        width: 10px;
        bottom: 0;
        left: 0;
        height: 10px;
        z-index: -1;
        box-shadow: 140px -140px #cc3f47;
        background-image: linear-gradient(45deg, #FF512F 0%, #F09819  51%, #FF512F  100%);
        }

        .card_box span.ribbon1 {
        position: absolute;
        overflow: hidden;
        width: 100px;
        height: 100px;
        top: -10px;
        left: -10px;
        display: flex;
        align-items: center;
        justify-content: center;
        }

        .card_box span.ribbon1::before {
        content: '30 Days';
        position: absolute;
        width: 150%;
        height: 40px;
        background-image: linear-gradient(45deg, #ffd700 0%, #ffbb00 51%, #ff6b00 100%);
        transform: rotate(-45deg) translateY(-20px);
        display: flex;
        align-items: center;
        justify-content: center;
            font-size: 10px;
        color: #fff;
        font-weight: 600;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        box-shadow: 0 5px 10px rgba(0,0,0,0.23);
        }

        .card_box span.ribbon1::after {
        content: '';
        position: absolute;
        width: 10px;
        bottom: 0;
        left: 0;
        height: 10px;
        z-index: -1;
        box-shadow: 140px -140px #cc3f47;
        background-image: linear-gradient(45deg, #FF512F 0%, #F09819  51%, #FF512F  100%);
        }

        .card_box span.ribbon2 {
        position: absolute;
        overflow: hidden;
        width: 100px;
        height: 100px;
        top: -10px;
        left: -10px;
        display: flex;
        align-items: center;
        justify-content: center;
        }

        .card_box span.ribbon2::before {
        content: '90 Days';
        position: absolute;
        width: 150%;
        height: 40px;
        background-image: linear-gradient(45deg, #ffd700 0%, #ffbb00 51%, #ff6b00 100%);
        transform: rotate(-45deg) translateY(-20px);
        display: flex;
        align-items: center;
        justify-content: center;
            font-size: 10px;
        color: #fff;
        font-weight: 600;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        box-shadow: 0 5px 10px rgba(0,0,0,0.23);
        }

        .card_box span.ribbon2::after {
        content: '';
        position: absolute;
        width: 10px;
        bottom: 0;
        left: 0;
        height: 10px;
        z-index: -1;
        box-shadow: 140px -140px #cc3f47;
        background-image: linear-gradient(45deg, #FF512F 0%, #F09819  51%, #FF512F  100%);
        }

        .payment-methods-container {
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 10px;
            margin-top: 50px;
            max-width: 250px;
            width: 100%;
        }



}

/* Responsive Design */

@media (max-width: 1024px) {
    :root {
        --nav-width: 200px;
    }
    
    .nav-item span {
        font-size: 14px;
    }
    

}

@media (max-width: 768px) {
    :root {
        --nav-width: 70px;
    }
    
    .side-nav {
        align-items: center;
    }
    
    .nav-item {
        padding: 15px 0;
        justify-content: center;
    }
    
    .nav-item i {
        margin-right: 0;
        font-size: 24px;
    }
    
    .nav-item span {
        display: none;
    }
    
    .section {
        padding: 20px;
    }

    
    .register-container {
        flex-direction: column;
        align-items: center;
    }

    /* Community showcase responsive */
    .community-showcase {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 15px;
        height: auto;
        max-height: none;
    }

    /* Discord module responsive */
    .discord-module .module-content {
        padding: 15px;
    }

    .discord-branding h3 {
        font-size: 1.4rem;
    }

    .discord-description {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .discord-metrics {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 20px;
    }

    .metric-block {
        margin: 0;
        padding: 15px 10px;
    }

    .metric-value {
        font-size: 1.3rem;
    }

    .metric-label {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    .countdown {
        flex-wrap: wrap;
        gap: 10px;
        width: 100%;
    }

    /* Community section mobile */
    .community-header .section-title {
        font-size: 2.2rem;
    }

    .community-header .section-subtitle {
        font-size: 1rem;
        padding: 0 10px;
    }

    /* Discord module mobile */
    .discord-branding h3 {
        font-size: 1.2rem;
    }

    .discord-branding i {
        font-size: 1.8rem;
        margin-right: 8px;
    }

    .discord-description {
        font-size: 0.85rem;
        padding: 0 5px;
    }

    .metric-block {
        padding: 12px 8px;
    }

    .metric-value {
        font-size: 1.1rem;
    }

    .metric-label {
        font-size: 0.6rem;
    }

    .discord-join {
        font-size: 0.85rem;
        padding: 10px;
    }

    /* Donate section mobile */
    .card-container {
        gap: 20px;
        padding: 0 15px;
    }

    .card_box {
        width: 100%;
        max-width: 300px;
        min-height: 550px;
    }

    .pack-title {
        font-size: 1.3rem;
    }

    .pack-description {
        font-size: 0.9rem;
    }

    .donate-reward-name {
        font-size: 0.85rem;
    }

    .donate-reward-amount {
        font-size: 0.8rem;
    }

    .payment-methods-container {
        padding: 0 15px;
        margin-top: 25px;
    }

    .payment-methods-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .payment-method {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .payment-method i {
        font-size: 24px;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .payment-method-name {
        font-size: 14px;
        margin-bottom: 8px;
        font-weight: 600;
    }

    .payment-method-info {
        font-size: 11px;
        opacity: 0.8;
        line-height: 1.3;
    }


    
    .time-block {
        width: 100px;
        height: 100px;
        min-width: unset;
        padding: 10px;
        margin-bottom: 10px;
        justify-content: center;
    }
    
    .time-block span:first-child {
        font-size: 1.6rem;
    }
    
    .time-label {
        font-size: 0.8rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .section h2 {
        font-size: 2rem;
    }
    
    .section {
        padding: 20px 15px 60px 15px;
    }
    
    #home {
        padding-top: 0;
    }
    
        
    #home h1, #download h1, #features h1, #community h1, #donate h1 {
        font-size: 1.8rem !important; /* Reduced from 4rem for less overwhelming presence */
    }

    #home h1::after, #download h1::after, #features h1::after, #community h1::after, #donate h1::after  {
        width: 280px; /* Width of underline */
        height: 2px;

    }

    #home h2 {
        font-size: 1.2rem;
         margin-bottom: 20px;
    }
    
        #donate h2 {
        font-size: 1.2rem;
         margin-bottom: 20px;
    }

    .hero-overlay {
        padding: 30px 20px 120px 20px;
        justify-content: flex-start;
    }
    
    .main-content {
        margin-bottom: 40px;
    }
    
    .reward-item {
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border: 1px solid rgba(44, 38, 38, 0.938);
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 16px rgba(12, 12, 12, 0.2);
    background-color: rgba(12, 12, 12, 0.6);
    }

    .reward-item:hover {
    transform: translateY(-5px);
    background: rgba(12, 12, 12, 0.8);
    }

}

/* Nest Hub Specific Styles */
@media (min-width: 1000px) and (max-width: 1100px) and (max-height: 650px) {
    /* Basic Layout */
    body {
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    /* Countdown Timer */
    .countdown { 
        flex-wrap: wrap; 
        gap: 15px; 
        width: 100%; 
        justify-content: center; 
    }
    
    .time-block { 
        width: 110px; 
        height: 110px; 
        min-width: unset; 
        padding: 10px; 
        margin-bottom: 10px; 
        justify-content: center; 
    }
    
    .time-block span:first-child { 
        font-size: 2rem; 
    }
    
    .time-label { 
        font-size: 0.9rem; 
    }
    
    /* Typography */
    #home h1 { 
        font-size: 2.2rem; 
    }
    
    #home h1::after { 
        width: 320px; 
        height: 2px; 
    }
    
    #home h2 { 
        font-size: 1.2rem; 
        margin-bottom: 20px; 
    }
    
    /* Layout Elements */
    .hero-overlay { 
        padding: 80px 20px 60px 20px; 
        justify-content: flex-start; 
    }
    
    /* Reward Items */
    .reward-item { 
        backdrop-filter: blur(2px); 
        -webkit-backdrop-filter: blur(2px); 
        border: 1px solid rgba(44, 38, 38, 0.938); 
        border-radius: 10px; 
        padding: 20px; 
        transition: transform 0.3s ease, box-shadow 0.3s ease; 
        box-shadow: 0 4px 16px rgba(12, 12, 12, 0.2); 
        background-color: rgba(12, 12, 12, 0.6); 
    }
    
    .reward-item:hover { 
        transform: translateY(-5px); 
        background: rgba(12, 12, 12, 0.8); 
    }
}

/* Nest Hub Max Specific Styles */
@media (min-width: 1200px) and (max-width: 1300px) and (max-height: 850px) {
    /* Basic Layout */
    body {
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    /* Countdown Timer */
    .countdown { 
        flex-wrap: wrap; 
        gap: 20px; 
        width: 100%; 
        justify-content: center; 
    }
    
    .time-block { 
        width: 130px; 
        height: 130px; 
        min-width: unset; 
        padding: 15px; 
        margin-bottom: 15px; 
        justify-content: center; 
    }
    
    .time-block span:first-child { 
        font-size: 2.4rem; 
    }
    
    .time-label { 
        font-size: 1rem; 
    }
    
    /* Typography */
    #home h1 { 
        font-size: 2.5rem; 
    }
    
    #home h1::after { 
        width: 380px; 
        height: 2px; 
    }
    
    #home h2 { 
        font-size: 1.3rem; 
        margin-bottom: 25px; 
    }
    
    /* Layout Elements */
    .hero-overlay { 
        padding: 60px 30px; 
        justify-content: flex-start; 
    }
    
    /* Reward Items */
    .reward-item { 
        backdrop-filter: blur(2px); 
        -webkit-backdrop-filter: blur(2px); 
        border: 1px solid rgba(44, 38, 38, 0.938); 
        border-radius: 10px; 
        padding: 25px; 
        transition: transform 0.3s ease, box-shadow 0.3s ease; 
        box-shadow: 0 4px 16px rgba(12, 12, 12, 0.2); 
        background-color: rgba(12, 12, 12, 0.6); 
    }
    
    .reward-item:hover { 
        transform: translateY(-5px); 
        background: rgba(12, 12, 12, 0.8); 
    }
}


/* System Requirements Table Styles */
.sys-req-table-container {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid rgba(224, 192, 128, 0.3);
}

.sys-req-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.3);
    font-family: 'Albertus', serif;
    color: #e0c080;
}

.sys-req-table thead {
    background: linear-gradient(135deg, #e0c080, #a67c52);
}

.sys-req-table th {
    padding: 15px 20px;
    text-align: left;
    font-weight: bold;
    color: #1a1610;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    border-bottom: 2px solid rgba(26, 22, 16, 0.3);
}

.component-header {
    width: 35%;
    border-right: 1px solid rgba(26, 22, 16, 0.3);
}

.min-header, .max-header {
    width: 32.5%;
    text-align: center;
}

.min-header {
    border-right: 1px solid rgba(26, 22, 16, 0.3);
}

.sys-req-table tbody tr {
    transition: all 0.3s ease;
}

.sys-req-table tbody tr:nth-child(even) {
    background: rgba(224, 192, 128, 0.05);
}

.sys-req-table tbody tr:hover {
    background: rgba(224, 192, 128, 0.15);
}

.sys-req-table td {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(224, 192, 128, 0.2);
    font-size: 14px;
    line-height: 1.4;
}

.component-cell {
    font-weight: bold;
    color: #e0c080;
    border-right: 1px solid rgba(224, 192, 128, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-cell {
    color: #ffffff;
    text-align: center;
}

.spec-cell:first-of-type {
    border-right: 1px solid rgba(224, 192, 128, 0.2);
}

/* Responsive Design for System Requirements Table */
@media (max-width: 768px) {
    .sys-req-table th,
    .sys-req-table td {
        padding: 12px 10px;
        font-size: 12px;
    }
    
    .component-header {
        width: 40%;
    }
    
    .min-header, .max-header {
        width: 30%;
    }
}

/* VR Restrictions Blocks — countdown-style */
.vr-blocks {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 10px;
    margin-bottom: -15px;
    flex-wrap: wrap;
}

.vr-block {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    padding: 15px;
    width: 80px;
    height: 80px;
    overflow: visible; /* allow tooltip outside */
}

 .vr-block::after {
    content: '\2191'; /* Up arrow character */
    position: absolute;
    top: -15px; /* Adjust as needed to position above the block */
    left: 80%;
    transform: translateY(140%);
    font-size: 1.5em;
    color: rgba(255, 255, 255, 0.9);
    opacity: 1; /* Always visible */
    /* Removed transition and hover/active states for opacity */
 }

.vr-block img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.45));
}

.vr-tooltip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 14px);
    transform: translateX(-50%) translateY(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 2000;
    width: 560px;
    max-width: calc(100vw - 48px);
}


.vr-tooltip-inner {
    background: rgba(12, 12, 12, 0.9);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border: 1px solid rgba(247, 170, 53, 0.6);
    border-radius: 8px;
    padding: 10px 12px;
    color: #fff;
    text-align: center;
    max-width: 100%;
}

.vr-tooltip-inner h4 {
    margin: 0 0 6px 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #f7aa35;
}

.vr-tooltip-inner p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.3;
}

.vr-block:hover .vr-tooltip { opacity: 0; } /* Hide default hover for now */

/* Desktop hover behavior */
@media (min-width: 769px) {
    .vr-block:hover .vr-tooltip { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Mobile click activation */
.vr-block.active .vr-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.vr-tooltip::after {
    content: '';
    position: absolute;
    top: calc(100% - 6px);
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px; height: 12px;
    background: rgba(12,12,12,0.8);
    border: 1px solid rgba(247, 170, 53, 0.6);
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.vr-tooltip::before {
    content: '';
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 16px;
    background: linear-gradient(to bottom, rgba(247,170,53,0.85), rgba(247,170,53,0.25));
    border-radius: 2px;
}

 /* Shake animation for clickable blocks */
 @keyframes glow {
    0% { opacity: 1; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-5px); }
    100% { opacity: 1; transform: translateY(0); }
}

 .vr-block.clickable {
    animation: glow 1.5s ease-in-out infinite;
 }

 .vr-block.clickable:hover,
 .vr-block.clickable.active {
    cursor: pointer; /* Keep cursor pointer on hover/active */
    animation-play-state: paused; /* Pause animation on hover/active */
 }

 @media (max-width: 768px) {
    .vr-blocks { gap: 12px; justify-content: center; flex-wrap: wrap; }
    .vr-block { width: 80px; height: 80px; padding: 10px; margin-bottom: 8px; }
    .vr-block img { width: 70%; }
    .vr-tooltip { width: min(90vw, 320px); left: 50%; transform: translateX(-50%) translateY(8px); bottom: calc(100% + 12px); }
    .vr-tooltip-inner { padding: 12px 14px; max-width: 80%; }
    .vr-tooltip-inner h4 { font-size: 1rem; }
    .vr-tooltip-inner p { font-size: 0.9rem; line-height: 1.4; }

    .vr-blocks .vr-block:nth-child(1) .vr-tooltip-inner {
        transform: translateX(92px) translateY(0);
    }

    .vr-blocks .vr-block:nth-child(3) .vr-tooltip-inner {
        transform: translateX(-92px) translateY(0);
    }


}

