/*
Theme Name: TickForge Gaming Server Theme
Theme URI: https://tickforge.com
Description: A modern, competitive WordPress theme for game server hosting business with WooCommerce and Pterodactyl integration.
Author: TickForge
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GPL v2 or later
Text Domain: tickforge
*/

/* ===================================
   CSS RESET & BASE STYLES
   =================================== */

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

:root {
    /* Brand Colors */
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #8b5cf6;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    
    /* Background Colors */
    --dark-bg: #0f172a;
    --darker-bg: #020617;
    --card-bg: #1e293b;
    --border-color: #334155;
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --bg-card: #475569;
    
    /* Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.15s ease-out;
    --transition-normal: 0.3s ease-out;
    --transition-slow: 0.5s ease-out;
}

/* ===================================
   TYPOGRAPHY
   =================================== */

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    font-weight: 700;
    color: var(--text-primary);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; }

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-light);
}

/* ===================================
   LAYOUT & CONTAINERS
   =================================== */

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

.site-main {
    min-height: 100vh;
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 0.875rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    color: white;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* ===================================
   HEADER - CLEAN REBUILD
   =================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(51, 65, 85, 0.8);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    min-height: 70px;
}

/* Logo */
.header-logo {
    flex-shrink: 0;
}

.site-logo {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    transition: color var(--transition-fast);
}

.site-logo:hover {
    color: var(--primary-color);
}

.custom-logo {
    max-height: 40px;
    width: auto;
}

/* Desktop Navigation */
.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.header-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
}

.header-menu li {
    margin: 0;
}

.header-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.header-menu a:hover {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

/* Header Right Section */
.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.header-cart {
    position: relative;
    color: var(--text-secondary);
    font-size: 1.125rem;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.header-cart:hover {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary-color);
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-cta {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-normal);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    background: var(--dark-bg);
    border-top: 1px solid var(--border-color);
    padding: 1rem 0;
}

.mobile-nav.active {
    display: block;
}

.mobile-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu li {
    margin: 0;
}

.mobile-menu a {
    display: block;
    padding: 1rem 0;
    color: var(--text-secondary);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: color var(--transition-fast);
}

.mobile-menu a:hover {
    color: var(--primary-color);
}

/* ===================================
   HERO SECTION
   =================================== */

.hero-new {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
    padding-top: 120px;
    padding-bottom: 60px;
}

.hero-new::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"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23334155" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.2;
    z-index: 1;
}

.hero-content-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text-new {
    color: white;
}

.hero-title {
    font-family: Arial, sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    background-image: none !important;
    background-clip: unset !important;
    -webkit-background-clip: unset !important;
}

.hero-gradient {
    color: #6366f1;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.hero-subtitle strong {
    color: #6366f1;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    color: white;
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    color: white;
}

.hero-features-new {
    display: flex;
    gap: 2rem;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #cbd5e1;
    font-size: 0.9rem;
}

.hero-feature-item i {
    color: #6366f1;
    font-size: 1rem;
}

/* Hero Visual - Control Panel */
.hero-visual {
    position: relative;
    z-index: 2;
}

.control-panel {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(51, 65, 85, 0.5);
    border-radius: 12px;
    backdrop-filter: blur(20px);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.panel-header {
    background: rgba(30, 41, 59, 0.8);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

.panel-controls {
    display: flex;
    gap: 0.5rem;
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control-dot.red { background: #ef4444; }
.control-dot.yellow { background: #f59e0b; }
.control-dot.green { background: #10b981; }

.panel-title {
    color: #f8fafc;
    font-weight: 600;
    font-size: 0.9rem;
}

.panel-content {
    padding: 1.5rem;
}

.server-status-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 8px;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.server-status-card span {
    color: #10b981;
    font-weight: 500;
    font-size: 0.9rem;
}

.metrics-grid {
    display: grid;
    gap: 1rem;
}

.metric-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: rgba(51, 65, 85, 0.3);
    border-radius: 6px;
    border: 1px solid rgba(71, 85, 105, 0.4);
}

.metric-label {
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 500;
    min-width: 60px;
}

.metric-bar {
    flex: 1;
    height: 6px;
    background: rgba(71, 85, 105, 0.4);
    border-radius: 3px;
    margin: 0 1rem;
    overflow: hidden;
}

.metric-progress {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 3px;
    transition: width 2s ease;
}

.metric-value {
    color: #f8fafc;
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 60px;
    text-align: right;
}

/* ===================================
   SECTIONS
   =================================== */

.section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Games Section */
.games-section {
    background: var(--card-bg);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.game-card {
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: transform var(--transition-fast);
}

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

.game-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Pricing Section */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.features-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.features-list li.included {
    color: var(--secondary-color);
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--card-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.testimonial-content {
    margin-bottom: 1.5rem;
    font-style: italic;
    color: var(--text-secondary);
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-primary);
}

/* FAQ Section */
.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    background: var(--card-bg);
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 200px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* ===================================
   UTILITY CLASSES
   =================================== */

.text-center { text-align: center; }
.text-gradient {
    color: var(--primary-color);
    font-weight: 800;
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }
.py-6 { padding: 3rem 0; }

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Dashboard Styles */
.dashboard-page {
    background: var(--bg-primary);
    min-height: calc(100vh - 200px);
}

.dashboard-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.dashboard-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.dashboard-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin: 0;
}

.dashboard-grid {
    display: grid;
    gap: 2rem;
}

.dashboard-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-title {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Stats Section */
.stats-grid {
    gap: 1.5rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Server Items */
.servers-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.server-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
}

.server-info {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
}

.server-details h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.server-description {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.server-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.server-status-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.server-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.server-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.server-actions .btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Activity Section */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: 8px;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.activity-content {
    flex: 1;
}

.activity-text {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.activity-time {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Quick Actions */
.action-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.action-card:hover {
    text-decoration: none;
}

.action-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.action-content h3 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.action-content p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

/* Responsive Dashboard */
@media (max-width: 1024px) {
    .server-item {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .server-info {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .server-status-section {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .server-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .dashboard-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .server-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .server-actions {
        flex-direction: column;
    }
    
    .server-actions .btn {
        text-align: center;
    }
}

/* Header Responsive Styles */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .header-wrapper {
        padding: 0.75rem 0;
        min-height: 60px;
    }
    
    .header-nav {
        display: none;
    }
    
    .header-cta {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-new {
        padding-top: 100px;
    }
    
    .hero-content-new {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-features-new {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
}

/* ===================================
   FOOTER
   =================================== */

.site-footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1rem;
    margin-top: auto;
}

.footer-content {
    color: var(--text-secondary);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo .logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.footer-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    text-decoration: none;
}

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

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-column {
    min-width: 0;
}

.footer-title {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 0.5rem;
}

.footer-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-menu a:hover {
    color: var(--primary-color);
}

.footer-newsletter {
    max-width: 300px;
}

.footer-newsletter p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.newsletter-form {
    margin-bottom: 2rem;
}

.newsletter-input-group {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input-group input {
    flex: 1;
    padding: 0.75rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.9rem;
}

.newsletter-input-group input::placeholder {
    color: var(--text-muted);
}

.newsletter-input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.newsletter-input-group .btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.trust-badge i {
    color: var(--secondary-color);
    font-size: 1rem;
}

.footer-bottom {
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.payment-icons {
    display: flex;
    gap: 0.5rem;
}

.payment-icons i {
    font-size: 1.25rem;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.payment-icons i:hover {
    color: var(--primary-color);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .payment-methods {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .newsletter-input-group {
        flex-direction: column;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* ===================================
   WOOCOMMERCE SHOP PAGE STYLES
   =================================== */

/* Override WooCommerce default styles */
.woocommerce,
.woocommerce-page {
    background: var(--bg-primary) !important;
}

/* Ensure WooCommerce page content starts below header */
.woocommerce .woocommerce-products-header,
.woocommerce-page .woocommerce-products-header {
    margin-top: 0 !important; /* Remove since main-content handles it */
    position: relative !important;
    z-index: 1 !important;
}

/* Additional WooCommerce page spacing */
.page-id-shop,
.woocommerce-shop {
    padding-top: 0 !important; /* Remove since main-content handles it */
}

.woocommerce .woocommerce-result-count {
    color: var(--text-muted) !important;
}

.woocommerce .woocommerce-ordering select {
    background: var(--card-bg) !important;
    color: var(--text-color) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
}

/* Main content wrapper */
.main-content {
    padding-top: 110px !important; /* Match header height: 70px + 2rem padding + buffer */
    min-height: 100vh;
    background: var(--bg-primary);
}

/* Shop Page Wrapper */
.tickforge-shop-wrapper {
    background: var(--bg-primary);
    min-height: calc(100vh - 110px);
    padding: 0.5rem 0 2rem 0;
}

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

/* Shop Header */
/* Shop Header - Branded Redesign */
.woocommerce-products-header {
    position: relative;
    text-align: center;
    margin-bottom: 4rem;
    margin-top: 0 !important;
    padding: 4rem 0 3rem;
    background: linear-gradient(
        135deg,
        var(--card-bg) 0%,
        var(--bg-secondary) 50%,
        var(--card-bg) 100%
    );
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

/* Animated background effect */
.woocommerce-products-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(99, 102, 241, 0.05) 0%,
        transparent 25%,
        rgba(245, 158, 11, 0.05) 50%,
        transparent 75%,
        rgba(99, 102, 241, 0.05) 100%
    );
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    pointer-events: none;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Header content positioning */
.woocommerce-products-header .container {
    position: relative;
    z-index: 2;
}

/* Header title styling */
.woocommerce-products-header__title {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(
        135deg, 
        var(--primary-color) 0%,
        var(--accent-color) 50%,
        var(--primary-light) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    position: relative;
}

/* Add subtle glow effect to title */
.woocommerce-products-header__title::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        var(--primary-color),
        var(--accent-color)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    filter: blur(2px);
    z-index: -1;
}

/* Archive description styling */
.woocommerce-products-header .woocommerce-archive-description {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.6;
    opacity: 0.9;
}

.woocommerce-products-header .woocommerce-archive-description p {
    margin-bottom: 0;
    color: var(--text-secondary);
}

/* Decorative elements */
.woocommerce-products-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-full);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

/* Shop Header - Responsive Design */
@media (max-width: 1024px) {
    .woocommerce-products-header {
        padding: 3rem 0 2.5rem;
        margin-bottom: 3rem;
    }
    
    .woocommerce-products-header__title {
        font-size: 3rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 768px) {
    .woocommerce-products-header {
        padding: 2.5rem 0 2rem;
        margin-bottom: 2.5rem;
        border-radius: var(--radius-lg);
    }
    
    .woocommerce-products-header__title {
        font-size: 2.5rem;
        letter-spacing: 0.5px;
        margin-bottom: 1rem;
    }
    
    .woocommerce-products-header .woocommerce-archive-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .woocommerce-products-header {
        padding: 2rem 0 1.5rem;
        margin-bottom: 2rem;
    }
    
    .woocommerce-products-header__title {
        font-size: 2rem;
        letter-spacing: 0px;
    }
    
    .woocommerce-products-header .woocommerce-archive-description {
        font-size: 0.9rem;
    }
}

/* Products Grid */
.tickforge-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* Simple Product Cards - Branded Styling */
.simple-product-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.simple-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.simple-product-card .card-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Product Image */
.simple-product-card .product-image {
    width: 100%;
    height: 180px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
}

.simple-product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.simple-product-card .product-placeholder-image {
    color: white;
    font-size: 3rem;
}

.simple-product-card .product-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
    line-height: 1.3;
}

.simple-product-card .server-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.simple-product-card .spec {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

.simple-product-card .availability {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    width: fit-content;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.simple-product-card .availability.available {
    background: rgba(16, 185, 129, 0.1);
    color: var(--secondary-color);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.simple-product-card .availability.unavailable {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.simple-product-card .order-button {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-normal);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.simple-product-card .order-button:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.simple-product-card .order-button.disabled {
    background: var(--bg-tertiary);
    color: var(--text-muted);
    cursor: not-allowed;
    box-shadow: none;
}

.simple-product-card .order-button.disabled:hover {
    background: var(--bg-tertiary);
    transform: none;
    box-shadow: none;
}

.tickforge-product-card:hover .product-card-image img {
    transform: scale(1.1);
}

.product-placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.product-placeholder-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s infinite;
}

.product-placeholder-image i {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Product Image - Redesigned */
.product-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.tickforge-product-card:hover .product-card-image img {
    transform: scale(1.1);
}

.product-placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.product-placeholder-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s infinite;
}

.product-placeholder-image i {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Availability Badge - Redesigned */
.availability-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.availability-badge.available {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 
        0 8px 25px rgba(16, 185, 129, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.availability-badge.low-stock {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    box-shadow: 
        0 8px 25px rgba(245, 158, 11, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.availability-badge.unavailable {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 
        0 8px 25px rgba(239, 68, 68, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.availability-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Card Body */
.product-card-body {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-game-type {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 20px;
    width: fit-content;
    box-shadow: 0 2px 8px rgba(var(--primary-color-rgb), 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-card-title {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--text-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-card-description {
    color: var(--text-muted);
    line-height: 1.5;
    font-size: 0.9rem;
    flex: 1;
}

/* Specs Grid */
.product-card-specs {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 16px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.spec-item:hover {
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.1), rgba(255, 255, 255, 0.05));
    border-color: rgba(var(--primary-color-rgb), 0.3);
}

.spec-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(var(--primary-color-rgb), 0.3);
}

.spec-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.spec-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.spec-value {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 700;
}

/* Card Footer */
.product-card-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.02));
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-card-price {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    margin: 0;
}

/* Actions - Scoped to Product Cards Only */
.product-card-actions .btn {
    width: 100%;
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card-actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.product-card-actions .btn:hover::before {
    left: 100%;
}

.product-card-actions .btn.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    box-shadow: 0 4px 20px rgba(var(--primary-color-rgb), 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}

.product-card-actions .btn.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(var(--primary-color-rgb), 0.5);
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

.product-card-actions .btn.btn-secondary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    color: var(--text-color);
    border-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.product-card-actions .btn.btn-secondary:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.product-card-actions .btn.btn-disabled {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.5), rgba(75, 85, 99, 0.4));
    color: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
    border-color: rgba(255, 255, 255, 0.1);
}

/* Product Description */
.product-card-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
    font-size: 0.95rem;
}

/* Product Price - Redesigned */
.product-card-price {
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    text-align: center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    position: relative;
}

.product-card-price::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    opacity: 0.6;
}

/* Product Actions - Redesigned */
.product-card-actions {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: auto;
    padding: 0 2rem 2rem 2rem;
}

.product-card-actions .btn {
    width: 100%;
    padding: 18px 28px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    text-decoration: none;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.product-card-actions .btn::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.6s ease;
}

.product-card-actions .btn:hover::before {
    left: 100%;
}

.product-card-actions .btn.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    box-shadow: 
        0 8px 25px rgba(var(--primary-color-rgb), 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.product-card-actions .btn.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 15px 35px rgba(var(--primary-color-rgb), 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

.product-card-actions .btn.btn-secondary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    color: var(--text-color);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.product-card-actions .btn.btn-secondary:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.1));
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.product-card-actions .btn.btn-disabled {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.6), rgba(75, 85, 99, 0.4));
    color: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.product-card-actions .btn i {
    font-size: 1.2rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

/* Popular Badge - Redesigned */
.popular-badge {
    position: absolute;
    top: -12px;
    left: 25px;
    background: linear-gradient(135deg, #ffd700, #ff6b35);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 
        0 8px 25px rgba(255, 107, 53, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    z-index: 15;
    transform: rotate(-3deg);
    border: 2px solid rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
}

.popular-badge::before {
    content: '★';
    font-size: 1.2rem;
    animation: sparkle 2s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

@keyframes sparkle {
    0%, 100% { 
        transform: scale(1) rotate(0deg); 
        opacity: 1;
    }
    50% { 
        transform: scale(1.3) rotate(180deg); 
        opacity: 0.8;
    }
}

/* No Products */
.tickforge-no-products {
    text-align: center;
    padding: 4rem 2rem;
}

.no-products-message {
    max-width: 500px;
    margin: 0 auto;
}

.no-products-message h2 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.no-products-message p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* WooCommerce Elements Override */
.woocommerce-result-count,
.woocommerce-ordering {
    color: var(--text-muted) !important;
    margin-bottom: 2rem !important;
    background: var(--card-bg) !important;
    padding: 15px 20px !important;
    border-radius: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.woocommerce .woocommerce-ordering select {
    background: var(--card-bg) !important;
    color: var(--text-color) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 8px !important;
    padding: 10px 15px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.woocommerce .woocommerce-ordering select:focus {
    border-color: var(--primary-color) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.1) !important;
}

/* Force WooCommerce to use our grid - REMOVE THE HIDE */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important;
    gap: 2rem !important;
    margin: 2rem 0 !important;
    list-style: none !important;
    padding: 0 !important;
}

.tickforge-products-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important;
    gap: 2rem !important;
    margin: 2rem 0 !important;
}

/* Override default WooCommerce product styling */
.woocommerce .products .product,
.woocommerce ul.products li.product {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    float: none !important;
}

/* Shop Page Responsive Design */
@media (max-width: 768px) {
    .main-content {
        padding-top: 100px !important; /* Smaller header on mobile */
    }
    
    .page-id-shop,
    .woocommerce-shop {
        padding-top: 0 !important; /* Remove since main-content handles it */
    }
    
    .woocommerce ul.products,
    .tickforge-products-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .product-card-specs {
        grid-template-columns: 1fr !important;
        gap: 0.6rem !important;
    }
    
    .product-card-actions {
        gap: 0.6rem !important;
    }
    
    .product-card-actions .btn {
        padding: 10px 16px !important;
        font-size: 0.9rem !important;
    }
}

@media (max-width: 1200px) {
    .woocommerce ul.products,
    .tickforge-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding-top: 100px !important; /* Smaller header on mobile */
    }
    
    .page-id-shop,
    .woocommerce-shop {
        padding-top: 0 !important; /* Remove since main-content handles it */
    }
    
    .woocommerce ul.products,
    .tickforge-products-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .tickforge-product-card {
        border-radius: 16px !important;
    }
    
    .product-card-header {
        padding: 20px !important;
    }
    
    .product-card-title {
        font-size: 1.8rem !important;
    }
    
    .product-card-body {
        padding: 20px !important;
    }
    
    .product-card-specs {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
        padding: 1rem !important;
    }
    
    .spec-item {
        font-size: 0.9rem !important;
        padding: 8px 0 !important;
    }
    
    .product-card-footer {
        padding: 20px !important;
    }
    
    .product-card-price {
        font-size: 1.8rem !important;
    }
    
    .product-card-actions .btn {
        padding: 14px 20px !important;
        font-size: 0.95rem !important;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding-top: 90px !important;
    }
    
    .page-id-shop,
    .woocommerce-shop {
        padding-top: 0 !important; /* Remove since main-content handles it */
    }
    
    .tickforge-shop-wrapper .container {
        padding: 0 15px !important;
    }
    
    .product-card-title {
        font-size: 1.5rem !important;
    }
    
    .product-card-price {
        font-size: 1.6rem !important;
    }
    
    .product-card-specs {
        padding: 0.8rem !important;
    }
    
    .availability-badge {
        font-size: 0.75rem !important;
        padding: 8px 12px !important;
    }
}

/* Enhanced Animations */
@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(var(--primary-color-rgb), 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(var(--primary-color-rgb), 0); }
    100% { box-shadow: 0 0 0 0 rgba(var(--primary-color-rgb), 0); }
}

.tickforge-product-card {
    animation: cardEntrance 0.6s ease-out;
    animation-fill-mode: both;
}

.tickforge-product-card:nth-child(1) { animation-delay: 0.1s; }
.tickforge-product-card:nth-child(2) { animation-delay: 0.2s; }
.tickforge-product-card:nth-child(3) { animation-delay: 0.3s; }
.tickforge-product-card:nth-child(4) { animation-delay: 0.4s; }
.tickforge-product-card:nth-child(5) { animation-delay: 0.5s; }
.tickforge-product-card:nth-child(6) { animation-delay: 0.6s; }

.availability-badge.in-stock {
    animation: pulse 2s infinite;
}

/* Simple Product Cards - Responsive */
@media (max-width: 768px) {
    .simple-product-card {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .simple-product-card .product-image {
        height: 150px;
    }
    
    .simple-product-card .product-title {
        font-size: 1.125rem;
    }
    
    .simple-product-card .server-specs {
        flex-direction: column;
        gap: 8px;
    }
    
    .simple-product-card .spec {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
    
    .simple-product-card .order-button {
        padding: 12px 24px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .simple-product-card {
        padding: 16px;
    }
    
    .simple-product-card .product-image {
        height: 120px;
    }
    
    .simple-product-card .product-title {
        font-size: 1rem;
    }
}