/*!
Theme Name: ZoroNemo Anime Streaming
Theme URI: https://zoronemo.com/
Author: ZoroNemo
Author URI: https://zoronemo.com/
Description: Professional Anime Streaming WordPress Theme powered by MegaPlay API. Features HD video streaming, SUB/DUB support, favorites, sharing, mobile responsive design, and beautiful anime grid layout. Perfect for anime streaming websites.
Version: 4.0.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: zorotones_wp
Tags: Anime, Streaming, Video, MegaPlay, HD, SUB, DUB, Mobile, Responsive, Dark Theme, Entertainment
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.
Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/* Modern Dark Theme - Clean Implementation */

/* CSS Variables */
:root {
    --background-dark: #121212;
    --background-light: #181818;
    --container-bg: #282828;
    --border-color: #404040;
    --text-primary: #FFFFFF;
    --text-secondary: #B3B3B3;
    --accent-green: #1DB954;
    --border-radius-md: 12px;
    --border-radius-lg: 24px;
    --border-radius-full: 50px;
    --pc: #1DB954; /* Legacy compatibility */
}

/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-family: sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-dark);
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
    font-size: 16px;
    font-weight: 400;
    text-align: left;
    overflow-x: hidden; /* Prevent horizontal scroll */
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: var(--accent-green);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--text-primary);
}

/* Container */
.codehap_container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header */
.site-header {
    background-color: var(--background-light);
    padding: 20px 0;
    border-bottom: 1px solid var(--container-bg);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

.site-header .codehap_container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 0 0 auto;
}

.site-branding-logo {
    width: 50px;
    height: 50px;
}

.custom-logo {
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-full);
    object-fit: cover;
}

.site-branding-text {
    display: flex;
    flex-direction: column;
}

.site-title a {
    color: var(--accent-green);
    font-size: 1.5em;
    font-weight: 700;
    text-decoration: none;
}

.site-description {
    color: var(--text-secondary);
    font-size: 0.9em;
    margin: 0;
}

/* Search */
.codehap_search {
    flex: 1;
    max-width: 500px;
    margin: 0 20px;
}

.search-form {
    position: relative;
    width: 100%;
}

.search-input {
    display: flex;
    align-items: center;
    background-color: var(--container-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-full);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.search-input:focus-within {
    border-color: var(--accent-green);
    box-shadow: 0 0 10px rgba(29, 185, 84, 0.3);
}

.search-input .icon {
    padding: 0 15px;
    color: var(--text-secondary);
    fill: var(--text-secondary);
    width: 20px;
    height: 20px;
}

.search-input input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 12px 15px 12px 0;
    font-size: 16px;
    outline: none;
}

.search-input input::placeholder {
    color: var(--text-secondary);
}

/* Mobile Menu */
.codehap_sidebar_menu {
    display: none;
    cursor: pointer;
    color: var(--accent-green);
}

.codehap_sidebar_menu svg {
    width: 30px;
    height: 30px;
    fill: var(--accent-green);
}

/* Main Content Area */
.codehap_container.main-container {
    display: block;
    margin-top: 30px;
    width: 100%;
    max-width: 1400px;
}

.site-main {
    width: 100%;
    max-width: 100%;
}

.widget-area {
    display: none; /* Hide sidebar on main page for clean ZoroTones look */
}

/* Welcome Section */
.welcome-section {
    background: linear-gradient(135deg, #2a4a5c, #1e3a4a);
    padding: 60px 40px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.3;
}

.welcome-section h1 {
    color: var(--text-primary);
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.welcome-section p {
    color: var(--text-secondary);
    font-size: 1.2em;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Section Titles */
.section-title {
    color: var(--text-primary);
    font-size: 2.2em;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    width: 100%;
}

/* Ringtone Grid */
.ringtones {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 50px;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Ringtone Card */
.ringtones article {
    background-color: var(--container-bg);
    border-radius: var(--border-radius-md);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    min-height: 120px;
    width: 100%;
    flex-direction: row;
}

.ringtones article:hover {
    background-color: #2a2a2a;
    transform: translateY(-5px);
    border-color: var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Play Button */
.button.player {
    width: 60px;
    height: 60px;
    background-color: var(--accent-green);
    border-radius: var(--border-radius-full);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    flex-shrink: 0;
}

.button.player:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(29, 185, 84, 0.5);
}

.button.player .icon {
    color: var(--background-dark);
    width: 24px;
    height: 24px;
    fill: var(--background-dark);
}

/* Ringtone Details */
.details {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.data {
    flex: 1;
    min-width: 0;
    max-width: 100%;
}

.data a {
    text-decoration: none;
    display: block;
}

.title {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.2em;
    margin-bottom: 8px;
    display: block;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.info {
    color: var(--text-secondary);
    font-size: 0.9em;
    margin-bottom: 10px;
}

/* Action Buttons */
.bottom-wrap {
    display: flex;
    gap: 10px;
    align-items: center;
}

.share-button,
.download-button {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-full);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.share-button {
    background-color: var(--border-color);
}

.download-button {
    background-color: var(--accent-green);
}

.share-button:hover,
.download-button:hover {
    transform: scale(1.1);
}

.share-button svg,
.download-button svg {
    width: 20px;
    height: 20px;
    fill: var(--text-primary);
}

/* Tags */
.tags {
    margin-top: 10px;
    overflow: hidden;
    max-width: 100%;
    word-wrap: break-word;
}

.tags-links a {
    color: var(--text-primary);
    background-color: var(--accent-green);
    padding: 4px 12px;
    border-radius: var(--border-radius-full);
    font-size: 12px;
    text-transform: capitalize;
    margin-right: 5px;
    margin-bottom: 5px;
    display: inline-block;
    transition: background-color 0.3s ease;
}

/* Show only first 3 tags in each article */
.tags-links a:nth-child(n+4) {
    display: none;
}

.tags-links a:hover {
    background-color: var(--border-color);
}

/* Sidebar Widgets */
.widget {
    margin-bottom: 30px;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget h2 {
    color: var(--text-primary);
    font-size: 1.3em;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget ul li {
    margin-bottom: 8px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(64, 64, 64, 0.3);
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.widget ul li a:hover {
    color: var(--accent-green);
}

/* Pagination */
.codehap-pagination {
    margin: 30px 0;
    text-align: center;
}

.codehap-pagination a,
.codehap-pagination span {
    color: var(--text-primary);
    display: inline-block;
    text-decoration: none;
    background-color: var(--container-bg);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    margin: 0 5px;
    padding: 12px 18px;
    line-height: 1;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.codehap-pagination a:hover,
.codehap-pagination span.current {
    background-color: var(--accent-green);
    border-color: var(--accent-green);
}

.codehap-pagination span.current {
    cursor: default;
}

/* Footer */
.site-footer {
    background-color: var(--background-light);
    color: var(--text-secondary);
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
    border-top: 1px solid var(--container-bg);
}

.site-footer a {
    color: var(--accent-green);
    text-decoration: none;
}

/* Tags Section */
.tagsCodehapBox {
    background-color: var(--container-bg);
    padding: 30px 15px;
    border-radius: var(--border-radius-md);
    margin: 40px auto;
    text-align: center;
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
}

.tagsCodehapBox h2 {
    color: var(--text-primary);
    font-size: 2em;
    font-weight: 600;
    margin-bottom: 30px;
}

.tagsCodehap {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    max-width: 100%;
    overflow: hidden;
}

.tagsCodehap li {
    display: inline-block;
    flex-shrink: 0;
}

/* Show only first 3 tags */
.tagsCodehap li:nth-child(n+4) {
    display: none;
}

.tagsCodehap li a {
    color: var(--text-secondary);
    background-color: var(--background-light);
    padding: 10px 18px;
    border-radius: var(--border-radius-full);
    font-size: 0.9em;
    transition: all 0.3s ease;
    display: block;
    border: 1px solid var(--border-color);
    font-weight: 500;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 200px;
}

.tagsCodehap li a:hover {
    background-color: var(--accent-green);
    color: var(--text-primary);
    border-color: var(--accent-green);
    transform: translateY(-2px);
}

/* Mobile Navigation */
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    background-color: var(--background-light);
    overflow-x: hidden;
    transition: 0.3s;
    padding-top: 20px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
}

.sidenav.open {
    width: 280px;
}

.nav_head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.nav_title {
    color: var(--text-primary);
    font-size: 1.3em;
    font-weight: 600;
}

.closebtn {
    color: var(--text-primary);
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    padding: 15px 25px;
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(64, 64, 64, 0.3);
}

.main-navigation a:hover {
    background-color: var(--container-bg);
    color: var(--accent-green);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .codehap_container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .ringtones {
        gap: 15px;
        max-width: 100%;
    }
}

@media (max-width: 992px) {
    .ringtones {
        gap: 15px;
    }
    
    .welcome-section {
        padding: 40px 30px;
    }
    
    .welcome-section h1 {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .site-branding-text {
        display: none;
    }
    
    .codehap_sidebar_menu {
        display: block;
    }
    
    .codehap_search {
        order: -1;
        flex: 1;
        margin: 0 10px 0 0;
        max-width: none;
    }
    
    .ringtones {
        gap: 15px;
    }
    
    .welcome-section {
        padding: 30px 20px;
    }
    
    .welcome-section h1 {
        font-size: 2.2em;
    }
    
    .section-title {
        font-size: 1.8em;
    }
    
    .codehap_container {
        padding: 0 15px;
    }
    
    /* Article tags responsive */
    .tags {
        margin-top: 8px;
        overflow: hidden;
    }
    
    .tags-links a {
        font-size: 11px;
        padding: 3px 10px;
        margin-right: 4px;
        margin-bottom: 4px;
    }
    
    /* Title responsive styling for tablet */
    .title {
        font-size: 1.1em;
        line-height: 1.3;
        margin-bottom: 6px;
    }
}

@media (max-width: 480px) {
    .ringtones article {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        min-height: auto;
        padding: 15px;
    }
    
    .details {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .data {
        width: 100%;
        text-align: center;
    }
    
    /* Title mobile styling */
    .title {
        font-size: 1.1em;
        line-height: 1.4;
        margin-bottom: 8px;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        max-width: 100%;
        padding: 0 10px;
        font-weight: 700;
    }
    
    .bottom-wrap {
        justify-content: center;
    }
    
    .welcome-section h1 {
        font-size: 1.8em;
    }
    
    .codehap_container {
        padding: 0 10px;
    }
    
    .tagsCodehapBox {
        padding: 20px 10px;
        margin: 30px auto;
    }
    
    .tagsCodehapBox h2 {
        font-size: 1.5em;
        margin-bottom: 20px;
    }
    
    .tagsCodehap {
        gap: 8px;
        flex-direction: column;
        align-items: center;
    }
    
    .tagsCodehap li {
        width: 100%;
        max-width: 280px;
    }
    
    .tagsCodehap li a {
        padding: 12px 16px;
        font-size: 0.85em;
        width: 100%;
        box-sizing: border-box;
        max-width: none;
        text-align: center;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
    .codehap_container {
        padding: 0 5px;
    }
    
    .tagsCodehapBox {
        padding: 15px 5px;
        margin: 20px auto;
    }
    
    .tagsCodehap li a {
        padding: 10px 12px;
        font-size: 0.8em;
    }
    
    .welcome-section {
        padding: 30px 15px;
    }
    
    .welcome-section h1 {
        font-size: 1.5em;
    }
    
    .welcome-section p {
        font-size: 0.9em;
        line-height: 1.5;
    }
    
    /* Article tags for very small screens */
    .tags-links a {
        font-size: 10px;
        padding: 2px 8px;
        margin-right: 3px;
        margin-bottom: 3px;
    }
    
    /* Ensure titles are fully visible on very small screens */
    .title {
        font-size: 1.05em;
        line-height: 1.3;
        margin-bottom: 6px;
        font-weight: 700;
        letter-spacing: 0.5px;
    }
    
    .info {
        font-size: 0.85em;
        margin-bottom: 8px;
    }
}

/* High DPI and Zoom Support */
@media (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
    .icon {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Large Screen Optimization */
@media (min-width: 1400px) {
    .codehap_container {
        max-width: 1600px;
    }
    
    .ringtones {
        max-width: 1400px;
        gap: 25px;
    }
}

/* Post Content Classes */
.post-1, .type-post, .status-publish, .format-standard, .hentry, .category-uncategorized {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.entry-content, .entry-summary {
    max-width: 100%;
    overflow: hidden;
    word-wrap: break-word;
}

/* Utility Classes */
.screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Icon Base */
.icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    stroke-width: 0;
    stroke: currentColor;
    fill: currentColor;
}

/* Animations */
.spin {
    animation: spin 2s infinite linear;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* WordPress Core Styles */
.alignleft {
    float: left;
    margin-right: 1.5em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9em;
    margin-top: 0.5em;
}

/* Content Styles for Single Posts */
.CODEHAP_main_content {
    background-color: var(--container-bg);
    border-radius: var(--border-radius-md);
    padding: 30px;
    margin-bottom: 30px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.entry-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.entry-title {
    color: var(--text-primary);
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

/* Single Post Meta Layout */
.post-meta-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px 20px;
    background-color: var(--background-light);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    gap: 20px;
}

.post-meta-left {
    flex: 0 0 auto;
}

.post-meta-center {
    flex: 1;
    text-align: center;
}

.post-meta-right {
    flex: 0 0 auto;
}

.cat-links {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-green);
    font-size: 0.9em;
    font-weight: 500;
}

.cat-links svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.duration-views {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9em;
    font-weight: 500;
}

.duration-views svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.separator {
    color: var(--text-secondary);
    margin: 0 8px;
    opacity: 0.7;
}

.share-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.share-buttons .info {
    width: 36px;
    height: 36px;
    background-color: var(--container-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-full);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.share-buttons .info:hover {
    background-color: var(--accent-green);
    color: var(--text-primary);
    border-color: var(--accent-green);
    transform: translateY(-2px);
}

.share-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.share-buttons .favorites-btn,
.share-buttons .info-btn,
.share-buttons .share-btn {
    width: 36px;
    height: 36px;
    background-color: var(--container-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-full);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
    position: relative;
}

.share-buttons .favorites-btn:hover {
    background-color: #ff4757;
    color: white;
    border-color: #ff4757;
    transform: translateY(-2px);
}

.share-buttons .info-btn:hover {
    background-color: #3742fa;
    color: white;
    border-color: #3742fa;
    transform: translateY(-2px);
}

.share-buttons .share-btn:hover {
    background-color: var(--accent-green);
    color: white;
    border-color: var(--accent-green);
    transform: translateY(-2px);
}

.share-buttons svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.favorites-btn.favorited {
    background-color: #ff4757;
    color: white;
    border-color: #ff4757;
}

.fav-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-green);
    color: white;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 10px;
    min-width: 16px;
    text-align: center;
    font-weight: bold;
}

/* Player Section */
.player-section {
    margin: 30px 0;
    text-align: center;
}

.content2 {
    display: inline-block;
}

/* Author and Date Info */
.author-date-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    font-size: 0.9em;
    color: var(--text-secondary);
}

.author-info,
.date-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

#info-codehap {
    background-color: var(--background-light);
    padding: 20px;
    border-radius: var(--border-radius-md);
    margin: 20px 0;
    text-align: center;
    line-height: 1.6;
    color: var(--text-secondary);
}

#info-codehap strong {
    color: var(--accent-green);
}

/* Responsive adjustments for single post meta */
@media (max-width: 768px) {
    .post-meta-info {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .post-meta-left,
    .post-meta-center,
    .post-meta-right {
        width: 100%;
        text-align: center;
    }
    
    .duration-views {
        justify-content: center;
    }
    
    /* Removed non-working share-buttons responsive CSS */
    
    .author-date-info {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .CODEHAP_main_content {
        padding: 20px 15px;
        margin: 15px 0;
    }
    
    .entry-title {
        font-size: 1.6em;
    }
    
    .post-meta-info {
        padding: 12px;
        gap: 12px;
    }
    
    /* Removed non-working share-buttons responsive CSS */
    
    .share-buttons .info svg {
        width: 16px;
        height: 16px;
    }
}

.entry-meta {
    color: var(--text-secondary);
    font-size: 0.9em;
}

.entry-content {
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 100%;
    word-wrap: break-word;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: var(--text-primary);
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.entry-content p {
    margin-bottom: 1em;
}

.entry-content a {
    color: var(--accent-green);
}

.entry-content a:hover {
    color: var(--text-primary);
}

/* Single Post Audio Player Styles */
.content2 {
    text-align: center;
    margin: 30px 0;
}

.content2 .player {
    background-color: var(--accent-green);
    border-radius: var(--border-radius-full);
    width: 100px;
    height: 100px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    margin: 20px auto;
}

.content2 .player:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(29, 185, 84, 0.5);
}

.content2 .player .icon {
    color: var(--background-dark);
    width: 40px;
    height: 40px;
    fill: var(--background-dark);
}

/* Download Buttons */
.CodeHapDL {
    text-align: center;
    margin: 30px 0;
}

.CodeHapDL a {
    color: var(--text-primary);
    background-color: var(--accent-green);
    padding: 15px 30px;
    border-radius: var(--border-radius-full);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    margin: 5px;
}

.CodeHapDL a:hover {
    background-color: #1ed760;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(29, 185, 84, 0.3);
}

/* YouTube Button Styling */
.CodeHapDL a#youtube-link {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
}

.CodeHapDL a#youtube-link:hover {
    background: linear-gradient(135deg, #ff3333 0%, #e60000 100%);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3);
    transform: translateY(-3px);
}

.CodeHapDL a#youtube-link:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.CodeHapDL a#youtube-link:hover:before {
    left: 100%;
}

/* Tags for Single Post */
.CodeHaptags {
    background-color: var(--container-bg);
    border-radius: var(--border-radius-md);
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.CodeHaptags .tags-links a {
    color: var(--text-secondary);
    background-color: var(--background-light);
    padding: 8px 16px;
    border-radius: var(--border-radius-full);
    font-size: 0.9em;
    transition: all 0.3s ease;
    display: inline-block;
    margin: 5px;
    text-decoration: none;
    border: 1px solid var(--border-color);
}

.CodeHaptags .tags-links a:hover {
    background-color: var(--accent-green);
    color: var(--text-primary);
    border-color: var(--accent-green);
}

/* Comments */
.comments-area {
    background-color: var(--container-bg);
    border-radius: var(--border-radius-md);
    padding: 30px;
    margin-top: 30px;
}

.comments-title {
    color: var(--text-primary);
    font-size: 1.5em;
    margin-bottom: 20px;
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
}

.comment:last-child {
    border-bottom: none;
}

.comment-author {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 10px;
}

.comment-content {
    color: var(--text-secondary);
    line-height: 1.6;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    background-color: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 12px 15px;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-family: inherit;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--accent-green);
}

.comment-form .submit {
    background-color: var(--accent-green);
    color: var(--text-primary);
    padding: 12px 30px;
    border: none;
    border-radius: var(--border-radius-full);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.comment-form .submit:hover {
    background-color: #1ed760;
    transform: translateY(-2px);
}

/* ================================
   SEO ENHANCEMENTS
   ================================ */

/* Related Ringtones SEO Section */
.related-ringtones-seo {
    background: var(--dark-container);
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    border: 1px solid var(--border-color);
}

.related-ringtones-seo h2 {
    color: var(--accent-green);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

/* Enhanced Category Description Styling */
.category-seo-description {
    background: var(--dark-container);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid var(--accent-green);
    font-size: 1.1rem;
    line-height: 1.6;
}

.category-seo-description p {
    margin: 0;
    color: var(--text-secondary);
}

/* SEO H1 Title Enhancement */
.entry-title {
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 20px;
}

/* Archive Page SEO Improvements */
.page-title {
    color: var(--accent-green);
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
}

.archive-description {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Mobile Responsiveness for SEO Elements */
@media screen and (max-width: 768px) {
    .related-ringtones-seo {
        padding: 20px 15px;
        margin: 20px 10px;
    }
    
    .related-ringtones-seo h2 {
        font-size: 1.3rem;
    }
    
    .category-seo-description {
        padding: 15px;
        margin: 15px 10px;
        font-size: 1rem;
    }
    
    .page-title {
        font-size: 1.5rem;
        padding: 0 15px;
    }
    
    .archive-description {
        font-size: 1rem;
        padding: 0 15px;
    }
}

/* ===============================================
   DOWNLOAD POPUP SYSTEM - ADVANCED MODAL
   =============================================== */

/* Main Download Button Enhancement */
.download-main-button {
    background: linear-gradient(135deg, #1DB954 0%, #1ed760 100%);
    border: none;
    border-radius: 50px;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(29, 185, 84, 0.4);
    position: relative;
    overflow: hidden;
    min-width: 280px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto;
}

.download-main-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(29, 185, 84, 0.5);
    background: linear-gradient(135deg, #1ed760 0%, #22dd63 100%);
}

.download-main-button:active {
    transform: translateY(-1px);
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.download-button-content {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-weight: 600;
    padding: 0 44px;
    width: 100%;
    height: 100%;
    justify-content: center;
}

.download-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}

.download-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.download-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.025em;
}

.download-subtitle {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.9;
    line-height: 1;
    letter-spacing: 0.02em;
}

/* Ripple Effect */
.download-main-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
    border-radius: inherit;
}

.download-main-button:active::before {
    transform: scale(1);
    transition: transform 0s;
}

/* Shimmer Effect */
.download-main-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.8s ease;
}

.download-main-button:hover::after {
    left: 100%;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .download-main-button {
        min-width: 260px;
        height: 56px;
    }
    
    .download-title {
        font-size: 15px;
    }
    
    .download-subtitle {
        font-size: 11px;
    }
    
    .download-icon {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 480px) {
    .download-main-button {
        min-width: 240px;
        height: 52px;
    }
    
    .download-button-content {
        padding: 0 40px;
        gap: 10px;
    }
    
    .download-title {
        font-size: 14px;
    }
    
    .download-subtitle {
        font-size: 10px;
    }
}

/* Focus States for Accessibility */
.download-main-button:focus {
    outline: none;
    box-shadow: 0 8px 24px rgba(29, 185, 84, 0.4), 0 0 0 3px rgba(29, 185, 84, 0.3);
}

.download-main-button:focus:not(:focus-visible) {
    box-shadow: 0 8px 24px rgba(29, 185, 84, 0.4);
}

/* Container Styling */
.CodeHapDL {
    text-align: center;
    margin: 40px 0;
    padding: 20px;
}

/* Post Content Container */
.post-content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: var(--surface-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    margin-top: 20px;
}

/* Post Description Info */
.post-description-info {
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.1) 0%, rgba(30, 215, 96, 0.05) 100%);
    border: 1px solid rgba(29, 185, 84, 0.2);
    border-radius: var(--border-radius-md);
    padding: 24px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.post-description-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-green);
}

.description-content p {
    margin: 0 0 12px 0;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 15px;
}

.description-content p:last-child {
    margin-bottom: 0;
}

.description-content strong {
    color: var(--accent-green);
    font-weight: 600;
}

/* Post Tags Container */
.post-tags-container {
    background: var(--background-secondary);
    border-radius: var(--border-radius-md);
    padding: 20px;
    margin: 32px 0;
    border: 1px solid var(--border-color);
}

.post-tags-container .tags-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.post-tags-container .tags-links a {
    background: var(--accent-green);
    color: white;
    padding: 6px 12px;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.post-tags-container .tags-links a:hover {
    background: var(--accent-green-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(29, 185, 84, 0.3);
}

/* Copyright Notice */
.copyright-notice {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 152, 0, 0.05) 100%);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: var(--border-radius-md);
    padding: 24px;
    margin-top: 32px;
    position: relative;
}

.copyright-notice::before {
    content: '⚠️';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 20px;
}

.notice-content {
    margin-left: 36px;
}

.notice-content h4 {
    color: #f57c00;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notice-content p {
    margin: 0 0 12px 0;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 14px;
}

.notice-content p:last-child {
    margin-bottom: 0;
}

.notice-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.notice-content a {
    color: var(--accent-green);
    text-decoration: none;
    font-weight: 500;
}

.notice-content a:hover {
    color: var(--accent-green-dark);
    text-decoration: underline;
}

/* Entry Content Enhancements */
.post-content-container .entry-content {
    background: transparent;
    border-radius: var(--border-radius-md);
    padding: 32px;
    margin: 24px 0;
    box-shadow: none;
    border: none;
}

/* Rich Content Placeholder */
.rich-content-placeholder {
    background: transparent;
    border-radius: var(--border-radius-md);
    padding: 0;
    margin: 0;
}

.content-section {
    padding: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    border-radius: var(--border-radius-md);
    margin-bottom: 16px;
}

.content-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.content-section h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.content-section p {
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    margin: 0 0 12px 0;
    font-size: 15px;
}

.content-section p:last-child {
    margin-bottom: 0;
}

.content-section strong {
    color: var(--accent-green);
    font-weight: 600;
}

/* Device List Styling */
.device-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
}

.device-list li {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--border-radius-sm);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.device-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    border-color: var(--accent-green);
    background: rgba(29, 185, 84, 0.1);
}

.device-list li {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

.device-icon {
    font-size: 20px;
    flex-shrink: 0;
}

/* Features List Styling */
.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.features-list li {
    background: rgba(29, 185, 84, 0.15);
    border: 1px solid rgba(29, 185, 84, 0.3);
    border-radius: var(--border-radius-sm);
    padding: 14px 16px;
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.features-list li:hover {
    background: rgba(29, 185, 84, 0.25);
    border-color: var(--accent-green);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(29, 185, 84, 0.2);
}

.features-list li::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--accent-green);
    border-radius: 50%;
    opacity: 0.7;
}

/* Enhanced Features CSS - All New Feature Styles */

/* ==================== MODAL STYLES ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.modal-container {
    background: var(--container-bg);
    border-radius: var(--border-radius-lg);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.2em;
}

.close-modal {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 5px;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.modal-content {
    padding: 20px;
}

/* Info Modal Styles */
.info-grid {
    display: grid;
    gap: 15px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-sm);
    border-left: 3px solid var(--accent-green);
}

.info-item strong {
    color: var(--text-primary);
    font-weight: 600;
}

.info-item span {
    color: var(--text-secondary);
}

/* Share Modal Styles */
.share-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
    font-size: 0.9em;
}

.share-option:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.share-option svg {
    transition: transform 0.3s ease;
}

.share-option:hover svg {
    transform: scale(1.1);
}

/* ==================== ENHANCED PLAYER SECTION ==================== */
.enhanced-player-section {
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.1) 0%, rgba(30, 215, 96, 0.05) 100%);
    border: 1px solid rgba(29, 185, 84, 0.3);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    margin: 24px 0;
}

.player-main-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.play-button-wrapper {
    flex-shrink: 0;
}

.player-info {
    flex: 1;
}

.track-title {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}

.track-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

.separator {
    color: rgba(255,255,255,0.4);
}

/* Waveform Visualization */
.waveform-container {
    position: relative;
    margin: 20px 0;
    background: rgba(0,0,0,0.2);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

#waveform-canvas {
    width: 100%;
    height: 80px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

#waveform-canvas:hover {
    opacity: 0.8;
}

.waveform-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, rgba(29, 185, 84, 0.6), rgba(30, 215, 96, 0.8));
    transition: width 0.1s ease;
    pointer-events: none;
}

.waveform-time-markers {
    display: flex;
    justify-content: space-between;
    padding: 4px 8px;
    font-size: 11px;
    color: rgba(255,255,255,0.6);
}

/* Audio Controls */
.audio-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.volume-slider {
    width: 80px;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    width: 12px;
    height: 12px;
    background: var(--accent-green);
    border-radius: 50%;
    cursor: pointer;
    -webkit-appearance: none;
}

.speed-control {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.speed-selector {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.loop-btn, .shuffle-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
}

.loop-btn:hover, .shuffle-btn:hover {
    background: rgba(255,255,255,0.1);
    color: var(--accent-green);
}

.loop-btn.active {
    color: var(--accent-green);
    background: rgba(29, 185, 84, 0.2);
}

/* ==================== ENHANCED DOWNLOAD SECTION ==================== */
.enhanced-download-section {
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    margin: 32px 0;
    text-align: center;
}

.quick-actions-bar {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.quick-action {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.8);
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    text-decoration: none;
}

.quick-action:hover {
    background: rgba(29, 185, 84, 0.2);
    border-color: var(--accent-green);
    color: white;
    transform: translateY(-2px);
}

.download-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==================== RATING SYSTEM ==================== */
.rating-display {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    display: flex;
    gap: 2px;
}

.star, .rating-star {
    color: #ccc;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.star.filled, .rating-star.filled {
    color: #FFD700;
}

.rating-star:hover {
    color: #FFD700;
    transform: scale(1.2);
}

.rating-count {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

/* ==================== MODAL STYLES ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.modal-container {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    border-radius: var(--border-radius-lg);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.modal-header h3 {
    color: white;
    margin: 0;
    font-size: 18px;
}

.close-modal {
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 24px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

.modal-content {
    padding: 24px;
}

/* ==================== SOCIAL SHARING MODAL ==================== */
.share-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.share-option {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--border-radius-sm);
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
}

.share-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.share-option.whatsapp:hover { background: rgba(37, 211, 102, 0.2); border-color: #25d366; }
.share-option.twitter:hover { background: rgba(29, 161, 242, 0.2); border-color: #1da1f2; }
.share-option.facebook:hover { background: rgba(24, 119, 242, 0.2); border-color: #1877f2; }
.share-option.telegram:hover { background: rgba(0, 136, 204, 0.2); border-color: #0088cc; }
.share-option.email:hover { background: rgba(234, 67, 53, 0.2); border-color: #ea4335; }
.share-option.copy-link:hover { background: rgba(158, 158, 158, 0.2); border-color: #9e9e9e; }

.custom-message-section {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 16px;
}

.custom-message-section label {
    display: block;
    color: rgba(255,255,255,0.8);
    margin-bottom: 8px;
    font-size: 14px;
}

#custom-message {
    width: 100%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--border-radius-sm);
    padding: 12px;
    color: white;
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}

#custom-message::placeholder {
    color: rgba(255,255,255,0.5);
}

/* ==================== QR CODE MODAL ==================== */
.qr-code-container {
    text-align: center;
    margin-bottom: 24px;
}

#qr-code {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius-sm);
    display: inline-block;
    margin-bottom: 16px;
}

.qr-instructions {
    background: rgba(255,255,255,0.05);
    border-radius: var(--border-radius-sm);
    padding: 16px;
}

.qr-instructions h4 {
    color: white;
    margin: 0 0 12px 0;
    font-size: 16px;
}

.qr-instructions ol {
    color: rgba(255,255,255,0.8);
    margin: 0;
    padding-left: 20px;
}

.qr-instructions li {
    margin-bottom: 8px;
}

/* ==================== EMAIL MODAL ==================== */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    color: rgba(255,255,255,0.8);
    margin-bottom: 6px;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--border-radius-sm);
    padding: 12px;
    color: white;
    font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.5);
}

.send-email-btn {
    background: var(--accent-green);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.send-email-btn:hover {
    background: #1ed760;
    transform: translateY(-2px);
}

/* ==================== RELATED RINGTONES SECTION ==================== */
.related-ringtones-section,
.trending-section {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    margin: 32px 0;
}

.related-ringtones-section h3,
.trending-section h3 {
    color: white;
    margin: 0 0 20px 0;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ringtones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.ringtone-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ringtone-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--accent-green);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.ringtone-image {
    position: relative;
    height: 120px;
    background: linear-gradient(135deg, var(--accent-green) 0%, #1ed760 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-overlay {
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.ringtone-card:hover .play-overlay {
    background: rgba(0,0,0,0.5);
    transform: scale(1.1);
}

.genre-tag {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ringtone-info {
    padding: 16px;
}

.ringtone-info h4 {
    color: white;
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
}

.ringtone-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

.ringtone-rating {
    color: #FFD700;
    font-size: 14px;
}

/* ==================== REVIEWS SECTION ==================== */
.reviews-section {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    margin: 32px 0;
}

.reviews-section h3 {
    color: white;
    margin: 0 0 20px 0;
    font-size: 20px;
}

.add-review-form {
    background: rgba(255,255,255,0.05);
    border-radius: var(--border-radius-md);
    padding: 20px;
    margin-bottom: 24px;
}

.add-review-form h4 {
    color: white;
    margin: 0 0 12px 0;
    font-size: 16px;
}

.rating-input {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.add-review-form textarea {
    width: 100%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--border-radius-sm);
    padding: 12px;
    color: white;
    resize: vertical;
    min-height: 80px;
    margin-bottom: 16px;
    font-family: inherit;
}

.submit-review-btn {
    background: var(--accent-green);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.submit-review-btn:hover {
    background: #1ed760;
    transform: translateY(-1px);
}

.review-item {
    background: rgba(255,255,255,0.03);
    border-radius: var(--border-radius-sm);
    padding: 16px;
    margin-bottom: 12px;
    border-left: 4px solid var(--accent-green);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.reviewer-info strong {
    color: white;
    margin-right: 8px;
}

.review-date {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
}

.review-rating {
    color: #FFD700;
}

.review-comment {
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
}

/* ==================== LOADING PLACEHOLDER ==================== */
.loading-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: rgba(255,255,255,0.6);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top: 3px solid var(--accent-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==================== NOTIFICATION STYLES ==================== */
.notification {
    animation: slideIn 0.3s ease, slideOut 0.3s ease 2.7s;
}

@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes slideOut {
    from { transform: translateX(0); }
    to { transform: translateX(100%); }
}

/* ==================== ENHANCED AUDIO PLAYER ==================== */
.enhanced-player-section {
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 20px;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.player-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.player-main-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.play-button-wrapper {
    flex-shrink: 0;
}

.button.player {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1DB954 0%, #1ed760 100%);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(29, 185, 84, 0.3);
}

.button.player:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(29, 185, 84, 0.4);
}

.button.player.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.button.player svg {
    color: white;
    transition: all 0.3s ease;
}

.player-info {
    flex: 1;
}

.track-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.track-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    opacity: 0.9;
    font-size: 0.9rem;
}

.separator {
    opacity: 0.6;
}

/* Hidden Audio Element */
#main-audio-player {
    display: none;
}

/* ==================== WAVEFORM VISUALIZATION ==================== */
.waveform-container {
    position: relative;
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    padding: 15px;
    margin: 20px 0;
    backdrop-filter: blur(10px);
}

#waveform-canvas {
    width: 100%;
    height: 80px;
    cursor: pointer;
    border-radius: 8px;
    background: rgba(0,0,0,0.3);
    display: block;
    border: 1px solid rgba(255,255,255,0.1);
}

.waveform-progress {
    position: absolute;
    top: 15px;
    left: 15px;
    height: 80px;
    width: 0%;
    background: linear-gradient(90deg, rgba(255,255,255,0.3) 0%, rgba(29,185,84,0.3) 100%);
    border-radius: 8px;
    transition: width 0.1s ease;
    pointer-events: none;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
}

.waveform-time-markers {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ==================== AUDIO CONTROLS ==================== */
.audio-controls {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    padding: 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.volume-slider {
    width: 80px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.3);
    outline: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #1DB954;
    cursor: pointer;
    -webkit-appearance: none;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #1DB954;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.speed-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.speed-selector {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
}

.speed-selector option {
    background: #2a5298;
    color: white;
}

.loop-btn, .shuffle-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.loop-btn:hover, .shuffle-btn:hover,
.loop-btn.active, .shuffle-btn.active {
    background: #1DB954;
    border-color: #1DB954;
    transform: scale(1.1);
}

/* ==================== AUDIO NOTIFICATIONS ==================== */
.audio-notification {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
}

/* ==================== RESPONSIVE AUDIO PLAYER ==================== */
@media (max-width: 768px) {
    .enhanced-player-section {
        margin: 20px 0;
        padding: 20px;
    }
    
    .player-main-controls {
        gap: 15px;
    }
    
    .button.player {
        width: 50px;
        height: 50px;
    }
    
    .track-title {
        font-size: 1.2rem;
    }
    
    .track-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .audio-controls {
        gap: 15px;
        justify-content: center;
    }
    
    .volume-slider {
        width: 60px;
    }
    
    #waveform-canvas {
        height: 60px;
    }
    
    .waveform-progress {
        height: 60px;
    }
}

@media (max-width: 480px) {
    .audio-controls {
        flex-direction: column;
        gap: 15px;
    }
    
    .volume-control, .speed-control {
        justify-content: center;
    }
    
    .track-meta {
        font-size: 0.8rem;
    }
    
    #waveform-canvas {
        height: 50px;
    }
    
    .waveform-progress {
        height: 50px;
    }
}
.youtube-video-section {
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    border-radius: 20px;
    color: white;
    box-shadow: 0 15px 35px rgba(255, 0, 0, 0.2);
}

.video-header {
    text-align: center;
    margin-bottom: 30px;
}

.video-header h3 {
    font-size: 2rem;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.video-header p {
    opacity: 0.9;
    font-size: 1.1rem;
    margin: 0;
}

.video-container {
    background: rgba(0,0,0,0.2);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.video-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    z-index: 10;
    border-radius: 12px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255,255,255,0.3);
    border-top: 4px solid #ff0000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

.video-controls-overlay {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 10px;
    z-index: 5;
}

.video-control-btn {
    background: rgba(0,0,0,0.7);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.video-control-btn:hover {
    background: rgba(255,0,0,0.8);
    transform: scale(1.1);
}

.video-info {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
    margin-top: 20px;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.video-details h4 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
}

.video-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.video-meta span {
    background: rgba(255,255,255,0.2);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
}

.video-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.watch-youtube-btn, .extract-audio-btn, .share-video-btn {
    background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
}

.watch-youtube-btn:hover, .extract-audio-btn:hover, .share-video-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 68, 68, 0.4);
    color: white;
    text-decoration: none;
}

.video-description {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.description-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.description-header h4 {
    margin: 0;
    font-size: 1.2rem;
}

.toggle-description {
    background: none;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 8px 12px;
    border-radius: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.toggle-description:hover {
    background: rgba(255,255,255,0.1);
}

.toggle-description svg {
    transition: transform 0.3s ease;
}

.description-content {
    max-height: 3em;
    overflow: hidden;
    transition: max-height 0.3s ease;
    line-height: 1.6;
}

.video-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.video-tag {
    background: rgba(255,255,255,0.2);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    backdrop-filter: blur(5px);
}

/* ==================== RESPONSIVE VIDEO DESIGN ==================== */
@media (max-width: 768px) {
    .youtube-video-section {
        margin: 20px 0;
        padding: 20px;
    }
    
    .video-header h3 {
        font-size: 1.5rem;
    }
    
    .video-info {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .video-meta {
        gap: 10px;
    }
    
    .video-meta span {
        font-size: 0.8rem;
        padding: 4px 8px;
    }
    
    .video-actions {
        justify-content: center;
    }
    
    .watch-youtube-btn, .extract-audio-btn, .share-video-btn {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
    
    .video-controls-overlay {
        bottom: 10px;
        right: 10px;
        gap: 8px;
    }
    
    .video-control-btn {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .video-wrapper {
        padding-bottom: 65%; /* Adjust aspect ratio for mobile */
    }
    
    .description-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .video-tags {
        gap: 8px;
    }
    
    .video-tag {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
}

/* Animation for video loading */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==================== CATEGORIES SECTION ==================== */
.categories-section {
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    color: white;
}

.categories-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.categories-section p {
    text-align: center;
    opacity: 0.9;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.category-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 120px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

.category-link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: white;
}

.category-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: all 0.3s ease;
}

.category-card:hover .category-bg {
    transform: scale(1.1);
}

.category-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(5px);
}

.category-content h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.category-count {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 10px;
}

.category-arrow {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.category-card:hover .category-arrow {
    transform: translateX(5px);
}

/* ==================== ENHANCED COMMENTS SECTION ==================== */
.reviews-section {
    margin: 40px 0;
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.comments-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.8rem;
}

.comment-stats {
    display: flex;
    align-items: center;
    gap: 15px;
}

.total-comments {
    color: #666;
    font-size: 0.9rem;
}

.add-comment-btn {
    background: linear-gradient(135deg, #1DB954 0%, #1ed760 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-comment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(29, 185, 84, 0.3);
}

.comments-list {
    margin: 25px 0;
}

.user-comment {
    display: flex;
    gap: 15px;
    padding: 20px;
    margin-bottom: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid #1DB954;
    transition: all 0.3s ease;
}

.user-comment:hover {
    background: #f0f8ff;
    transform: translateX(5px);
}

.comment-avatar img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #1DB954;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.comment-author {
    font-weight: 700;
    color: #333;
    margin: 0;
    font-size: 1rem;
}

.comment-date {
    color: #666;
    font-size: 0.85rem;
}

.comment-rating {
    color: #ffa500;
    font-size: 0.9rem;
}

.comment-text {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.comment-actions {
    display: flex;
    gap: 15px;
}

.like-comment, .reply-comment {
    background: none;
    border: 1px solid #ddd;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.like-comment:hover, .reply-comment:hover {
    background: #1DB954;
    color: white;
    border-color: #1DB954;
}

.comment-form-container {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    border: 2px solid #1DB954;
}

.comment-form-header h3 {
    margin: 0 0 5px 0;
    color: #333;
}

.comment-form-header p {
    color: #666;
    margin: 0 0 20px 0;
}

.ringtone-comment-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.ringtone-comment-form .form-group {
    margin-bottom: 15px;
}

.ringtone-comment-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.ringtone-comment-form input,
.ringtone-comment-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.ringtone-comment-form input:focus,
.ringtone-comment-form textarea:focus {
    outline: none;
    border-color: #1DB954;
    box-shadow: 0 0 10px rgba(29, 185, 84, 0.2);
}

.rating-input {
    display: flex;
    gap: 5px;
    margin-top: 8px;
}

.rating-input input[type="radio"] {
    display: none;
}

.rating-input label {
    font-size: 1.5rem;
    color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
}

.rating-input input[type="radio"]:checked ~ label,
.rating-input label:hover,
.rating-input label:hover ~ label {
    color: #ffa500;
}

.submit-comment-btn {
    background: linear-gradient(135deg, #1DB954 0%, #1ed760 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.submit-comment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(29, 185, 84, 0.3);
}

.submit-comment-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.no-comments {
    text-align: center;
    padding: 40px 20px;
}

.empty-state svg {
    color: #ccc;
    margin-bottom: 15px;
}

.empty-state h4 {
    color: #666;
    margin: 15px 0 10px 0;
}

.empty-state p {
    color: #999;
    margin: 0;
}
@media (max-width: 768px) {
    .quick-actions-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .quick-action {
        padding: 10px;
        font-size: 13px;
    }
    
    .download-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 20px;
    }
    
    .audio-controls {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .volume-slider {
        width: 60px;
    }
    
    .ringtones-grid {
        grid-template-columns: 1fr;
    }
    
    .share-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modal-container {
        width: 95%;
    }
}

@media (max-width: 480px) {
    .enhanced-player-section,
    .enhanced-download-section,
    .related-ringtones-section,
    .trending-section,
    .reviews-section {
        padding: 16px;
        margin: 16px 0;
    }
    
    .player-main-controls {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .audio-controls {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .quick-actions-bar {
        flex-direction: column;
    }
    
    .download-stats {
        flex-direction: column;
        gap: 16px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .post-content-container {
        margin: 10px;
        padding: 16px;
        border-radius: var(--border-radius-md);
    }
    
    .post-description-info,
    .copyright-notice {
        padding: 20px;
        margin: 20px 0;
    }
    
    .notice-content {
        margin-left: 28px;
    }
    
    .post-content-container .entry-content {
        padding: 24px;
    }
    
    .post-tags-container {
        padding: 16px;
        margin: 20px 0;
    }
}

@media (max-width: 480px) {
    .post-content-container {
        margin: 5px;
        padding: 12px;
    }
    
    .post-description-info,
    .copyright-notice {
        padding: 16px;
        margin: 16px 0;
    }
    
    .notice-content {
        margin-left: 24px;
    }
    
    .notice-content h4 {
        font-size: 14px;
    }
    
    .description-content p,
    .notice-content p {
        font-size: 13px;
    }
    
    .post-content-container .entry-content {
        padding: 20px;
    }
}

/* Popup Overlay */
.download-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: all 0.3s ease;
}

.download-popup-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

/* Popup Container */
.download-popup-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: scale(0.7);
    transition: all 0.3s ease;
    position: relative;
}

.download-popup-overlay.active .download-popup-container {
    transform: scale(1);
}

/* Popup Header */
.download-popup-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px 30px;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.download-popup-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.close-popup {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-popup:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Popup Content */
.download-popup-content {
    padding: 30px;
}

/* Ads Container */
.ads-container {
    margin-bottom: 30px;
}

.google-ads-banner {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 2px dashed #e1e8ed;
}

.ad-space {
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    margin-top: 10px;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-ad {
    color: #95a5a6;
    font-size: 14px;
    text-align: center;
}

.bottom-ads {
    margin-top: 30px;
    margin-bottom: 0;
}

/* Format Selection Grid */
.download-formats-grid h3 {
    color: #2c3e50;
    font-size: 20px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
}

.format-buttons-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

/* Format Button Styling */
.format-button {
    background: #ffffff;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.format-button:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.format-button.primary {
    border-color: #1DB954;
    background: linear-gradient(135deg, #f0fff4 0%, #e6ffed 100%);
}

.format-button.primary:hover {
    border-color: #1DB954;
    box-shadow: 0 8px 25px rgba(29, 185, 84, 0.2);
}

.format-icon {
    font-size: 32px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.format-info {
    flex: 1;
    text-align: left;
}

.format-name {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 4px;
}

.format-desc {
    display: block;
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 2px;
}

.format-quality {
    display: block;
    font-size: 12px;
    color: #95a5a6;
    font-style: italic;
}

.download-status {
    flex-shrink: 0;
}

.instant-badge {
    background: linear-gradient(135deg, #1DB954 0%, #1ed760 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.convert-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Conversion Progress */
.conversion-progress {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin: 20px 0;
}

.progress-info h4 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 18px;
}

.progress-bar {
    background: #e1e8ed;
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-fill {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 100%;
    width: 0%;
    transition: width 0.3s ease;
    animation: progressAnimation 3s ease-in-out infinite;
}

@keyframes progressAnimation {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

.progress-text {
    color: #7f8c8d;
    font-size: 14px;
    margin: 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .download-popup-container {
        width: 95%;
        margin: 20px;
    }
    
    .download-popup-header {
        padding: 20px;
    }
    
    .download-popup-header h2 {
        font-size: 20px;
    }
    
    .download-popup-content {
        padding: 20px;
    }
    
    .format-buttons-container {
        grid-template-columns: 1fr;
    }
    
    .format-button {
        padding: 15px;
    }
    
    .format-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .download-popup-container {
        width: 98%;
        margin: 10px;
        border-radius: 15px;
    }
    
    .download-popup-header {
        padding: 15px;
        border-radius: 15px 15px 0 0;
    }
    
    .download-popup-content {
        padding: 15px;
    }
}

/* Top Sponsors Section */
.top-sponsors-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 3px solid #d4af37;
    border-radius: 20px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
    position: relative;
    overflow: hidden;
}

.top-sponsors-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.sponsors-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.sponsors-title {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #d4af37, #f7e976, #d4af37);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldShimmer 3s ease-in-out infinite;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

@keyframes goldShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.sponsors-subtitle {
    color: #b3b3b3;
    font-size: 1.1rem;
    font-weight: 300;
}

.sponsors-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    position: relative;
    z-index: 2;
}

.sponsor-card {
    background: linear-gradient(135deg, #2a2a2a 0%, #1e1e1e 100%);
    border: 2px solid #404040;
    border-radius: 16px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.sponsor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s ease;
}

.sponsor-card:hover::before {
    left: 100%;
}

.sponsor-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #d4af37;
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.sponsor-avatar {
    text-align: center;
    margin-bottom: 15px;
    position: relative;
}

.sponsor-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #d4af37;
    transition: transform 0.3s ease;
}

.sponsor-card:hover .sponsor-avatar img {
    transform: scale(1.1);
}

.avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37, #f7e976);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto;
    border: 3px solid #d4af37;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.sponsor-info {
    text-align: center;
    position: relative;
    z-index: 3;
}

.sponsor-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.sponsor-card:hover .sponsor-name {
    color: #d4af37;
}

.sponsor-subscribers {
    font-size: 0.9rem;
    color: #d4af37;
    font-weight: 600;
    margin-bottom: 10px;
}

.sponsor-description {
    font-size: 0.85rem;
    color: #b3b3b3;
    line-height: 1.4;
    margin-bottom: 0;
}

.sponsor-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.9), rgba(247, 233, 118, 0.9));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 16px;
    z-index: 4;
}

.sponsor-card:hover .sponsor-overlay {
    opacity: 1;
}

.youtube-icon {
    color: #ffffff;
    margin-bottom: 10px;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.sponsor-card:hover .youtube-icon {
    transform: scale(1);
}

.visit-text {
    color: #ffffff;
    font-weight: bold;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-sponsors-section {
        padding: 20px;
        margin: 30px 0;
    }
    
    .sponsors-title {
        font-size: 2rem;
    }
    
    .sponsors-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .sponsor-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .sponsors-title {
        font-size: 1.8rem;
    }
    
    .sponsors-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .sponsor-card {
        padding: 15px;
    }
    
    .sponsor-avatar img,
    .avatar-placeholder {
        width: 60px;
        height: 60px;
    }
    
    .avatar-placeholder {
        font-size: 24px;
    }
}
/* ========================================
   ANIME STREAMING STYLES
   ======================================== */

/* Welcome Section Updates */
.welcome-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 40px;
    border-radius: 24px;
    margin-bottom: 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.welcome-section h1 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.welcome-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 30px;
}

.welcome-features {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.feature-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 50px;
    color: #ffffff;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Anime Grid */
.anime-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Anime Thumbnail */
.anime-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 140%;
    background: var(--container-bg);
    border-radius: 12px;
    overflow: hidden;
}

.anime-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.language-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.language-badge.sub {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
}

.language-badge.dub {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: #ffffff;
}

/* Anime Player Section */
.anime-player-section {
    background: var(--container-bg);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
}

.anime-player-info {
    margin-bottom: 20px;
}

.player-title {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.episode-badge {
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 500;
}

.player-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.player-meta span {
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
}

.language-badge.sub,
.language-badge.dub {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
}

.quality-badge {
    background: rgba(29, 185, 84, 0.2);
    color: var(--accent-green);
    border: 1px solid var(--accent-green);
}

.source-badge {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
    border: 1px solid #667eea;
}

/* Embed Container */
.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #000000;
    margin-bottom: 20px;
}

.embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Player Actions */
.player-actions {
    margin-top: 20px;
}

.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.action-btn {
    padding: 12px 24px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.favorite-btn {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: #ffffff;
}

.favorite-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(240, 147, 251, 0.4);
}

.share-btn {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: #ffffff;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(79, 172, 254, 0.4);
}

.report-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.report-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

/* Error State */
.anime-player-error {
    background: var(--container-bg);
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    margin-bottom: 40px;
}

.error-content h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.error-content p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Admin Meta Box Embed Preview */
.embed-preview-container {
    background: var(--background-dark);
    padding: 20px;
    border-radius: 12px;
    margin-top: 15px;
}

.embed-preview-container p {
    margin-bottom: 15px;
}

.embed-preview-container code {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.9rem;
    display: inline-block;
    word-break: break-all;
}

.embed-preview-container iframe {
    border-radius: 8px;
    margin-top: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .welcome-section {
        padding: 40px 20px;
    }
    
    .welcome-section h1 {
        font-size: 1.8rem;
    }
    
    .welcome-section p {
        font-size: 1rem;
    }
    
    .anime-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .anime-player-section {
        padding: 20px;
    }
    
    .player-title {
        font-size: 1.4rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .welcome-section h1 {
        font-size: 1.5rem;
    }
    
    .player-title {
        font-size: 1.2rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .anime-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   SERIES & SEASON ORGANIZATION STYLES
   ======================================== */

/* Series Breadcrumb */
.series-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.series-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.breadcrumb-separator {
    color: var(--text-secondary);
    opacity: 0.5;
}

.season-info,
.episode-info {
    color: var(--accent-green);
    font-weight: 500;
}

/* Episode Overlay on Thumbnail */
.episode-overlay {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Series Name on Card */
.series-name-card {
    font-size: 0.85rem;
    color: var(--accent-green);
    font-weight: 600;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Enhanced Episode Badge */
.episode-badge {
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Meta Box Organization Hints */
.zorotones-field-description {
    font-size: 0.85rem;
    color: #95a5a6;
    margin-top: 8px;
    font-style: italic;
}

/* Improved Grid for Series View */
.anime-grid article {
    transition: all 0.3s ease;
}

.anime-grid article:hover {
    transform: translateY(-5px);
}

.anime-grid article:hover .anime-thumbnail {
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

/* Series Organization Visual Hierarchy */
.data .meta {
    display: block;
}

.data .series-name-card + .title {
    color: var(--text-primary);
    font-weight: 500;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .series-breadcrumb {
        font-size: 0.85rem;
        gap: 8px;
    }
    
    .series-name {
        font-size: 1rem;
    }
    
    .episode-overlay {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
    
    .series-name-card {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .series-breadcrumb {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .breadcrumb-separator {
        display: none;
    }
}

/* ========================================
   ANIME WATCH PAGE LAYOUT (Hianime Style)
   ======================================== */

/* Two-Column Layout */
.anime-watch-container {
    display: flex;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* LEFT SIDEBAR: Episode List */
.episode-list-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: rgba(20, 20, 30, 0.8);
    border-radius: 12px;
    padding: 15px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.episode-list-header {
    margin-bottom: 15px;
}

.episode-list-header h3 {
    font-size: 1rem;
    color: #ffffff;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.episode-search {
    width: 100%;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.9rem;
}

.episode-search::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.episodes-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.episode-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.episode-item:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.5);
    color: #ffffff;
}

.episode-item.current-episode {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3));
    border-color: #667eea;
    color: #ffffff;
}

.ep-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.episode-item.current-episode .ep-number {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.ep-title {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 500;
}

.playing-icon {
    font-size: 1rem;
    color: #667eea;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.no-episodes {
    padding: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* RIGHT SIDE: Player and Info */
.player-main-area {
    flex: 1;
    min-width: 0;
}

.anime-title {
    font-size: 1.8rem;
    color: #ffffff;
    margin: 15px 0;
    font-weight: 700;
}

.player-info-bar {
    margin-bottom: 15px;
}

.player-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge.pg-13 {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.badge.hd {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.badge.quality,
.badge.score,
.badge.tv,
.badge.duration {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Language Switcher */
.language-switcher {
    margin-top: 20px;
    background: rgba(20, 20, 30, 0.6);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.switcher-label {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 8px;
}

.switcher-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
}

.server-tabs {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.server-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.server-label {
    min-width: 80px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.server-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.server-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.server-btn:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: #667eea;
    color: #ffffff;
}

.server-btn.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: #667eea;
    color: #ffffff;
}

/* Action Buttons */
.player-actions {
    margin-top: 20px;
}

.action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.action-btn {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: #667eea;
    transform: translateY(-2px);
}

.favorite-btn:hover {
    background: rgba(244, 67, 54, 0.2);
    border-color: #f44336;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .anime-watch-container {
        flex-direction: column;
    }
    
    .episode-list-sidebar {
        width: 100%;
        max-height: 300px;
    }
}

@media (max-width: 768px) {
    .server-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .server-label {
        min-width: auto;
    }
    
    .anime-title {
        font-size: 1.4rem;
    }
}

/* API-Driven Anime Cards */
.anime-card {
    background: var(--container-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.anime-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.anime-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.anime-poster {
    position: relative;
    width: 100%;
    padding-bottom: 140%;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.anime-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.anime-card:hover .anime-poster img {
    transform: scale(1.1);
}

.episode-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 6px 12px;
    background: rgba(102, 126, 234, 0.95);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.type-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.anime-info {
    padding: 15px;
}

.anime-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.anime-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.meta-item {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

