/*
Theme Name: 9mod-v2
Theme URI: foodcenter.live@gmail.com
Author: Henry Themes
Author URI: mailto:foodcenter.live@gmail.com
Description: APK & MOD themes. contact via foodcenter.live@gmail.com
Version: 1.0
Text Domain: 9mod
*/


body {
    font-family: 'Nunito', sans-serif;
}


/* Tab styles */
#downloadTabs .tab-active {
    background: linear-gradient(135deg, #2ECC85 0%, #27AE70 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(46, 204, 133, 0.3);
}

/* Version Section */
.version-section {
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.version-section:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.version-section.active {
    box-shadow: 0 8px 30px rgba(46, 204, 133, 0.2);
}

.version-section.active .version-header {
    background: linear-gradient(90deg, rgba(46, 204, 133, 0.12) 0%, transparent 100%);
}

.version-section .accordion-icon {
    transition: transform 0.25s ease;
}

.version-section.active .accordion-icon {
    transform: rotate(180deg);
}

/* File item styles */
.file-item {
    transition: all 0.15s ease;
    border-radius: 10px;
}

.android-item.file-item:hover {
    background: rgba(46, 204, 133, 0.08);
    padding-left: 12px;
}

.android-item.file-item:hover .download-icon {
    color: #2ECC85;
    transform: scale(1.15);
}

.android-item.file-item:hover .filename {
    color: #2ECC85;
}

.windows-item.file-item:hover {
    background: rgb(191 219 254);
    padding-left: 12px;
}

.windows-item.file-item:hover .download-icon {
    color: rgb(59 130 246);
    transform: scale(1.15);
}

.windows-item.file-item:hover .filename {
    color: rgb(59 130 246);
}

.download-icon {
    transition: all 0.15s ease;
}

/* Files content animation */
.files-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.version-section.active .files-content {
    max-height: 2000px;
}

.filename {
    max-width: 320px;
    transition: color 0.15s ease;
}

/* Toggle Tabs Container */
.tabs-container {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Tabs Header */
.tabs-header {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tabs-header::-webkit-scrollbar {
    display: none;
}

/* Tab Button */

.tab-btn {
    flex: 1;
    min-width: fit-content;
    padding: 1rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #6b7280;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.tab-btn:hover {
    color: #374151;
    background: rgba(0, 0, 0, 0.02);
}

.tab-btn.active {
    color: #2ECC85;
    background: #fff;
    border-bottom: 2px solid;
}

/* Active Indicator - Sliding underline */
.tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #2ECC85, #27AE70);
    border-radius: 3px 3px 0 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.tab-btn.active::after {
    width: calc(100% - 2rem);
}

/* Tab with Icon */
.tab-btn .tab-icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    vertical-align: middle;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.tab-btn.active .tab-icon {
    opacity: 1;
}

/* Tab Badge/Count */
.tab-btn .tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    margin-left: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    background: #9ca3af;
    border-radius: 10px;
    transition: background 0.3s;
}

.tab-btn.active .tab-badge {
    background: #2ECC85;
}

/* Tabs Content */
.tabs-content {
    position: relative;
}

/* Tab Panel */
.tab-panel {
    display: none;
    padding: 1.5rem;
    animation: tabFadeIn 0.4s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== STYLE VARIANTS ========== */

/* Style 2: Pill Tabs */
.tabs-header.style-pills {
    background: transparent;
    border-bottom: none;
    padding: 0.75rem;
    gap: 0.5rem;
}

.tabs-header.style-pills .tab-btn {
    border-radius: 9999px;
    padding: 0.625rem 1.25rem;
    background: #f3f4f6;
}

.tabs-header.style-pills .tab-btn:hover {
    background: #e5e7eb;
}

.tabs-header.style-pills .tab-btn.active {
    background: #2ECC85;
    color: #fff;
}

.tabs-header.style-pills .tab-btn::after {
    display: none;
}

.tabs-header.style-pills .tab-btn.active .tab-badge {
    background: rgba(255, 255, 255, 0.3);
}

/* Style 3: Boxed Tabs */
.tabs-header.style-boxed {
    background: transparent;
    border: none;
    padding: 0;
    gap: 0;
}

.tabs-header.style-boxed .tab-btn {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-bottom: none;
    border-radius: 0.5rem 0.5rem 0 0;
    margin-right: -1px;
}

.tabs-header.style-boxed .tab-btn.active {
    background: #fff;
    border-color: #e5e7eb;
    border-bottom: 1px solid #fff;
    margin-bottom: -1px;
    z-index: 1;
}

.tabs-header.style-boxed .tab-btn::after {
    display: none;
}

/* Style 4: Underline Only */
.tabs-header.style-underline {
    background: transparent;
    border-bottom: 2px solid #e5e7eb;
}

.tabs-header.style-underline .tab-btn {
    padding: 1rem 1.5rem;
    margin-bottom: -2px;
}

.tabs-header.style-underline .tab-btn::after {
    height: 2px;
    bottom: 0;
    border-radius: 0;
}

.tabs-header.style-underline .tab-btn.active {
    background: transparent;
}

/* Style 5: Segmented Control (iOS style) */
.tabs-header.style-segmented {
    background: #e5e7eb;
    border-radius: 0.75rem;
    padding: 4px;
    margin: 1rem;
    border: none;
    gap: 0;
}

.tabs-header.style-segmented .tab-btn {
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.tabs-header.style-segmented .tab-btn.active {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tabs-header.style-segmented .tab-btn::after {
    display: none;
}

/* ACCORDION */
.accordion-item {
    transition: all 0.3s ease;
}

.accordion-item.active {
    background: #f3f4f6;
}

.accordion-header {
    cursor: pointer;
    user-select: none;
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
    color: #53d4a5;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-item.active .accordion-content {
    max-height: 2000px;
}

/* Download link hover */
.download-link {
    transition: all 0.2s ease;
}

.download-link:hover {
    background: linear-gradient(90deg, rgba(46, 204, 133, 0.08) 0%, transparent 100%);
    transform: translateX(4px);
}

/* Badge */
.list-view .game-card .badge-item {
    top: -10px;
    left: -10px;
}

/* Article card hover */
.article-card:hover .article-thumb img {
    transform: scale(1.05);
}

.article-card:hover .article-title {
    color: #2ECC85;
}

.list-view .articles-grid {
    grid-template-columns: 1fr !important;
}

.list-view .article-card {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
}

.list-view .article-thumb {
    width: 280px;
    flex-shrink: 0;
    aspect-ratio: 16/10;
}

.list-view .article-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.list-view .article-excerpt {
    display: block !important;
}

/* Nav underline effect */
.nav-item::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #2ECC85;
    transition: width 0.3s ease;
    transform: translateX(-50%);
}

.nav-item:hover::after {
    width: 100%;
}

/* scroll bar*/

.line-height {
    line-height: 1.8;
}

/* Hide scrollbar but allow scroll */
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Card hover effects */
.app-card {
    transition: all 0.2s ease;
}

.app-card:hover {
    transform: translateY(-4px);
}

.app-card:hover .app-thumb {
    box-shadow: 4px 8px 16px rgba(0, 0, 0, 0.05);
}

/*badge*/
.badge-default {
    background-color: #6c757d;
}

.badge-mod,
.badge-site {
    background-color: #28a745;
}

.badge-editors-choice {
    background-color: #fef3c7;
    color: #d97706;
}

.badge-full-version,
.badge-offline {
    background-color: #007bff;
}

.badge-premium {
    background-color: #fee2e2;
    color: #dc2626;
}

/* Hero background blur */
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(12px);
    transform: scale(1.1);
    opacity: 1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.95) 100%);
}

/* LightGallery customization */
.lg-backdrop {
    background-color: rgba(0, 0, 0, 0.9);
}

.lg-toolbar,
.lg-actions .lg-next,
.lg-actions .lg-prev {
    background-color: rgba(46, 204, 133, 0.8);
}

/* RateYo customization */
.jq-ry-container {
    display: inline-block !important;
}

/* Screenshot hover effect */
.screenshot-item {
    transition: all 0.3s ease;
}

.screenshot-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Download button pulse */
@keyframes pulse-ring {
    0% {
        transform: scale(0.9);
        opacity: 1;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.download-btn-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    background: #2ECC85;
    animation: pulse-ring 2s ease-out infinite;
}

/* Info card glass effect */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}


.nav-item::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #2ECC85;
    transition: width 0.3s;
    transform: translateX(-50%);
}

.nav-item:hover::after {
    width: 100%;
}

/* Filter dropdown */
.filter-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    z-index: 50;
}

.filter-dropdown.active {
    display: block;
}

/* Custom checkbox */
.cb {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    cursor: pointer;
}

.cb:checked {
    background: #2ECC85;
    border-color: #2ECC85;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
}

/* View modes */
.list-view .game-card {
    display: flex;
    flex-direction: row;
    padding: 1rem;
}

.list-view .game-card .game-card-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
}

.list-view .game-thumb {
    width: 76px;
    height: 76px;
    flex-shrink: 0;
    margin-bottom: 0;
    margin-right: 1rem;
}

.list-view .game-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.list-view .game-info {
    text-align: left;
}

.list-view .game-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.list-view .game-download {
    display: block !important;
}

.list-view .game-category-inline {
    display: flex !important;
}

.grid-view .game-download {
    display: none !important;
}

.grid-view .game-category-inline {
    display: none !important;
}

/* ========================================
   Entry Content Styles (Reusable)
   Usage: .entry-content, .post-content, .page-content, etc.
   ======================================== */
.entry-content,
.post-content,
.page-content,
.article-content {
    font-size: 1rem;
    line-height: 1.75;
    color: #374151;
}

/* Headings */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: #111827;
    font-weight: 700;
    line-height: 1.4;
    margin-top: 1.25em;
    margin-bottom: 0.5em;
}

.entry-content h1 {
    font-size: 1.375rem;
}

.entry-content h2 {
    font-size: 1.25rem;
}

.entry-content h3 {
    font-size: 1.125rem;
}

.entry-content h4 {
    font-size: 1rem;
}

.entry-content h5 {
    font-size: 0.9375rem;
}

.entry-content h6 {
    font-size: 0.875rem;
}

.entry-content>h1:first-child,
.entry-content>h2:first-child,
.entry-content>h3:first-child,
.entry-content>h4:first-child {
    margin-top: 0;
}

/* Subtle left border accent for h2, h3 */
.entry-content h2,
.entry-content h3 {
    padding-left: 0.75em;
    border-left: 3px solid #2ECC85;
}

/* Paragraphs - Justified text */
.entry-content p {
    margin-bottom: 1em;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.entry-content p:last-of-type {
    margin-bottom: 0;
}

/* Links */
.entry-content a {
    color: #2ECC85;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.entry-content a:hover {
    color: #25a76d;
    text-decoration: underline;
}

/* Lists */
.entry-content ul,
.entry-content ol {
    margin: 1em 0;
    padding-left: 1.5em;
}

.entry-content ul {
    list-style-type: disc;
}

.entry-content ol {
    list-style-type: decimal;
}

.entry-content li {
    margin-bottom: 0.5em;
    padding-left: 0.25em;
}

.entry-content li::marker {
    color: #2ECC85;
}

.entry-content ul ul,
.entry-content ol ol,
.entry-content ul ol,
.entry-content ol ul {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

/* Nested lists */
.entry-content ul ul {
    list-style-type: circle;
}

.entry-content ul ul ul {
    list-style-type: square;
}

/* Blockquotes */
.entry-content blockquote {
    margin: 1.5em 0;
    padding: 1em 1.25em;
    border-left: 4px solid #2ECC85;
    background: #f0fdf4;
    border-radius: 0 0.5rem 0.5rem 0;
    font-style: italic;
    color: #166534;
}

.entry-content blockquote p {
    text-align: left;
}

.entry-content blockquote p:last-child {
    margin-bottom: 0;
}

/* Code */
.entry-content code {
    background: #f3f4f6;
    padding: 0.2em 0.4em;
    border-radius: 0.25rem;
    font-size: 0.875em;
    font-family: 'Consolas', 'Monaco', monospace;
    color: #dc2626;
}

.entry-content pre {
    background: #1f2937;
    color: #e5e7eb;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.5em 0;
}

.entry-content pre code {
    background: none;
    padding: 0;
    color: inherit;
    font-size: 0.875rem;
}

/* Images */
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1.5em 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.entry-content figure {
    margin: 1.5em 0;
}

.entry-content figcaption {
    margin-top: 0.5em;
    font-size: 0.875rem;
    color: #6b7280;
    text-align: center;
}

/* Tables */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 0.875rem;
}

.entry-content th,
.entry-content td {
    padding: 0.75em 1em;
    border: 1px solid #e5e7eb;
    text-align: left;
}

.entry-content th {
    background: #f9fafb;
    font-weight: 600;
    color: #111827;
}

.entry-content tr:hover {
    background: #f9fafb;
}

/* Horizontal Rule */
.entry-content hr {
    margin: 2em 0;
    border: none;
    border-top: 1px solid #e5e7eb;
}

/* Strong & Emphasis */
.entry-content strong,
.entry-content b {
    font-weight: 700;
    color: #111827;
}

.entry-content em,
.entry-content i {
    font-style: italic;
}

/* Definition Lists */
.entry-content dl {
    margin: 1em 0;
}

.entry-content dt {
    font-weight: 600;
    color: #111827;
    margin-top: 1em;
}

.entry-content dd {
    margin-left: 1.5em;
    margin-top: 0.25em;
    color: #4b5563;
}

/* Video embeds */
.entry-content iframe,
.entry-content video {
    max-width: 100%;
    border-radius: 0.5rem;
    margin: 1.5em 0;
}

/* Utility: text truncation for content preview */
.entry-content.truncated {
    max-height: 200px;
    overflow: hidden;
    position: relative;
}

.entry-content.truncated::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, white);
    pointer-events: none;
}

/* Alias classes - all inherit from .entry-content */
.post-content h1,
.page-content h1,
.article-content h1,
.post-content h2,
.page-content h2,
.article-content h2,
.post-content h3,
.page-content h3,
.article-content h3,
.post-content h4,
.page-content h4,
.article-content h4,
.post-content h5,
.page-content h5,
.article-content h5,
.post-content h6,
.page-content h6,
.article-content h6 {
    color: #111827;
    font-weight: 700;
    line-height: 1.4;
    margin-top: 1.25em;
    margin-bottom: 0.5em;
}

.post-content h2,
.page-content h2,
.article-content h2,
.post-content h3,
.page-content h3,
.article-content h3 {
    padding-left: 0.75em;
    border-left: 3px solid #2ECC85;
}

.post-content p,
.page-content p,
.article-content p {
    margin-bottom: 1em;
    text-align: justify;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.post-content a,
.page-content a,
.article-content a {
    color: #2ECC85;
    text-decoration: none;
    font-weight: 500;
}

.post-content ul,
.page-content ul,
.article-content ul,
.post-content ol,
.page-content ol,
.article-content ol {
    margin: 1em 0;
    padding-left: 1.5em;
}

.post-content li,
.page-content li,
.article-content li {
    margin-bottom: 0.5em;
}

.post-content li::marker,
.page-content li::marker,
.article-content li::marker {
    color: #2ECC85;
}

/* ========================================
   Content Toggle (Read More / Collapse)
   ======================================== */
.entry-content.is-collapsed {
    max-height: 300px;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.entry-content.is-expanded {
    max-height: none;
    overflow: visible;
    transition: max-height 0.4s ease-in;
}

/* Smooth height transition with a large max value */
.entry-content.is-expanding {
    transition: max-height 0.4s ease-in;
}

#description-wrapper {
    position: relative;
}

#description-fade {
    transition: opacity 0.3s ease;
}

#description-fade.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Read more button icon rotation */
#read-more-btn.is-expanded #read-more-icon {
    transform: rotate(180deg);
}

/* ========================================
   Search Input with Icon
   ======================================== */
#search-overlay {
    animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#search-input {
    font-size: 1rem;
}

#search-input::placeholder {
    color: #9ca3af;
}

#search-input:focus {
    border-color: #2ECC85;
    box-shadow: 0 0 0 3px rgba(46, 204, 133, 0.15);
}

/* ========================================
   Filter Panel & Chips
   ======================================== */
#filter-panel {
    animation: filterSlideDown 0.2s ease-out;
}

@keyframes filterSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Filter panel max height with scroll */
#filter-panel .space-y-4 {
    max-height: 80vh;
    overflow-y: auto;
}

/* Filter chip styles */
.filter-chip input:checked+span {
    background-color: #2ECC85;
    color: white;
}

.filter-chip input:checked+span .text-gray-400 {
    color: rgba(255, 255, 255, 0.8);
}

/* Filter toggle button active state */
#filter-toggle-btn.is-active {
    background-color: #2ECC85;
    color: white;
}

#filter-toggle-btn.is-active:hover {
    background-color: #25a76d;
}

/* Filter spinner animation */
#filter-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Mobile: Full width filter panel */
@media (max-width: 639px) {
    #filter-panel {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        margin: 0;
        border-radius: 1.5rem 1.5rem 0 0;
        animation: filterSlideUp 0.25s ease-out;
    }

    #filter-panel>div {
        border-radius: 1.5rem 1.5rem 0 0;
        max-height: 80vh;
    }

    @keyframes filterSlideUp {
        from {
            opacity: 0;
            transform: translateY(100%);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Footer Navigation */
#footer nav ul li {
    display: inline-flex;
}

#footer nav ul li a {
    color: rgb(107 114 128);
    /* text-gray-500 */
    transition: color 0.15s ease;
}

#footer nav ul li a:hover {
    color: #2ECC85;
    /* primary */
}

/* ========================================
   Download Page Styles
   ======================================== */

/* Hero gradient for download header */
.hero-gradient {
    background: linear-gradient(135deg, #1a9c63 0%, #2ECC85 50%, #27AE70 100%);
    position: relative;
    overflow: hidden;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    animation: shimmer 15s infinite linear;
}

@keyframes shimmer {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Countdown ring */
.countdown-ring {
    transform: rotate(-90deg);
}

.countdown-ring circle {
    transition: stroke-dashoffset 1s linear;
}

/* Pulse glow animation */
@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(46, 204, 133, 0.5);
    }

    50% {
        box-shadow: 0 0 0 20px rgba(46, 204, 133, 0);
    }
}

.pulse-glow {
    animation: pulse-glow 2s infinite;
}

/* Bounce in animation */
@keyframes bounce-in {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}

.bounce-in {
    animation: bounce-in 0.6s ease forwards;
}

/* Slide up animation */
@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    animation: slide-up 0.5s ease forwards;
}

/* Link item hover effect */
.link-item {
    transition: all 0.2s ease;
}

.link-item:hover {
    transform: translateX(8px);
    background: linear-gradient(90deg, rgba(46, 204, 133, 0.05) 0%, transparent 100%);
}

/* Suggest card hover effects */
.suggest-card:hover .suggest-img {
    transform: scale(1.1);
}

.suggest-card:hover .suggest-title {
    color: #2ECC85;
}

/* Button shine effect */
.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    transform: rotate(30deg) translateX(-100%);
    transition: transform 0.6s;
}

.btn-shine:hover::after {
    transform: rotate(30deg) translateX(100%);
}

/* Fix LightGallery Intervention warning on touch devices */
.lg-container {
    touch-action: none;
}

/* Snowfall Effect */
.snow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.snow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: snow-fall 8s linear infinite;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 40px 70px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 50px 160px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 90px 40px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 130px 80px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 160px 120px, #fff, rgba(0,0,0,0));
    background-size: 200px 200px;
    opacity: 0.6;
}

.snow-2 {
    animation-duration: 5s;
    background-image: 
        radial-gradient(2.5px 2.5px at 10px 10px, #fff, rgba(0,0,0,0)),
        radial-gradient(2.5px 2.5px at 30px 50px, #fff, rgba(0,0,0,0)),
        radial-gradient(2.5px 2.5px at 80px 130px, #fff, rgba(0,0,0,0)),
        radial-gradient(2.5px 2.5px at 110px 90px, #fff, rgba(0,0,0,0));
    background-size: 300px 300px;
    opacity: 0.4;
}

.snow-3 {
    animation-duration: 11s;
    background-image: 
        radial-gradient(3px 3px at 5px 80px, #fff, rgba(0,0,0,0)),
        radial-gradient(3px 3px at 40px 120px, #fff, rgba(0,0,0,0)),
        radial-gradient(3px 3px at 80px 10px, #fff, rgba(0,0,0,0));
    background-size: 400px 400px;
    opacity: 0.2;
}

@keyframes snow-fall {
    0% { background-position: 0 0; }
    100% { background-position: 100px 600px; }
}