:root {
    --primary: #d4af37;
    --secondary: #1a365d;
    --accent: #c53030;
    --light: #f8f9fa;
    --dark: #2d3748;
    --gray: #718096;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: var(--dark);
    line-height: 1.6;
}

/* Generic container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i { margin-right: 2px; }
.logo-text { color: var(--primary); font-weight: 700; }

.primary-nav ul { display: flex; list-style: none; }
.primary-nav ul li { margin-left: 25px; }
.primary-nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}
.primary-nav ul li a:hover { color: var(--primary); }
.primary-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0; height: 2px; bottom: -5px; left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}
.primary-nav ul li a:hover::after { width: 100%; }

.auth-buttons { display: flex; gap: 15px; }
.btn {
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    display: inline-block;
    text-decoration: none;
}
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: #b8941f; }
.mobile-menu { display: none; font-size: 24px; cursor: pointer; background: transparent; border: 0; }

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 54, 93, 0.8), rgba(26, 54, 93, 0.9)), url('https://images.unsplash.com/photo-1615572766543-68f8cf7d7025?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    position: relative;
}
.hero-content { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 800px; margin: 0 auto; }
.hero h1 { font-size: 48px; margin-bottom: 20px; line-height: 1.2; }
.hero p { font-size: 20px; margin-bottom: 30px; opacity: 0.9; }
.hero-stats {
    display: flex; justify-content: space-around; width: 100%; max-width: 600px;
    margin: 40px 0; padding: 20px; background: rgba(255,255,255,0.1); border-radius: 10px; backdrop-filter: blur(10px);
}
.stat-item { text-align: center; }
.stat-number { font-size: 32px; font-weight: 700; color: var(--primary); display: block; }
.stat-label { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.hero-buttons { display: flex; gap: 20px; margin-top: 20px; }
.btn-large { padding: 12px 30px; font-size: 18px; }

/* Featured Coin Section */
.featured-coin {
    background: white; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 30px; margin-top: -50px; position: relative; z-index: 10; max-width: 1000px; margin-left: auto; margin-right: auto;
}
.section-title {
    font-size: 28px; margin-bottom: 20px; color: var(--secondary);
    text-align: center; position: relative;
}
.section-title::after {
    content: ''; position: absolute; width: 60px; height: 3px; background: var(--primary);
    bottom: -10px; left: 50%; transform: translateX(-50%);
}
.featured-coin-content { display: flex; gap: 30px; align-items: center; }
.coin-image { flex: 1; text-align: center; }
.coin-image img { max-width: 100%; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.coin-details { flex: 1; }
.coin-name { font-size: 24px; margin-bottom: 10px; color: var(--secondary); }
.coin-description { margin-bottom: 20px; color: var(--gray); }
.coin-price { font-size: 28px; font-weight: 700; color: var(--primary); margin-bottom: 20px; }
.countdown-timer { display: flex; gap: 10px; margin-bottom: 20px; }
.timer-box { background: var(--secondary); color: white; padding: 10px; border-radius: 5px; text-align: center; min-width: 60px; }
.timer-value { font-size: 24px; font-weight: 700; }
.timer-label { font-size: 12px; text-transform: uppercase; }

/* AI Identifier Section */
.ai-identifier { background: var(--secondary); color: white; padding: 60px 0; margin-top: 50px; }
.ai-container { display: flex; gap: 40px; align-items: center; }
.ai-content { flex: 1; }
.ai-title { font-size: 32px; margin-bottom: 20px; }
.ai-description { margin-bottom: 30px; opacity: 0.9; }
.ai-panel { flex: 1; background: white; border-radius: 10px; padding: 30px; color: var(--dark); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.ai-panel-title { font-size: 20px; margin-bottom: 20px; color: var(--secondary); text-align: center; }
.upload-area { border: 2px dashed var(--gray); border-radius: 8px; padding: 40px 20px; text-align: center; margin-bottom: 20px; cursor: pointer; transition: var(--transition); }
.upload-area:hover { border-color: var(--primary); }
.upload-icon { font-size: 48px; color: var(--gray); margin-bottom: 15px; }
.ai-results { margin-top: 20px; display: none; }
.result-item { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #eee; }

/* Categories Section */
.categories { padding: 80px 0; background: white; }
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 30px; margin-top: 40px; }
.category-card {
    background: white; border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition); text-align: center; padding: 30px 20px;
}
.category-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.15); }
.category-icon { font-size: 48px; color: var(--primary); margin-bottom: 20px; }
.category-name { font-size: 20px; margin-bottom: 10px; color: var(--secondary); }
.category-description { color: var(--gray); font-size: 14px; }

/* Collection Showcase */
.collection-showcase { padding: 80px 0; background: #f8f9fa; }
.collection-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.collection-item { background: white; border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1); transition: var(--transition); }
.collection-item:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.15); }
.collection-image { height: 200px; overflow: hidden; }
.collection-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.collection-item:hover .collection-image img { transform: scale(1.05); }
.collection-details { padding: 20px; }
.collection-name { font-size: 18px; margin-bottom: 10px; color: var(--secondary); }
.collection-price { font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }

/* Mobile App Section */
.mobile-app { padding: 80px 0; background: linear-gradient(to right, var(--secondary), #2d4a7c); color: white; }
.app-container { display: flex; gap: 40px; align-items: center; }
.app-content { flex: 1; }
.app-title { font-size: 32px; margin-bottom: 20px; }
.app-description { margin-bottom: 30px; opacity: 0.9; }
.app-features { margin-bottom: 30px; }
.app-feature { display: flex; align-items: center; margin-bottom: 15px; gap: 10px; }
.app-feature i { color: var(--primary); font-size: 18px; }
.app-image { flex: 1; text-align: center; }
.app-image img { max-width: 100%; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.app-buttons { display: flex; gap: 15px; }
.app-btn { display: flex; align-items: center; background: white; color: var(--dark); padding: 10px 20px; border-radius: 8px; text-decoration: none; font-weight: 600; transition: var(--transition); }
.app-btn:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); }
.app-btn i { font-size: 24px; margin-right: 10px; }

/* Blog Section */
.blog-section { padding: 80px 0; background: white; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.blog-card { background: white; border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1); transition: var(--transition); }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.15); }
.blog-image { height: 200px; overflow: hidden; }
.blog-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.blog-card:hover .blog-image img { transform: scale(1.05); }
.blog-content { padding: 20px; }
.blog-date { font-size: 14px; color: var(--gray); margin-bottom: 10px; }
.blog-title { font-size: 18px; margin-bottom: 10px; color: var(--secondary); }
.blog-excerpt { color: var(--gray); font-size: 14px; margin-bottom: 15px; }
.read-more { color: var(--primary); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; }
.read-more i { margin-left: 5px; transition: var(--transition); }
.read-more:hover i { transform: translateX(5px); }

/* Newsletter Section */
.newsletter { padding: 80px 0; background: linear-gradient(to right, var(--primary), #e6c34f); color: white; text-align: center; }
.newsletter-title { font-size: 32px; margin-bottom: 20px; }
.newsletter-description { max-width: 600px; margin: 0 auto 30px; opacity: 0.9; }
.newsletter-form { display: flex; max-width: 500px; margin: 0 auto; }
.newsletter-input { flex: 1; padding: 15px 20px; border: none; border-radius: 5px 0 0 5px; font-size: 16px; }
.newsletter-btn { background: var(--secondary); color: white; border: none; padding: 0 25px; border-radius: 0 5px 5px 0; cursor: pointer; font-weight: 600; transition: var(--transition); }
.newsletter-btn:hover { background: #152642; }

/* Search Section */
.search-section { padding: 60px 0; background: #f8f9fa; }
.search-container { max-width: 800px; margin: 0 auto; }
.search-box { display: flex; margin-bottom: 20px; }
.search-input { flex: 1; padding: 15px 20px; border: 2px solid #ddd; border-radius: 5px 0 0 5px; font-size: 16px; }
.search-btn { background: var(--primary); color: white; border: none; padding: 0 25px; border-radius: 0 5px 5px 0; cursor: pointer; font-weight: 600; transition: var(--transition); }
.search-btn:hover { background: #b8941f; }
.search-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.filter-btn { background: white; border: 1px solid #ddd; padding: 8px 15px; border-radius: 20px; cursor: pointer; transition: var(--transition); font-size: 14px; }
.filter-btn:hover, .filter-btn.active { background: var(--primary); color: white; border-color: var(--primary); }

/* Footer */
.site-footer { background: var(--secondary); color: white; padding: 60px 0 30px; }
.footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-logo { font-size: 28px; font-weight: 700; color: var(--primary); margin-bottom: 20px; display: inline-flex; gap: 8px; align-items: center; }
.footer-description { margin-bottom: 20px; opacity: 0.8; }
.footer-heading { font-size: 18px; margin-bottom: 20px; color: var(--primary); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255, 255, 255, 0.8); text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: var(--primary); padding-left: 5px; }
.copyright { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); opacity: 0.7; font-size: 14px; }

/* Responsive */
@media (max-width: 992px) {
  .hero h1 { font-size: 36px; }
  .featured-coin-content { flex-direction: column; }
  .ai-container, .app-container { flex-direction: column; }
  .hero-stats { flex-wrap: wrap; }
  .stat-item { width: 50%; margin-bottom: 20px; }
}

@media (max-width: 768px) {
  .primary-nav ul { display: none; }
  .mobile-menu { display: block; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .btn-large { width: 100%; margin-bottom: 10px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-input { border-radius: 5px; margin-bottom: 10px; }
  .newsletter-btn { border-radius: 5px; padding: 15px; }
  .search-box { flex-direction: column; }
  .search-input { border-radius: 5px; margin-bottom: 10px; }
  .search-btn { border-radius: 5px; padding: 15px; }
}

@media (max-width: 576px) {
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 16px; }
  .section-title { font-size: 24px; }
  .stat-number { font-size: 24px; }
  .categories-grid, .collection-grid, .blog-grid { grid-template-columns: 1fr; }
}
/* Ancient Coins Collection Styles */
.ancient-coins-collection {
    font-family: 'Georgia', serif;
    line-height: 1.6;
}

/* Hero Section */
.ancient-hero {
    background: linear-gradient(135deg, #8B4513 0%, #D2691E 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
    margin-bottom: 60px;
}

.ancient-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.ancient-hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #8B4513;
    margin-bottom: 50px;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #D4AF37;
    margin: 15px auto;
}

/* Categories Grid */
.coin-categories {
    padding: 60px 0;
    background: #f8f9fa;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.category-card h3 {
    color: #8B4513;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.category-card p {
    color: #6c757d;
    margin-bottom: 25px;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    background: #D4AF37;
    color: white;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #D4AF37;
}

.btn:hover {
    background: transparent;
    color: #D4AF37;
}

/* Featured Coins */
.featured-coins {
    padding: 80px 0;
    background: white;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-coin {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.featured-coin:hover {
    transform: translateY(-5px);
}

.coin-image {
    height: 200px;
    overflow: hidden;
}

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

.featured-coin:hover .coin-image img {
    transform: scale(1.1);
}

.coin-info {
    padding: 25px;
    text-align: center;
}

.coin-info h4 {
    color: #8B4513;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.coin-info p {
    color: #6c757d;
    margin: 0;
}

/* FAQ Section */
.ancient-faq {
    padding: 80px 0;
    background: #f8f9fa;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #8B4513;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question:after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
}

.faq-item.active .faq-question:after {
    content: '-';
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 25px;
    max-height: 500px;
}

.faq-answer p {
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ancient-hero h1 {
        font-size: 2.2rem;
    }
    
    .ancient-hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .categories-grid,
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-card {
        padding: 30px 20px;
    }
}
/* Roman Coins Template Styles */
.roman-coins-collection {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    max-width: 100%;
}

.roman-hero {
    background: linear-gradient(135deg, #8B0000 0%, #B22222 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
    margin-bottom: 60px;
}

.roman-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.roman-hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Add all the other CSS styles from the previous code here */
/* [Include all the CSS from the previous response] */
/* ===== Coin Collection Template Styles ===== */

/* Common Styles for All Coin Templates */
.coin-template-container {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.coin-template-hero {
    text-align: center;
    padding: 80px 20px;
    margin-bottom: 0;
    color: white;
}

.coin-template-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.coin-template-hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.coin-section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
}

.coin-section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    margin: 15px auto;
}

.coin-grid {
    display: grid;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.coin-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.coin-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.coin-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.coin-btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid;
}

/* Roman Coins Specific Colors */
.roman-coins-collection .coin-template-hero {
    background: linear-gradient(135deg, #8B0000 0%, #B22222 100%);
}

.roman-coins-collection .coin-section-title {
    color: #8B0000;
}

.roman-coins-collection .coin-section-title:after {
    background: #D4AF37;
}

.roman-coins-collection .coin-btn {
    background: #D4AF37;
    color: white;
    border-color: #D4AF37;
}

.roman-coins-collection .coin-btn:hover {
    background: transparent;
    color: #D4AF37;
}

/* Greek Coins Specific Colors */
.greek-coins-collection .coin-template-hero {
    background: linear-gradient(135deg, #1E6B52 0%, #2E8B57 100%);
}

.greek-coins-collection .coin-section-title {
    color: #1E6B52;
}

.greek-coins-collection .coin-section-title:after {
    background: #FFD700;
}

.greek-coins-collection .coin-btn {
    background: #FFD700;
    color: #1E6B52;
    border-color: #FFD700;
}

.greek-coins-collection .coin-btn:hover {
    background: transparent;
    color: #FFD700;
}

/* Illyrian Coins Specific Colors */
.illyrian-coins-collection .coin-template-hero {
    background: linear-gradient(135deg, #4B0082 0%, #6A0DAD 100%);
}

.illyrian-coins-collection .coin-section-title {
    color: #4B0082;
}

.illyrian-coins-collection .coin-section-title:after {
    background: #C0C0C0;
}

.illyrian-coins-collection .coin-btn {
    background: #C0C0C0;
    color: #4B0082;
    border-color: #C0C0C0;
}

.illyrian-coins-collection .coin-btn:hover {
    background: transparent;
    color: #C0C0C0;
}

/* Byzantine Coins Specific Colors */
.byzantine-coins-collection .coin-template-hero {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
}

.byzantine-coins-collection .coin-section-title {
    color: #8B4513;
}

.byzantine-coins-collection .coin-section-title:after {
    background: #FFD700;
}

.byzantine-coins-collection .coin-btn {
    background: #FFD700;
    color: #8B4513;
    border-color: #FFD700;
}

.byzantine-coins-collection .coin-btn:hover {
    background: transparent;
    color: #FFD700;
}

/* Medieval Coins Specific Colors */
.medieval-coins-collection .coin-template-hero {
    background: linear-gradient(135deg, #2F4F4F 0%, #708090 100%);
}

.medieval-coins-collection .coin-section-title {
    color: #2F4F4F;
}

.medieval-coins-collection .coin-section-title:after {
    background: #C0C0C0;
}

.medieval-coins-collection .coin-btn {
    background: #C0C0C0;
    color: #2F4F4F;
    border-color: #C0C0C0;
}

.medieval-coins-collection .coin-btn:hover {
    background: transparent;
    color: #C0C0C0;
}

/* Common FAQ Styles */
.coin-faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.coin-faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.coin-faq-question {
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.coin-faq-question:hover {
    background: #f8f9fa;
}

.coin-faq-question:after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
}

.coin-faq-item.active .coin-faq-question:after {
    content: '-';
}

.coin-faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.coin-faq-item.active .coin-faq-answer {
    padding: 0 25px 25px;
    max-height: 500px;
}

.coin-faq-answer p {
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .coin-template-hero h1 {
        font-size: 2.2rem;
    }
    
    .coin-template-hero p {
        font-size: 1.1rem;
    }
    
    .coin-section-title {
        font-size: 2rem;
    }
    
    .coin-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .coin-card {
        padding: 30px 20px;
    }
    
    .coin-template-section {
        padding: 40px 15px !important;
    }
}

.coin-template-section {
    padding: 80px 20px;
}

.coin-template-section.bg-light {
    background: #f8f9fa;
}

.coin-template-section.bg-white {
    background: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
/* ===== Illyrian Coins Specific Styles ===== */

/* Featured Coin Cards */
.coin-featured-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.coin-image {
    height: 200px;
    overflow: hidden;
}

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

.coin-featured-card:hover .coin-image img {
    transform: scale(1.1);
}

.coin-info {
    padding: 25px;
    text-align: center;
}

.coin-info h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.illyrian-coins-collection .coin-info h4 {
    color: #4B0082;
}

.coin-info p {
    color: #6c757d;
    margin-bottom: 10px;
}

.coin-era {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.illyrian-coins-collection .coin-era {
    background: #4B0082;
    color: white;
}

/* Type Cards */
.type-card {
    background: white;
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    border-left: 4px solid;
}

.illyrian-coins-collection .type-card {
    border-left-color: #C0C0C0;
}

.type-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.illyrian-coins-collection .type-card h3 {
    color: #4B0082;
}

.type-card p {
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.6;
}

.type-details {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.metal, .value {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.illyrian-coins-collection .metal {
    background: #C0C0C0;
    color: #4B0082;
}

.illyrian-coins-collection .value {
    background: #4B0082;
    color: white;
}

/* Symbol Cards */
.symbol-card {
    background: white;
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border-top: 4px solid;
}

.illyrian-coins-collection .symbol-card {
    border-top-color: #C0C0C0;
}

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

.symbol-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.symbol-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.illyrian-coins-collection .symbol-card h3 {
    color: #4B0082;
}

.symbol-card p {
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

/* Illyrian FAQ Specific Styles */
.illyrian-coins-collection .coin-faq-item {
    border-left: 4px solid #4B0082;
}

.illyrian-coins-collection .coin-faq-question {
    color: #4B0082;
}

/* Tribe Card Animations */
.tribe-card {
    position: relative;
    overflow: hidden;
}

.tribe-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(75, 0, 130, 0.1), transparent);
    transition: left 0.5s;
}

.tribe-card:hover::before {
    left: 100%;
}
/* ===== Byzantine Coins Specific Styles ===== */

/* Byzantine Featured Cards */
.byzantine-coins-collection .coin-info h4 {
    color: #8B4513;
}

.byzantine-coins-collection .coin-era {
    background: #8B4513;
    color: white;
}

/* Byzantine Type Cards */
.byzantine-coins-collection .type-card {
    border-left-color: #FFD700;
}

.byzantine-coins-collection .type-card h3 {
    color: #8B4513;
}

.byzantine-coins-collection .metal {
    background: #FFD700;
    color: #8B4513;
}

.byzantine-coins-collection .value {
    background: #8B4513;
    color: white;
}

/* Byzantine Symbol Cards */
.byzantine-coins-collection .symbol-card {
    border-top-color: #FFD700;
}

.byzantine-coins-collection .symbol-card h3 {
    color: #8B4513;
}

/* Byzantine Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #FFD700;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
    text-align: right;
}

.timeline-date {
    flex: 0 0 120px;
    background: #8B4513;
    color: white;
    padding: 10px 15px;
    border-radius: 20px;
    font-weight: 600;
    text-align: center;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    margin: 0 20px;
    border-left: 4px solid #FFD700;
}

.timeline-item:nth-child(odd) .timeline-content {
    border-left: none;
    border-right: 4px solid #FFD700;
}

.timeline-content h4 {
    color: #8B4513;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.timeline-content p {
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

/* Byzantine FAQ Specific Styles */
.byzantine-coins-collection .coin-faq-item {
    border-left: 4px solid #8B4513;
}

.byzantine-coins-collection .coin-faq-question {
    color: #8B4513;
}

/* Dynasty Card Animations */
.dynasty-card {
    position: relative;
    overflow: hidden;
}

.dynasty-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #FFD700, #8B4513, #FFD700);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.dynasty-card:hover::after {
    transform: scaleX(1);
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        text-align: left !important;
        padding-left: 60px;
    }
    
    .timeline-date {
        position: absolute;
        left: 0;
        top: 0;
        width: 60px;
        font-size: 0.8rem;
    }
    
    .timeline-content {
        margin: 0;
        border-left: 4px solid #FFD700 !important;
        border-right: none !important;
    }
}

/* Byzantine Icon Animations */
.byzantine-coins-collection .coin-icon {
    transition: transform 0.3s ease;
}

.byzantine-coins-collection .coin-card:hover .coin-icon {
    transform: scale(1.2) rotate(5deg);
}

/* Gold Shimmer Effect */
.byzantine-coins-collection .coin-btn {
    position: relative;
    overflow: hidden;
}

.byzantine-coins-collection .coin-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.byzantine-coins-collection .coin-btn:hover::before {
    animation: goldShimmer 1.5s ease-in-out;
}

@keyframes goldShimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}
/* ===== Medieval Coins Specific Styles ===== */

/* Medieval Featured Cards */
.medieval-coins-collection .coin-info h4 {
    color: #2F4F4F;
}

.medieval-coins-collection .coin-era {
    background: #2F4F4F;
    color: white;
}

/* Medieval Type Cards */
.medieval-coins-collection .type-card {
    border-left-color: #C0C0C0;
}

.medieval-coins-collection .type-card h3 {
    color: #2F4F4F;
}

.medieval-coins-collection .metal {
    background: #C0C0C0;
    color: #2F4F4F;
}

.medieval-coins-collection .value {
    background: #2F4F4F;
    color: white;
}

/* Medieval Symbol Cards */
.medieval-coins-collection .symbol-card {
    border-top-color: #C0C0C0;
}

.medieval-coins-collection .symbol-card h3 {
    color: #2F4F4F;
}

/* Medieval Timeline */
.medieval-coins-collection .timeline::before {
    background: #C0C0C0;
}

.medieval-coins-collection .timeline-date {
    background: #2F4F4F;
}

.medieval-coins-collection .timeline-content {
    border-left-color: #C0C0C0;
}

.medieval-coins-collection .timeline-item:nth-child(odd) .timeline-content {
    border-right-color: #C0C0C0;
}

.medieval-coins-collection .timeline-content h4 {
    color: #2F4F4F;
}

/* Medieval FAQ Specific Styles */
.medieval-coins-collection .coin-faq-item {
    border-left: 4px solid #2F4F4F;
}

.medieval-coins-collection .coin-faq-question {
    color: #2F4F4F;
}

/* Kingdom Card Animations */
.kingdom-card {
    position: relative;
    overflow: hidden;
}

.kingdom-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2F4F4F, #C0C0C0, #2F4F4F);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.kingdom-card:hover::before {
    transform: scaleX(1);
}

/* Heraldic Symbol Animations */
.medieval-coins-collection .symbol-icon {
    transition: all 0.3s ease;
    filter: grayscale(0.3);
}

.medieval-coins-collection .symbol-card:hover .symbol-icon {
    transform: scale(1.2) rotate(5deg);
    filter: grayscale(0);
}

/* Castle Animation Effect */
.medieval-coins-collection .coin-card:hover .coin-icon {
    transform: translateY(-5px);
    text-shadow: 2px 2px 4px rgba(47, 79, 79, 0.3);
}

/* Medieval Button Effects */
.medieval-coins-collection .coin-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.medieval-coins-collection .coin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(47, 79, 79, 0.3);
}

/* Responsive Medieval Timeline */
@media (max-width: 768px) {
    .medieval-coins-collection .timeline-content {
        border-left: 4px solid #C0C0C0 !important;
        border-right: none !important;
    }
}

/* Medieval Color Scheme Enhancements */
.medieval-coins-collection .coin-template-section.bg-light {
    background: #f8f9fa !important;
}

.medieval-coins-collection .coin-template-section.bg-white {
    background: #ffffff !important;
    border-bottom: 1px solid #e9ecef;
}
/* ===== US Coins Specific Styles ===== */

/* US Coins Featured Cards */
.us-coins-collection .coin-info h4 {
    color: #0A3161;
}

.us-coins-collection .coin-era {
    background: #0A3161;
    color: white;
}

/* US Coins Type Cards */
.us-coins-collection .type-card {
    border-left-color: #B31942;
}

.us-coins-collection .type-card h3 {
    color: #0A3161;
}

.us-coins-collection .metal {
    background: #B31942;
    color: white;
}

.us-coins-collection .value {
    background: #0A3161;
    color: white;
}

/* US Mint Symbol Cards */
.us-coins-collection .symbol-card {
    border-top-color: #B31942;
}

.us-coins-collection .symbol-card h3 {
    color: #0A3161;
}

/* US Coins Timeline */
.us-coins-collection .timeline::before {
    background: #B31942;
}

.us-coins-collection .timeline-date {
    background: #0A3161;
}

.us-coins-collection .timeline-content {
    border-left-color: #B31942;
}

.us-coins-collection .timeline-item:nth-child(odd) .timeline-content {
    border-right-color: #B31942;
}

.us-coins-collection .timeline-content h4 {
    color: #0A3161;
}

/* US Coins FAQ Specific Styles */
.us-coins-collection .coin-faq-item {
    border-left: 4px solid #0A3161;
}

.us-coins-collection .coin-faq-question {
    color: #0A3161;
}

/* Era Card Animations */
.us-coins-collection .coin-card {
    position: relative;
    overflow: hidden;
}

.us-coins-collection .coin-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(10, 49, 97, 0.1), transparent);
    transition: left 0.6s ease;
}

.us-coins-collection .coin-card:hover::before {
    left: 100%;
}

/* Mint Facility Animations */
.us-coins-collection .symbol-icon {
    transition: all 0.4s ease;
    color: #0A3161;
}

.us-coins-collection .symbol-card:hover .symbol-icon {
    transform: scale(1.3) rotate(10deg);
    color: #B31942;
}

/* Patriotic Button Effects */
.us-coins-collection .coin-btn {
    background: linear-gradient(135deg, #0A3161, #B31942);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.us-coins-collection .coin-btn:hover {
    background: transparent;
    border-color: #0A3161;
    color: #0A3161;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(10, 49, 97, 0.3);
}

/* Star Animation */
.us-coins-collection .coin-btn::after {
    content: '★';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: all 0.3s ease;
}

.us-coins-collection .coin-btn:hover::after {
    top: 8px;
    opacity: 1;
}

/* Denomination Value Styling */
.us-coins-collection .type-details .value {
    font-weight: bold;
    font-size: 1rem;
}

/* Responsive US Timeline */
@media (max-width: 768px) {
    .us-coins-collection .timeline-content {
        border-left: 4px solid #B31942 !important;
        border-right: none !important;
    }
}

/* Patriotic Section Backgrounds */
.us-coins-collection .coin-template-section.bg-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9f2ff 100%) !important;
}

.us-coins-collection .coin-template-section.bg-white {
    background: #ffffff !important;
    border-bottom: 2px solid #0A3161;
}

/* Coin Era Icons */
.us-coins-collection .coin-icon {
    transition: all 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.us-coins-collection .coin-card:hover .coin-icon {
    transform: scale(1.3) rotate(5deg);
    text-shadow: 3px 3px 6px rgba(10, 49, 97, 0.3);
}
/* ===== European Coins Specific Styles ===== */

/* European Coins Collection */
.european-coins-collection {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Hero Section */
.european-hero {
    background: linear-gradient(135deg, #003399 0%, #FFCC00 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
    margin-bottom: 0;
}

.european-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.european-hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

/* Section Titles */
.european-coins-collection .section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #003399;
    margin-bottom: 50px;
    position: relative;
}

.european-coins-collection .section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #FFCC00;
    margin: 15px auto;
}

/* European Regions Grid */
.european-regions {
    padding: 80px 20px;
    background: #f8f9fa;
}

.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.region-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.region-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,51,153,0.15);
}

.region-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.2));
    transition: all 0.3s ease;
}

.region-card h3 {
    color: #003399;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.region-card p {
    color: #6c757d;
    margin-bottom: 25px;
    line-height: 1.6;
}

.european-coins-collection .btn {
    display: inline-block;
    background: linear-gradient(135deg, #003399, #FFCC00);
    color: #003399;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.european-coins-collection .btn:hover {
    background: transparent;
    border-color: #003399;
    color: #003399;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,51,153,0.2);
}

/* Featured European Coins */
.featured-european-coins {
    padding: 80px 20px;
    background: white;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-coin {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #FFCC00;
    position: relative;
}

.featured-coin:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,51,153,0.2);
}

.coin-image {
    height: 200px;
    overflow: hidden;
}

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

.featured-coin:hover .coin-image img {
    transform: scale(1.1);
}

.coin-info {
    padding: 25px;
    text-align: center;
}

.coin-info h4 {
    color: #003399;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.coin-info p {
    color: #6c757d;
    margin-bottom: 10px;
}

.coin-era {
    display: inline-block;
    background: #003399;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* European Historical Periods */
.european-periods {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e6f0ff 100%);
}

.periods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.period-card {
    background: white;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #FFCC00;
    transition: all 0.3s ease;
}

.period-card:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(0, 51, 153, 0.15);
}

.period-card h3 {
    color: #003399;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.period-card p {
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.6;
}

.period-details {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.era, .centuries {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.era {
    background: #003399;
    color: white;
}

.centuries {
    background: #FFCC00;
    color: #003399;
}

/* European Coin Types */
.european-coin-types {
    padding: 80px 20px;
    background: white;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.type-card {
    background: white;
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    border-top: 4px solid #003399;
    transition: all 0.3s ease;
}

.type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 204, 0, 0.2);
}

.type-card h3 {
    color: #003399;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.type-card p {
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.6;
}

.type-details {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.metal, .origin {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.metal {
    background: #FFCC00;
    color: #003399;
}

.origin {
    background: #003399;
    color: white;
}

/* FAQ Section */
.european-faq {
    padding: 80px 20px;
    background: #f8f9fa;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    border-left: 4px solid #003399;
}

.faq-question {
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #003399;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #e6f0ff;
}

.faq-question:after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
}

.faq-item.active .faq-question:after {
    content: '-';
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 25px;
    max-height: 500px;
}

.faq-answer p {
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

/* European Flag Animation */
.region-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 204, 0, 0.1), transparent);
    transition: left 0.6s ease;
}

.region-card:hover::before {
    left: 100%;
}

/* Star Animation for Featured Coins */
.featured-coin::after {
    content: '★';
    position: absolute;
    top: 10px;
    right: 10px;
    color: #FFCC00;
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-coin:hover::after {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .european-hero h1 {
        font-size: 2.2rem;
    }
    
    .european-hero p {
        font-size: 1.1rem;
    }
    
    .european-coins-collection .section-title {
        font-size: 2rem;
    }
    
    .regions-grid,
    .featured-grid,
    .periods-grid,
    .types-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .region-card,
    .period-card,
    .type-card {
        padding: 30px 20px;
    }
    
    .european-regions,
    .featured-european-coins,
    .european-periods,
    .european-coin-types,
    .european-faq {
        padding: 40px 15px;
    }
    
    .region-icon {
        font-size: 2.5rem;
    }
}

/* Loading State */
body:not(.loaded) .european-coins-collection {
    opacity: 0;
}

body.loaded .european-coins-collection {
    opacity: 1;
    transition: opacity 0.5s ease;
}
/* ===== Asian Coins Specific Styles ===== */

/* Asian Coins Collection */
.asian-coins-collection {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Hero Section */
.asian-hero {
    background: linear-gradient(135deg, #DC2626 0%, #EAB308 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
    margin-bottom: 0;
}

.asian-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.asian-hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

/* Section Titles */
.asian-coins-collection .section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #DC2626;
    margin-bottom: 50px;
    position: relative;
}

.asian-coins-collection .section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #EAB308;
    margin: 15px auto;
}

/* Asian Regions Grid */
.asian-regions {
    padding: 80px 20px;
    background: #f8f9fa;
}

.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.region-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.region-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.15);
}

.region-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.2));
    transition: all 0.3s ease;
}

.region-card h3 {
    color: #DC2626;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.region-card p {
    color: #6c757d;
    margin-bottom: 25px;
    line-height: 1.6;
}

.asian-coins-collection .btn {
    display: inline-block;
    background: linear-gradient(135deg, #DC2626, #EAB308);
    color: white;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.asian-coins-collection .btn:hover {
    background: transparent;
    border-color: #DC2626;
    color: #DC2626;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.2);
}

/* Featured Asian Coins */
.featured-asian-coins {
    padding: 80px 20px;
    background: white;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-coin {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #EAB308;
    position: relative;
}

.featured-coin:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(220, 38, 38, 0.2);
}

.coin-image {
    height: 200px;
    overflow: hidden;
}

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

.featured-coin:hover .coin-image img {
    transform: scale(1.1);
}

.coin-info {
    padding: 25px;
    text-align: center;
}

.coin-info h4 {
    color: #DC2626;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.coin-info p {
    color: #6c757d;
    margin-bottom: 10px;
}

.coin-era {
    display: inline-block;
    background: #DC2626;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Asian Historical Periods */
.asian-periods {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fee2e2 100%);
}

.periods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.period-card {
    background: white;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #EAB308;
    transition: all 0.3s ease;
}

.period-card:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.15);
}

.period-card h3 {
    color: #DC2626;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.period-card p {
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.6;
}

.period-details {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.era, .centuries {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.era {
    background: #DC2626;
    color: white;
}

.centuries {
    background: #EAB308;
    color: #DC2626;
}

/* Asian Coin Types */
.asian-coin-types {
    padding: 80px 20px;
    background: white;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.type-card {
    background: white;
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    border-top: 4px solid #DC2626;
    transition: all 0.3s ease;
}

.type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(234, 179, 8, 0.2);
}

.type-card h3 {
    color: #DC2626;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.type-card p {
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.6;
}

.type-details {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.metal, .origin {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.metal {
    background: #EAB308;
    color: #DC2626;
}

.origin {
    background: #DC2626;
    color: white;
}

/* FAQ Section */
.asian-faq {
    padding: 80px 20px;
    background: #f8f9fa;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    border-left: 4px solid #DC2626;
}

.faq-question {
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #DC2626;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #fee2e2;
}

.faq-question:after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
}

.faq-item.active .faq-question:after {
    content: '-';
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 25px;
    max-height: 500px;
}

.faq-answer p {
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

/* Asian Pattern Animation */
.region-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(234, 179, 8, 0.1), transparent);
    transition: left 0.6s ease;
}

.region-card:hover::before {
    left: 100%;
}

/* Dragon Breath Animation */
@keyframes dragonBreath {
    0% { transform: scale(1) rotate(0); }
    25% { transform: scale(1.3) rotate(-5deg); }
    50% { transform: scale(1.1) rotate(5deg); }
    75% { transform: scale(1.2) rotate(-3deg); }
    100% { transform: scale(1) rotate(0); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .asian-hero h1 {
        font-size: 2.2rem;
    }
    
    .asian-hero p {
        font-size: 1.1rem;
    }
    
    .asian-coins-collection .section-title {
        font-size: 2rem;
    }
    
    .regions-grid,
    .featured-grid,
    .periods-grid,
    .types-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .region-card,
    .period-card,
    .type-card {
        padding: 30px 20px;
    }
    
    .asian-regions,
    .featured-asian-coins,
    .asian-periods,
    .asian-coin-types,
    .asian-faq {
        padding: 40px 15px;
    }
    
    .region-icon {
        font-size: 2.5rem;
    }
}
/* assets/css/style.css - World Coins Section */

/* World Coins Container */
.world-coins-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header Styles */
.world-coins-header {
    text-align: center;
    margin-bottom: 50px;
}

.world-coins-header h1 {
    color: #2c3e50;
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Filter Styles */
.world-coins-filters {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.world-coins-filters select {
    padding: 12px 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    font-weight: 500;
    min-width: 180px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.world-coins-filters select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.world-coins-filters select:hover {
    border-color: #bdc3c7;
}

.reset-btn {
    padding: 12px 25px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reset-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

/* Coins Grid */
.world-coins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.coin-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.coin-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.coin-image {
    height: 220px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.coin-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.coin-info {
    padding: 25px;
}

.coin-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #2c3e50;
    font-weight: 600;
    line-height: 1.3;
}

.coin-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.coin-country,
.coin-year,
.coin-value {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.coin-year {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.coin-value {
    background: linear-gradient(135deg, #27ae60, #229954);
}

.coin-excerpt {
    color: #7f8c8d;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.view-coin-details {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.view-coin-details:hover {
    background: linear-gradient(135deg, #2980b9, #2471a3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Loading Indicator */
.world-coins-loading {
    text-align: center;
    padding: 60px 20px;
    display: none;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.world-coins-loading p {
    color: #7f8c8d;
    font-size: 1.1rem;
}

/* Pagination */
.world-coins-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.page-btn {
    padding: 10px 18px;
    border: 2px solid #bdc3c7;
    background: white;
    color: #2c3e50;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.page-btn:hover {
    border-color: #3498db;
    color: #3498db;
    transform: translateY(-2px);
}

.page-btn.active {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Coin Modal */
.coin-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.coin-modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.coin-modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 2rem;
    color: #7f8c8d;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease;
}

.coin-modal-close:hover {
    color: #e74c3c;
}

.coin-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.coin-detail-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.coin-detail-image img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.coin-detail-info {
    padding: 40px;
}

.coin-detail-info h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.coin-detail-meta {
    margin-bottom: 30px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #ecf0f1;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row strong {
    color: #2c3e50;
    font-weight: 600;
}

.detail-row span {
    color: #7f8c8d;
    font-weight: 500;
}

.coin-condition {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.coin-condition.mint {
    background: #27ae60;
    color: white;
}

.coin-condition.excellent {
    background: #3498db;
    color: white;
}

.coin-condition.good {
    background: #f39c12;
    color: white;
}

.coin-condition.fair {
    background: #e67e22;
    color: white;
}

.coin-detail-description h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.coin-detail-description {
    color: #7f8c8d;
    line-height: 1.7;
}

/* Error States */
.no-coins-found {
    text-align: center;
    padding: 60px 20px;
    color: #7f8c8d;
    font-size: 1.2rem;
    grid-column: 1 / -1;
}

.coins-error {
    text-align: center;
    padding: 60px 20px;
    color: #e74c3c;
    grid-column: 1 / -1;
}

.coins-error i {
    font-size: 3rem;
    margin-bottom: 20px;
}

.retry-btn {
    padding: 12px 25px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.retry-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.modal-loading {
    text-align: center;
    padding: 60px 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .world-coins-container {
        padding: 20px 15px;
    }
    
    .world-coins-header h1 {
        font-size: 2.2rem;
    }
    
    .world-coins-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .world-coins-filters select {
        min-width: auto;
        width: 100%;
    }
    
    .world-coins-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .coin-detail-content {
        grid-template-columns: 1fr;
    }
    
    .coin-detail-image {
        padding: 30px 20px;
    }
    
    .coin-detail-info {
        padding: 30px 20px;
    }
    
    .coin-modal-content {
        margin: 10% auto;
        width: 95%;
    }
}

@media (max-width: 480px) {
    .world-coins-header h1 {
        font-size: 1.8rem;
    }
    
    .coin-info {
        padding: 20px;
    }
    
    .coin-title {
        font-size: 1.2rem;
    }
    
    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* Body modal open state */
body.modal-open {
    overflow: hidden;
}

/* Smooth scrolling for pagination */
html {
    scroll-behavior: smooth;
}
/* Ancient Coin Rings Specific Styles */
.coin-rings-collection {
    font-family: 'Georgia', serif;
    line-height: 1.6;
}

/* Rings Grid */
.rings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.ring-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.ring-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(139, 69, 19, 0.2);
}

.ring-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.ring-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ring-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 69, 19, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.view-ring-details {
    background: white;
    color: #8B4513;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-ring-details:hover {
    background: #8B4513;
    color: white;
    transform: scale(1.05);
}

.ring-info {
    padding: 25px;
}

.ring-title {
    font-size: 1.3rem;
    color: #8B4513;
    margin-bottom: 10px;
    font-weight: 600;
}

.ring-description {
    color: #6c757d;
    margin-bottom: 15px;
    line-height: 1.5;
}

.ring-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.ring-civilization,
.ring-coin-type,
.ring-metal,
.ring-size {
    background: #8B4513;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.ring-coin-type {
    background: #D2691E;
}

.ring-metal {
    background: #FFD700;
    color: #8B4513;
}

.ring-size {
    background: #A0522D;
}

.ring-price {
    font-size: 1.4rem;
    color: #8B4513;
    font-weight: 700;
    text-align: center;
    margin-top: 15px;
}

/* Loading States */
.rings-loading {
    text-align: center;
    padding: 60px 20px;
    display: none;
}

.modal-loading {
    text-align: center;
    padding: 60px 20px;
}

/* Error States */
.rings-error {
    text-align: center;
    padding: 60px 20px;
    color: #e74c3c;
    grid-column: 1 / -1;
}

.rings-error i {
    font-size: 3rem;
    margin-bottom: 20px;
}

.retry-btn {
    padding: 12px 25px;
    background: #8B4513;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.retry-btn:hover {
    background: #D2691E;
    transform: translateY(-2px);
}

/* Pagination */
#rings-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.process-step.animated {
    animation: slideInLeft 0.6s ease forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Ring Modal Details */
.ring-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 30px;
}

.ring-detail-image {
    position: relative;
}

.ring-detail-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.ring-detail-info h2 {
    color: #8B4513;
    font-size: 2rem;
    margin-bottom: 20px;
}

.ring-detail-specs {
    margin-bottom: 25px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.spec-label {
    font-weight: 600;
    color: #8B4513;
}

.spec-value {
    color: #6c757d;
}

.ring-detail-description {
    margin-bottom: 25px;
    line-height: 1.7;
}

.ring-action-buttons {
    display: flex;
    gap: 15px;
}

.add-to-cart-btn,
.wishlist-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.add-to-cart-btn {
    background: #8B4513;
    color: white;
}

.add-to-cart-btn:hover {
    background: #D2691E;
    transform: translateY(-2px);
}

.wishlist-btn {
    background: transparent;
    border: 2px solid #8B4513;
    color: #8B4513;
}

.wishlist-btn:hover {
    background: #8B4513;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .rings-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .ring-detail-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .ring-action-buttons {
        flex-direction: column;
    }
    
    .ring-info {
        padding: 20px;
    }
}

/* Size Guide Toggle */
.size-guide-btn {
    background: transparent;
    border: 2px solid #8B4513;
    color: #8B4513;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.size-guide-btn:hover {
    background: #8B4513;
    color: white;
}

/* Civilization Badges */
.civilization-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #8B4513;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

/* Ring Condition Indicators */
.ring-condition {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 8px;
}

.condition-excellent {
    background: #27ae60;
    color: white;
}

.condition-very-good {
    background: #3498db;
    color: white;
}

.condition-good {
    background: #f39c12;
    color: white;
}

.condition-fair {
    background: #e67e22;
    color: white;
}