/* General Styles */
:root {
    --piss-yellow: #F90; /* PH-style orange */
    --piss-yellow-light: #FFA500; /* Lighter orange */
    --piss-yellow-dark: #E68A00; /* Darker orange */
    
    /* New color scheme based on PH-style */
    --dark-bg: #000000; /* Black background */
    --light-bg: #1A1A1A; /* Slightly lighter black for contrast */
    --gradient-start: #000000; /* Black gradient start */
    --gradient-end: #1A1A1A; /* Dark gray gradient end */
    --text-color: #FFFFFF; /* White text for contrast */
    --text-color-alt: #CCCCCC; /* Light gray text for subtle elements */
    --section-bg: #0F0F0F; /* Dark section background */
    --card-bg: #1A1A1A; /* Slightly lighter card background */
    --accent-color: #F90; /* Orange accent */
    --nav-red: #CC0000; /* Red for subnav items */
}

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

body {
    font-family: 'Arial', sans-serif;
    background: var(--dark-bg);
    color: var(--text-color);
    overflow-x: hidden;
    position: relative;
    font-style: normal;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

/* Piss Drip Animation */
.piss-drip-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
    overflow: hidden;
}

/* Global drips */
.piss-drip {
    position: absolute;
    width: 20px;
    height: 100px;
    background: linear-gradient(to bottom, var(--piss-yellow-light), var(--piss-yellow));
    border-radius: 0 0 10px 10px;
    opacity: 0.7;
    filter: blur(2px);
    pointer-events: none;
}

/* Element drips */
.element-drip {
    position: absolute;
    width: 15px;
    height: 80px;
    background: linear-gradient(to bottom, var(--piss-yellow-light), var(--piss-yellow));
    border-radius: 0 0 8px 8px;
    opacity: 0.8;
    filter: blur(1px);
    z-index: 10;
    pointer-events: none;
    transform-origin: top center;
    animation: elementDrip 8s infinite linear;
}

/* Container with drips */
.dripping-container {
    position: relative;
    overflow: visible !important;
}

/* Puddle effect */
.piss-puddle {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 15px;
    background: var(--piss-yellow);
    border-radius: 50%;
    opacity: 0.5;
    filter: blur(5px);
    z-index: 5;
    pointer-events: none;
    animation: puddlePulse 3s infinite ease-in-out;
}

@keyframes drip {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(2000px);
    }
}

@keyframes elementDrip {
    0% {
        transform: scaleY(0);
        opacity: 0.9;
    }
    80% {
        opacity: 0.7;
    }
    100% {
        transform: scaleY(1);
        opacity: 0;
    }
}

@keyframes puddlePulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translateX(-50%) scale(1.2);
        opacity: 0.7;
    }
}

/* Header Styles */
header {
    background-color: rgba(0, 0, 0, 1); /* Solid black background to match the banner */
    padding: 20px 0 0 0;
    position: relative; /* Changed from sticky to relative */
    z-index: 1000;
    border-bottom: none;
    box-shadow: none;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background-color: #000000;
    padding: 15px 0;
    width: 100%;
}

.logo {
    width: 80px;
    height: 80px;
    margin-right: 20px;
    animation: pulse 2s infinite;
}

.banner-logo {
    max-width: 400px;
    height: auto;
    margin: 0 auto;
    display: block;
}

.banner h1 {
    font-size: 3rem;
    color: #000000; /* Black color for better visibility on yellow background */
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.7); /* Light shadow for contrast */
    letter-spacing: 2px;
    font-weight: bold;
}

.banner p {
    font-size: 1.2rem;
    color: var(--text-color);
    font-style: italic;
}

.tagline-small {
    font-size: 1.4rem;
    color: #F9A826;
    font-style: italic;
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Main Navigation */
.main-navigation {
    background-color: #000000; /* Black background */
    padding: 10px 0;
    text-align: center;
    position: relative; /* Not sticky */
    width: 100%;
    border-bottom: 1px solid #333;
}

/* Sub Navigation */
.sub-navigation {
    background-color: #000000;
    padding: 5px 0;
    text-align: center;
    border-bottom: 1px solid #333;
}

.sub-navigation ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 20px;
    flex-wrap: wrap;
    padding: 0;
}

.sub-navigation ul li a {
    color: var(--nav-red);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    font-family: Arial, sans-serif;
    letter-spacing: 0.5px;
}

.sub-navigation ul li a:hover {
    color: #FF0000;
    text-decoration: underline;
}

/* Desktop Menu */
.desktop-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
}

.desktop-menu li {
    margin: 0 15px;
}

nav ul li a {
    color: #FFFFFF; /* White text for navigation links */
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    transition: color 0.3s;
    text-transform: uppercase;
    padding: 0 15px;
    font-family: Arial, sans-serif;
    letter-spacing: 0.5px;
}

nav ul li a:hover {
    color: var(--piss-yellow);
}

/* Burger Menu */
.burger-menu-button {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 40px;
    height: 35px;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1001;
    background-color: rgba(255, 140, 0, 0.8); /* Deep orange background */
    padding: 10px;
    border-radius: 5px;
    border: 1px solid var(--dark-bg);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.burger-bar {
    width: 100%;
    height: 4px;
    background-color: var(--piss-yellow);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Menu - Pornhub-style sidebar */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px; /* Start off-screen to the right */
    width: 300px; /* Fixed width sidebar */
    height: 100vh;
    background-color: #000000; /* Black background like Pornhub */
    border-left: 3px solid var(--piss-yellow); /* Orange border on the left */
    z-index: 1000;
    transition: right 0.3s ease;
    display: block;
    visibility: visible;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    overflow-y: auto; /* Allow scrolling if menu is too tall */
}

.mobile-menu.active {
    right: 0; /* Slide in from the right */
    visibility: visible;
}

.mobile-menu ul {
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    list-style: none;
    padding: 30px 0 0 0;
    margin: 0;
}

.mobile-menu li {
    margin: 0;
    width: 100%;
    border-bottom: 1px solid #222;
}

.mobile-menu.active li {
    opacity: 1;
}

.mobile-menu a {
    font-size: 1.2rem;
    padding: 15px 20px;
    display: block;
    text-align: left;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    text-transform: uppercase;
}

.mobile-menu a:hover {
    color: #000000;
    background-color: var(--piss-yellow);
}

/* Mobile menu header */
.mobile-menu-header {
    padding: 20px;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-title {
    color: var(--piss-yellow);
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
}

.close-menu {
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

.close-menu:hover {
    color: var(--piss-yellow);
}

/* Burger Animation */
.burger-menu-button.active .burger-bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.burger-menu-button.active .burger-bar:nth-child(2) {
    opacity: 0;
}

.burger-menu-button.active .burger-bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Hero Section */
#hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-background-video {
    position: absolute;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-video-wrapper .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

#hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(249, 166, 38, 0.4));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 30px;
    background-color: rgba(249, 166, 38, 0.8); /* Orange background */
    border-radius: 15px;
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #000000; /* Black color for better visibility on yellow background */
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.7); /* Light shadow for contrast */
    font-weight: bold;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.hero-content .tagline {
    font-size: 2rem;
    font-weight: bold;
    color: #FF0000; /* Red color for better visibility */
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.7); /* Light shadow for contrast */
    margin-bottom: 30px;
    letter-spacing: 2px;
    animation: pulse 2s infinite;
}

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

/* Section Headings */
h1, h2, h3, h4, h5, h6 {
    color: #FFFFFF !important; /* Force white color for all headings */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Dark shadow for contrast */
    font-weight: bold;
}

.container h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    color: #FFFFFF;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.7), 0 0 5px rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
}

.container h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Specific Section Heading Styles */
#chart h2 {
    color: #FFFFFF !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.5);
    font-weight: 900;
    letter-spacing: 2px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s;
    cursor: pointer;
    font-size: 1rem;
    border: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-color);
    border: 2px solid var(--dark-bg);
}

.btn-primary:hover {
    background-color: var(--dark-bg);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: var(--light-bg);
    color: var(--text-color-alt);
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--text-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Section Styles */
.section {
    padding: 80px 0;
    position: relative;
    background-color: var(--section-bg);
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.section:nth-child(even) {
    background-color: var(--dark-bg);
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--piss-yellow);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--piss-yellow);
    border-radius: 2px;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-video-banner {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.hero-video-banner {
    width: 100%;
    max-width: 800px;
    border-radius: 15px;
    border: 5px solid var(--piss-yellow);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    height: auto;
}

.about-text strong {
    color: var(--piss-yellow);
    font-size: 1.1em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Tweet Container Styling */
.tweet-container {
    margin-top: 30px;
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 15px;
    border: 2px solid var(--piss-yellow);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.tweet-container h3 {
    color: var(--piss-yellow);
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.4rem;
}

.tweet-link {
    display: block;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.3s ease;
}

.tweet-link:hover {
    transform: translateY(-5px);
}

.tweet-image {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.view-tweet-button {
    background-color: #1DA1F2;
    color: white;
    padding: 10px 15px;
    border-radius: 30px;
    text-align: center;
    margin: 10px auto;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    max-width: 250px;
}

.view-tweet-button:hover {
    background-color: #0c85d0;
    transform: scale(1.05);
}

.tweet-date {
    text-align: center;
    font-size: 0.9rem;
    color: #aaa;
    margin-top: 10px;
    font-style: italic;
}

/* Chart Section */
.chart-container {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

/* Contract Section */
.contract-box {
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    border: 2px solid var(--piss-yellow);
    overflow: hidden;
}

.contract-address {
    font-family: monospace;
    font-size: 1.2rem;
    color: var(--piss-yellow);
    overflow-x: auto;
    white-space: nowrap;
    padding-right: 20px;
    max-width: 100%;
    text-overflow: ellipsis;
    display: block;
}

#copy-message {
    text-align: center;
    color: var(--piss-yellow);
    font-weight: bold;
    margin-top: 10px;
    opacity: 0;
    transition: opacity 0.3s;
}

/* Meme Gallery */
.meme-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.meme-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
    aspect-ratio: 1;
}

.meme-item:hover {
    transform: scale(1.05);
}

.meme-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#load-more-memes {
    display: block;
    margin: 0 auto;
}

/* Video Gallery */
.video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
}

.video-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border: 3px solid var(--piss-yellow);
}

.video-item video {
    width: 100%;
    height: auto;
    display: block;
}

/* Meme Generator Section */
.section-description {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.meme-generator-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    margin-bottom: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.meme-generator-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    justify-content: center;
}

.meme-controls {
    flex: 0 0 300px;
    min-width: 280px;
    max-width: 300px;
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 15px;
    border: 2px solid var(--piss-yellow);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.control-group {
    margin-bottom: 20px;
}

.checkbox-group {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--piss-yellow-dark);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    color: var(--piss-yellow);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--piss-yellow);
}

.logo-options {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed rgba(255, 215, 0, 0.3);
}

.logo-options label {
    display: block;
    margin-bottom: 5px;
    margin-top: 10px;
    font-size: 0.9rem;
}

.control-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--piss-yellow);
}

.meme-input {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid var(--piss-yellow-dark);
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
    font-family: inherit;
}

.meme-input:focus {
    outline: none;
    border-color: var(--piss-yellow);
    box-shadow: 0 0 5px var(--piss-yellow);
}

.file-input {
    padding: 8px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    cursor: pointer;
    color: white;
}

.file-input::-webkit-file-upload-button {
    background-color: var(--piss-yellow);
    color: black;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    margin-right: 10px;
    cursor: pointer;
    font-weight: bold;
}

.file-input::file-selector-button {
    background-color: var(--piss-yellow);
    color: black;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    margin-right: 10px;
    cursor: pointer;
    font-weight: bold;
}

.input-help {
    font-size: 0.8rem;
    color: #aaa;
    margin-top: 5px;
    margin-bottom: 0;
    font-style: italic;
}

input[type="color"] {
    height: 40px;
    cursor: pointer;
}

input[type="range"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 10px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--piss-yellow);
    cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--piss-yellow);
    cursor: pointer;
}

.meme-buttons {
    display: flex;
    gap: 10px;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.meme-preview {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 10px;
}

#meme-canvas {
    max-width: 100%;
    height: auto;
    background-color: #333;
    border: 3px solid var(--piss-yellow);
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

/* Preview update animation */
@keyframes preview-pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(0.99); }
    100% { opacity: 1; transform: scale(1); }
}

.meme-preview.updating #meme-canvas {
    animation: preview-pulse 0.5s ease;
}

/* Tabbed interface for meme generator */
.controls-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--piss-yellow);
}

.tab-button {
    background-color: var(--section-bg);
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    flex: 1;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.tab-button.active {
    background-color: var(--piss-yellow);
    color: black;
}

.tab-content {
    display: none;
    padding: 15px 0;
}

.tab-content.active {
    display: block;
}

/* Responsive adjustments for meme generator */
@media (max-width: 768px) {
    /* Show mini preview on mobile */
    .mini-preview {
        display: block;
    }
    .meme-generator-container {
        flex-direction: column;
        align-items: center;
    }
    
    .meme-generator-layout {
        display: block;
    }
    
    .meme-controls {
        max-width: 100%;
        width: 100%;
        margin-top: 10px;
        order: 2;
    }
    
    .meme-preview {
        order: 1;
        max-width: 100%;
        margin-left: 0;
        position: relative;
        background-color: var(--main-bg);
        padding: 10px;
        margin-bottom: 10px;
        height: auto;
        max-height: 300px;
        overflow: hidden;
    }
    
    #meme-canvas {
        max-width: 100%;
        height: auto;
        max-height: 280px;
        object-fit: contain;
    }
    
    .controls-tabs {
        position: sticky;
        top: 0;
        z-index: 20;
        background-color: var(--main-bg);
        padding-top: 5px;
    }
    
    .tab-button {
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .meme-buttons {
        position: sticky;
        bottom: 0;
        z-index: 20;
        background-color: var(--main-bg);
        padding: 10px 0;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        border-top: 2px solid var(--piss-yellow);
    }
    
    .meme-buttons button {
        width: 45%;
        margin: 0;
    }
    
    /* Tab content spacing */
    .tab-content.active {
        padding: 15px 0 80px 0; /* Extra padding at bottom for sticky buttons */
    }
}

.preview-note-container {
    width: 100%;
    margin-top: 15px;
    text-align: center;
}

/* Mini floating preview for mobile */
.mini-preview {
    display: none; /* Hidden by default, shown on mobile */
    position: fixed;
    bottom: 80px;
    right: 10px;
    width: 120px;
    height: 120px;
    background-color: var(--main-bg);
    border: 2px solid var(--piss-yellow);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    z-index: 100;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mini-preview.hidden {
    transform: translateX(150px);
}

#mini-canvas {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mini-preview-toggle {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--piss-yellow);
    color: black;
    border: none;
    font-size: 10px;
    padding: 2px 5px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.mini-preview-toggle:hover {
    opacity: 1;
}

.preview-note {
    font-style: italic;
    color: #aaa;
    display: inline-block;
    background-color: rgba(26, 26, 46, 0.7);
    padding: 5px 10px;
    border-radius: 5px;
    margin: 0;
}

/* Utility Section */
.utility-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.utility-description {
    text-align: center;
    max-width: 800px;
}

.utility-description p {
    font-size: 1.3rem;
    line-height: 1.6;
}

.gold-text {
    color: #FF0000; /* Changed to red as requested */
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    margin-top: 15px;
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

.piss-o-meter {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border: 3px solid var(--piss-yellow);
}

.piss-o-meter h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--piss-yellow);
}

.color-chart {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.color-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.slider-container {
    margin-bottom: 20px;
}

.slider {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    height: 15px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--piss-yellow);
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--piss-yellow);
    cursor: pointer;
}

.hydration-result {
    text-align: center;
}

.hydration-result p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

#hydration-level {
    font-weight: bold;
    color: var(--piss-yellow);
}

/* Community Section */
#community {
    text-align: center;
}

.highlight-text {
    font-size: 1.4rem;
    color: #FF0000; /* Changed to red as requested */
    font-weight: bold;
    margin: 20px 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    padding: 10px;
    border: 2px dashed #FF0000; /* Changed border to match the red text */
    display: inline-block;
    animation: pulse 2s infinite;
}

.community-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.twitter-share {
    background-color: #1DA1F2;
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.twitter-share:hover {
    background-color: #0c85d0;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(29, 161, 242, 0.3);
}

.telegram-button {
    background-color: #0088cc;
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.telegram-button:hover {
    background-color: #0077b3;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 136, 204, 0.3);
}

/* Footer */
footer {
    background-color: rgba(10, 10, 25, 1);
    padding: 40px 0;
    border-top: 4px solid var(--piss-yellow);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.disclaimer h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--piss-yellow);
}

.disclaimer p {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.8;
}

.credits {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
}

.credits a {
    color: var(--piss-yellow);
    text-decoration: none;
}

.credits a:hover {
    text-decoration: underline;
}

/* Video Carousel Styles */
.video-carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 30px 0;
}

.video-carousel {
    width: 80%;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    background-color: var(--card-bg);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.video-item {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.video-item video {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    background-color: #000;
    display: block;
}

.carousel-btn {
    background-color: var(--piss-yellow);
    color: #000;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    margin: 0 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
    background-color: #FFD700;
    transform: scale(1.1);
}

.carousel-ind.video-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: var(--piss-yellow);
    transform: scale(1.2);
}

/* Responsive adjustments for video carousel */
@media (max-width: 768px) {
    .video-carousel {
        width: 90%;
    }
    
    .carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .video-item video {
        max-height: 300px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text, .about-video {
        width: 100%;
    }
    
    .about-video {
        margin-left: 0;
        margin-top: 30px;
    }
    
    .hero-video-banner {
        max-width: 100%;
        height: auto;
    }
}

/* Meme Gallery - Pornhub Style */
.section-header {
    margin-bottom: 25px;
    text-align: center;
}

.section-header h2 {
    font-size: 32px;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 800;
}

.ph-title {
    color: var(--piss-yellow);
    background-color: #000;
    padding: 2px 8px;
    margin-right: 5px;
    border-radius: 3px;
}

.section-subtitle {
    color: #aaaaaa;
    font-size: 16px;
    margin-bottom: 20px;
}

.meme-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.meme-category-link {
    color: #ffffff;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 3px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.meme-category-link:hover {
    background-color: #333333;
}

.meme-category-link.active {
    background-color: var(--piss-yellow);
    color: #000000;
    font-weight: bold;
}

.meme-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.meme-item {
    position: relative;
    border-radius: 3px;
    overflow: hidden;
    background-color: #000000;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.meme-item:hover {
    transform: translateY(-5px);
}

.meme-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.meme-info {
    padding: 10px;
    background-color: #1a1a1a;
}

.meme-title {
    color: #ffffff;
    font-size: 14px;
    margin: 0 0 5px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.meme-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #aaaaaa;
}

.meme-views {
    display: flex;
    align-items: center;
}

.meme-views i {
    margin-right: 5px;
    color: var(--piss-yellow);
}

.meme-category {
    display: inline-block;
    background-color: var(--nav-red);
    color: #ffffff;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 10px;
    position: absolute;
    top: 10px;
    left: 10px;
    text-transform: uppercase;
    font-weight: bold;
}

.meme-duration {
    position: absolute;
    bottom: 50px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 12px;
}

#load-more-memes {
    display: block;
    margin: 30px auto;
    background-color: var(--piss-yellow);
    color: #000000;
    border: none;
    padding: 12px 30px;
    font-weight: bold;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#load-more-memes:hover {
    background-color: #FFA500;
}

/* Responsive adjustments for meme gallery */
@media (max-width: 768px) {
    .meme-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .meme-item img {
        height: 120px;
    }
}

/* Video Section - Pornhub Style */
.video-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .video-categories {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        white-space: nowrap;
        -ms-overflow-style: none; /* IE and Edge */
        scrollbar-width: none; /* Firefox */
    }
    
    .video-categories::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
}

.video-category-link {
    color: #ffffff;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 3px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.video-category-link:hover {
    background-color: #333333;
}

.video-category-link.active {
    background-color: var(--piss-yellow);
    color: #000000;
    font-weight: bold;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr; /* Stack videos in a single column on mobile */
        gap: 15px;
    }
    
    .video-card {
        height: auto;
        max-width: 100%;
    }
    
    .video-thumbnail {
        height: 200px; /* Fixed height for mobile thumbnails */
    }
    
    .play-button {
        width: 60px;
        height: 60px;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
    }
    
    .play-icon {
        font-size: 30px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr); /* Two columns for tablets */
    }
}

.video-card {
    position: relative;
    border-radius: 3px;
    overflow: hidden;
    background-color: #000000; /* Black background */
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    border: 2px solid #FFFFFF; /* White border */
    height: 280px; /* Fixed height to ensure consistent layout */
}

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

/* Enhance play button on hover */
.video-card:hover .play-button {
    background-color: rgba(255, 153, 0, 1); /* Fully opaque on hover */
    box-shadow: 0 0 15px rgba(255, 153, 0, 0.8);
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    height: 180px; /* Fixed height */
}

.thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .thumbnail-img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 153, 0, 0.9);
    border-radius: 50%;
    opacity: 1;
    z-index: 10;
    border: 2px solid #FFFFFF;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button i {
    color: #000000;
    font-size: 20px;
}

/* Play button styling is now directly on the .play-button element */

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
}

.video-category {
    display: inline-block;
    background-color: var(--nav-red);
    color: #ffffff;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 10px;
    position: absolute;
    top: 10px;
    left: 10px;
    text-transform: uppercase;
    font-weight: bold;
}

.video-info {
    padding: 10px;
    background-color: var(--piss-yellow); /* Orange background */
    border-top: 2px solid #000000;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 4;
    height: 40px; /* Fixed height */
}

.video-title {
    color: #000000; /* Black text for contrast */
    font-size: 14px;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: bold;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5); /* Add text shadow for better readability */
}

.video-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #000000; /* Black text for contrast */
}

.video-views {
    display: flex;
    align-items: center;
}

.video-views i, .video-rating i {
    margin-right: 5px;
    color: #000000; /* Black icons */
}

/* Add an orange background to the title area for better visibility */
.video-title-area {
    background-color: var(--piss-yellow);
    color: #000000; /* Black text for contrast */
    padding: 8px;
    border-radius: 0;
    position: absolute;
    bottom: 40px; /* Position right above the info bar */
    left: 0;
    right: 0;
    z-index: 5;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.5);
}

/* Video Modal */

/* Add a custom control bar */
.video-controls-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--piss-yellow); /* Orange background */
    padding: 10px 15px;
    border-radius: 0 0 4px 4px;
    margin-top: -5px; /* Connect with video */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.video-controls-left, .video-controls-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.video-control-button {
    background: none;
    border: none;
    color: #000000; /* Black text for contrast with orange */
    font-size: 18px;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease;
    padding: 5px 10px;
    border-radius: 4px;
}

.video-control-button:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

.video-progress {
    flex-grow: 1;
    height: 8px;
    background-color: rgba(0, 0, 0, 0.3); /* Semi-transparent black */
    border-radius: 4px;
    margin: 0 15px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.5);
}

.video-progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background-color: #000000; /* Black progress bar */
    width: 0%;
}

.video-time {
    color: #000000; /* Black text for contrast */
    font-size: 14px;
    min-width: 80px;
    text-align: center;
    font-weight: bold;
}

/* Force video controls to be visible */
video::-webkit-media-controls {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

video::-webkit-media-controls-enclosure {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    background-color: rgba(0, 0, 0, 0.7);
    border-top: 2px solid var(--piss-yellow);
}

.video-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    background-color: #000000; /* Black header */
    padding: 10px 15px;
    margin: -15px -15px 15px -15px; /* Extend to edges */
    border-bottom: 2px solid #FFFFFF;
}

.video-modal-title {
    color: #FFFFFF; /* White text */
    font-size: 18px;
    margin: 0;
    font-weight: bold;
}

.close-video {
    position: relative; /* Changed from absolute */
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    background-color: #cc0000; /* Red background */
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 2002;
    line-height: 1;
}

.close-video:hover {
    background-color: #ff0000; /* Brighter red on hover */
}

/* Custom video controls - ensure they're always visible */
video::-webkit-media-controls {
    background-color: #1a1a1a;
    border-radius: 0 0 4px 4px;
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
}

video::-webkit-media-controls-panel {
    background-color: rgba(26, 26, 26, 0.9);
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
}

video::-webkit-media-controls-play-button {
    background-color: var(--piss-yellow);
    border-radius: 50%;
    opacity: 1 !important;
    visibility: visible !important;
}

video::-webkit-media-controls-timeline {
    background-color: #333;
    height: 8px;
    border-radius: 4px;
    margin: 0 10px;
}

video::-webkit-media-controls-volume-slider {
    background-color: #333;
    border-radius: 4px;
    height: 8px;
}

video::-webkit-media-controls-mute-button,
video::-webkit-media-controls-fullscreen-button {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
        padding: 10px;
    }
    
    .video-modal-title {
        font-size: 16px;
    }
}

.close-video {
    position: absolute;
    top: -40px;
    right: 0;
    color: #ffffff;
    font-size: 30px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-video:hover {
    color: var(--piss-yellow);
}

#load-more-videos {
    display: block;
    margin: 30px auto;
    background-color: var(--piss-yellow);
    color: #000000;
    border: none;
    padding: 12px 30px;
    font-weight: bold;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#load-more-videos:hover {
    background-color: #FFA500;
}

/* Responsive adjustments for video grid */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .thumbnail-img {
        height: 140px;
    }
    
    .play-button {
        width: 40px;
        height: 40px;
    }
    
    .play-button i {
        font-size: 18px;
    }
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* Media Queries */
@media (max-width: 768px) {
    /* Fix for italic font on mobile */
    body, p, h1, h2, h3, h4, h5, h6, a, span, div {
        font-style: normal !important;
        font-family: 'Comic Sans MS', 'Arial', sans-serif !important;
    }
    
    .banner h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .section h2 {
        font-size: 2rem;
    }
    
    .desktop-menu {
        display: none;
    }
    
    .burger-menu-button {
        display: flex;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .video-gallery {
        grid-template-columns: 1fr;
    }
    
    .contract-box {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .contract-address {
        margin-bottom: 10px;
        padding-right: 0;
        font-size: 0.9rem;
        width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
        word-break: break-all;
        white-space: normal;
    }
    
    #hero {
        height: auto; /* Auto height based on content */
        min-height: 500px; /* Minimum height */
        max-height: 100vh; /* Maximum height */
        background-size: contain; /* Ensure image fits within the viewport */
        background-position: top center;
        padding: 60px 0; /* Add padding for content */
        background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3)), url('images/pisscoinbanner.jpg');
        background-size: contain;
        background-position: top center;
        background-repeat: no-repeat;
    }
    
    .hero-content {
        padding: 20px;
        max-width: 90%;
        margin-top: -50px; /* Adjust position to account for smaller screen */
    }
    
    .hero-content .tagline {
        font-size: 1.6rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .piss-o-meter {
        padding: 15px;
    }
    
    .color-chart {
        justify-content: space-around;
    }
    
    .color-item {
        width: 40px;
        height: 40px;
    }
    
    .footer-content {
        text-align: center;
    }
}
