/* Base Styles */
:root {
    /* Main colors based on BigChungus logo and theme */
    --primary-color: #ff00ff; /* Pink from the left border */
    --secondary-color: #0000ff; /* Blue from the right border */
    --accent-color: #ffcc00; /* Yellow accent for highlights */
    --background-dark: #121212; /* Dark background for dark mode */
    --background-darker: #0a0a0a; /* Darker sections */
    --text-color: #ffffff; /* White text for readability */
    --text-secondary: #cccccc; /* Slightly dimmed text */
    --nav-hover: #ff00ff; /* Pink hover effect */
    --border-radius: 4px;
    --transition-speed: 0.3s;
}

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--background-dark);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.pixelated {
    font-family: 'Press Start 2P', cursive;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pixelated2 {
    font-family: 'Press Start 2P', cursive;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
}

/* Page Layout */
.page-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100vw;
    overflow-x: hidden;
}

.border {
    width: calc(20vw + 100px - 10vw);
    min-width: 60px;
    transition: all var(--transition-speed) ease;
}

.border-left {
    background: linear-gradient(to bottom, var(--primary-color), #800080);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.5);
}

.border-right {
    background: linear-gradient(to bottom, var(--secondary-color), #000080);
    box-shadow: 0 0 15px rgba(0, 0, 255, 0.5);
}

.main-content {
    flex: 1;
    padding: 0 20px;
    min-width: 0;
    width: auto;
    max-width: none;
}

/* Header & Navigation */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    margin-right: 15px;
    image-rendering: pixelated;
}

.logo-text {
    font-family: 'Press Start 2P', cursive;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.2rem;
}

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

.desktop-nav li {
    margin-left: 20px;
}

.desktop-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed) ease;
    position: relative;
    display: inline-block;
}

.desktop-nav a:hover, .desktop-nav a.active {
    color: var(--nav-hover);
}

.desktop-nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width var(--transition-speed) ease;
}

.desktop-nav a:hover:after, .desktop-nav a.active:after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: all var(--transition-speed) ease;
}

.mobile-nav {
    display: none;
    background-color: var(--background-darker);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-top: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav li {
    margin-bottom: 15px;
}

.mobile-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    display: block;
    padding: 8px 0;
    transition: color var(--transition-speed) ease;
}

.mobile-nav a:hover, .mobile-nav a.active {
    color: var(--nav-hover);
}

/* Hero Section */
.hero {
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    background-image: url('../images/hero-bg1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;    /* ← add this */

    position: relative;
    margin: 30px 0;
    border-radius: 8px;
    overflow: hidden;
    will-change: background-position;
}


.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

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

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.7), 0 0 20px rgba(0, 0, 255, 0.5);
    color: var(--text-color);
}

.hero .subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

/* Content Sections */
#link {
    text-decoration: none;
}

section {
    margin: 50px 0;
    padding: 30px;
    background-color: var(--background-darker);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.disclaimer:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 0, 255, 0.5);
}

section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.section-header {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-header h2 {
    font-size: 1.8rem;
    color: var(--text-color);
}

.section-content p {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.section-content h3 {
    margin-bottom: 0;
    color: var(--text-secondary);
}

.section-content p:last-child {
    margin-bottom: 0;
}

/* Disclaimer Section */
.disclaimer {
    border: 2px solid var(--primary-color);
    background-color: rgba(255, 0, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.disclaimer:before {
    background: var(--primary-color);
}

.disclaimer h2 {
    color: var(--primary-color);
}

/* Footer */
footer {
    margin-top: 50px;
    padding: 30px 0;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 15px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

.social-link:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.social-link i {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.copyright {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}
/* ============================================ */
/* DROPDOWN MENU STYLES (REVISED) */
/* ============================================ */

/* Style the container for the dropdown */
.desktop-nav .dropdown {
    position: relative;
    display: inline-block;
}

/* Hide the dropdown content by default */
.desktop-nav .dropdown-content {
    display: none;
    position: absolute;
    /* FIX: These two lines center the dropdown under the parent item */
    left: 100%;
    transform: translateX(-100%);
    background-color: black;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    list-style: none;
    padding: 0;
    border-radius: 4px;
}

/* Style the links inside the dropdown */
.desktop-nav .dropdown-content li a {
    /* CHANGE: Text color is now white to be visible on the black background */
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

/* Change color of dropdown links on hover */
.desktop-nav .dropdown-content li a:hover {
    /* CHANGE: Hover background is now a dark grey for a subtle effect */
    background-color: #333;
}

/* Show the dropdown menu on hover over the .dropdown container */
.desktop-nav .dropdown:hover .dropdown-content {
    display: block;
}


/* ============================================ */
/* MOBILE SUB-ITEM STYLING (OPTIONAL) */
/* ============================================ */

/* This part remains the same */
.mobile-nav .mobile-sub-item a {
    padding-left: 20px; /* Adjust as needed */
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-nav.active {
        display: block;
    }
    
    .hero {
        height: 50vh;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .subtitle {
        font-size: 1rem;
    }
    
    section {
        padding: 20px;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 1400px) {
    .border {
        width: 0vw;
        min-width: 0px;
    }
    
    .main-content {
        padding: 0 20px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .hero {
        height: 40vh;
        min-height: 300px;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .social-link {
        margin: 0 10px;
    }
}

/* Animation Effects */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 0, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 255, 0);
    }
}

.pixelated {
    animation: textShadowPulse 2s infinite;
}

.pixelated2 {
    animation: textShadowPulse2 2s infinite;
}

@keyframes textShadowPulse {
    0% {
        text-shadow: 0 0 4px rgba(255, 0, 255, 0.7), 0 0 8px rgba(0, 0, 255, 0.5);
    }
    50% {
        text-shadow: 0 0 8px rgba(255, 0, 255, 0.9), 0 0 16px rgba(0, 0, 255, 0.7);
    }
    100% {
        text-shadow: 0 0 4px rgba(255, 0, 255, 0.7), 0 0 8px rgba(0, 0, 255, 0.5);
    }
}

@keyframes textShadowPulse2 {
    0% {
        text-shadow: 0 0 4px rgba(0, 0, 255, 0.7), 0 0 8px rgba(0, 0, 255, 0.5);
    }
    50% {
        text-shadow: 0 0 8px rgba(0, 0, 255, 0.9), 0 0 16px rgba(0, 0, 255, 0.7);
    }
    100% {
        text-shadow: 0 0 4px rgba(0, 0, 255, 0.7), 0 0 8px rgba(0, 0, 255, 0.5);
    }
}

