/* styles.css - Complete stylesheet for That Ringtone Guys Collection */

/* Brand Guidelines CSS Variables */
:root {
  /* Brand Colors */
  --primary-blue: #3498db;
  --dark-blue: #2c3e50;
  --success-green: #27ae60;
  --success-green-dark: #219a52;
  --featured-gold: #ffd700;
  --neutral-gray: #95a5a6;
  --neutral-gray-dark: #7f8c8d;
  --warning-red: #e74c3c;
  --warning-orange: #f39c12;
  
  /* Brand Gradients */
  --brand-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --primary-blue-dark: #2980b9;
  --button-primary-gradient: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  --button-success-gradient: linear-gradient(135deg, #27ae60 0%, #219a52 100%);
  
  /* Background Colors */
  --bg-light: #fafafa;
  --bg-card: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #e1e5e9;
  
  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-size-sm: 0.9rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.2rem;
  --font-size-xl: 1.5rem;
  --font-size-xxl: 2rem;
  --font-size-display: 3rem;
  --line-height-base: 1.6;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-xxl: 3rem;
  
  /* Border Radius */
  --border-radius-sm: 4px;
  --border-radius-md: 6px;
  --border-radius-lg: 8px;
  --border-radius-xl: 12px;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-xl: 0 4px 20px rgba(0,0,0,0.15);
  
  /* Container */
  --max-width: 1200px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #fafafa;
    color: #2c3e50;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header Styles */
.header {
    background-color: #fff;
    border-bottom: 1px solid #e1e5e9;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
}

/* Mobile menu button - shown on mobile */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #2c3e50;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.mobile-menu-button:hover {
    background-color: #f8f9fa;
}

/* Desktop navigation - visible by default */
.desktop-nav {
    display: block;
}

.desktop-nav .nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

/* Desktop Navigation Dropdown Styles */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.nav-dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid #e1e5e9;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 200;
    min-width: 500px;
}

.nav-dropdown:hover .nav-dropdown-toggle i {
    transform: rotate(180deg);
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1.5rem;
}

.brand-column h4 {
    font-size: 0.9rem;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
}

.brand-column a {
    display: block;
    padding: 0.5rem 0.75rem;
    color: #666;
    border-radius: 4px;
    transition: all 0.2s ease;
    margin-bottom: 0.25rem;
}

.brand-column a:hover {
    background-color: #f8f9fa;
    color: #2c3e50;
    transform: translateX(4px);
    border-left: 3px solid #3498db;
    padding-left: calc(0.75rem - 3px);
}

/* Arrow pointing up to the menu item */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
    filter: drop-shadow(0 -2px 2px rgba(0, 0, 0, 0.1));
}

/* Ringtones Dropdown Specific Styles */
.ringtones-dropdown {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    grid-template-columns: 1fr;
    min-width: 350px;
    padding: 1rem;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    border-color: #667eea;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.dropdown-item.active {
    background-color: #667eea;
    color: white;
}

.dropdown-item.active:hover {
    background-color: #5a6fd8;
}

.dropdown-item i {
    font-size: 1.2rem;
    color: #667eea;
    width: 20px;
    text-align: center;
}

.dropdown-item.active i {
    color: white;
}

.item-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.dropdown-item.active .item-title {
    color: white;
}

.item-desc {
    font-size: 0.8rem;
    color: #666;
}

.dropdown-item.active .item-desc {
    color: rgba(255,255,255,0.9);
}

.nav-links a {
    color: #666;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #2c3e50;
}

.search-icon {
    font-size: 1.2rem;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.search-icon:hover {
    background-color: #f8f9fa;
}

/* Mobile Navigation - hidden by default */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    display: none;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
    display: block;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background-color: #fff;
    z-index: 201;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    display: none;
}

.mobile-nav.active {
    transform: translateX(0);
    display: block;
}

.mobile-nav-header {
    padding: 1.5rem;
    background-color: #2c3e50;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav-header h2 {
    font-size: 1.2rem;
    margin: 0;
}

.mobile-nav-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-nav-content {
    padding: 1rem;
}

.mobile-nav-links {
    list-style: none;
    margin-bottom: 2rem;
}

.mobile-nav-links li {
    margin-bottom: 0.5rem;
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    padding: 1rem;
    color: #2c3e50;
    font-weight: 500;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    background-color: #f8f9fa;
}

.mobile-nav-links a i {
    margin-right: 0.75rem;
    color: #3498db;
    width: 20px;
}

/* Mobile Navigation Dropdown Styles */
.mobile-nav-dropdown {
    margin-bottom: 0.5rem;
}

.mobile-dropdown-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: none;
    border: none;
    color: #2c3e50;
    font-weight: 500;
    border-radius: 6px;
    transition: background-color 0.2s;
    font-size: 1rem;
    cursor: pointer;
    text-align: left;
}

.mobile-dropdown-toggle:hover {
    background-color: #f8f9fa;
}

.mobile-dropdown-toggle i:first-child {
    margin-right: 0.75rem;
    color: #3498db;
    width: 20px;
}

.mobile-dropdown-toggle i:last-child {
    transition: transform 0.3s ease;
    color: #666;
}

.mobile-dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #f8f9fa;
    border-radius: 6px;
    margin-top: 0.5rem;
}

.mobile-dropdown-content.active {
    max-height: 300px;
    padding: 0.5rem;
}

.mobile-dropdown-content a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: #2c3e50;
    font-weight: 500;
    border-radius: 4px;
    transition: background-color 0.2s;
    margin-bottom: 0.25rem;
}

.mobile-dropdown-content a:hover,
.mobile-dropdown-content a.active {
    background-color: #fff;
    color: #667eea;
}

.mobile-dropdown-content a i {
    margin-right: 0.75rem;
    color: #3498db;
    width: 20px;
}

.mobile-dropdown-content a.active i {
    color: #667eea;
}

/* Updated Mobile Search Styles to match main search results */
.mobile-search-section,
.mobile-brands-section {
    margin-bottom: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e1e5e9;
}

.mobile-search-section h3,
.mobile-brands-section h3 {
    font-size: 1rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.mobile-search-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.mobile-search-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #e1e5e9;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.mobile-search-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.mobile-search-button {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    min-width: 50px;
    transition: background-color 0.2s;
}

.mobile-search-button:hover {
    background-color: var(--primary-blue-dark);
}

/* Mobile search results container */
.mobile-search-results {
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #e1e5e9;
    margin-top: 1rem;
}

/* Mobile search result items */
.mobile-search-result {
    padding: 0.5rem;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.mobile-search-result:hover {
    background-color: #f8f9fa;
    border-left: 3px solid #3498db;
    padding-left: calc(0.5rem - 3px);
    transform: translateX(2px);
}

.mobile-search-result:active {
    background-color: #e9ecef;
    transform: translateX(1px);
}

.mobile-search-result:last-child {
    border-bottom: none;
}

.mobile-search-result-image {
    width: 35px;
    height: 35px;
    background-color: #f8f9fa;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mobile-search-result-image img {
    max-width: 25px;
    max-height: 25px;
    object-fit: contain;
}

.mobile-search-result-content {
    flex: 1;
    min-width: 0;
}

.mobile-search-result-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.mobile-search-result-details {
    font-size: 0.75rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.mobile-search-result-year {
    background-color: #e1e5e9;
    padding: 0.125rem 0.4rem;
    border-radius: 10px;
    font-size: 0.7rem;
    color: #2c3e50;
}

.mobile-search-result-brand {
    color: #3498db;
    font-weight: 500;
}

.mobile-search-results-header {
    padding: 0.5rem;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e1e5e9;
    font-size: 0.85rem;
    color: #666;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.mobile-search-results-count {
    font-weight: 500;
}

.mobile-search-view-all {
    color: #3498db;
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: none;
}

.mobile-search-view-all:hover {
    text-decoration: underline;
}

/* Mobile search no results */
.mobile-search-no-results {
    padding: 1.5rem;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

.mobile-search-no-results i {
    font-size: 1.5rem;
    color: #ddd;
    margin-bottom: 0.5rem;
    display: block;
}

/* Custom scrollbar for mobile search results */
.mobile-search-results::-webkit-scrollbar {
    width: 4px;
}

.mobile-search-results::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.mobile-search-results::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
}

.mobile-search-results::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Updated brand links to match search results styling */
.mobile-brand-links {
    list-style: none;
}

.mobile-brand-links li {
    margin-bottom: 0.25rem;
}

.mobile-brand-links a {
    display: block;
    padding: 0.75rem;
    color: #666;
    border-radius: 6px;
    transition: all 0.2s;
    text-decoration: none;
    border: 1px solid transparent;
}

.mobile-brand-links a:hover {
    background-color: #f8f9fa;
    color: #2c3e50;
    border-color: #e1e5e9;
    transform: translateX(2px);
}

.mobile-brand-links a:active {
    background-color: #e9ecef;
    transform: translateX(1px);
}

/* Brand Grid Layout */
.mobile-brand-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.brand-chip {
    display: block;
    padding: 0.75rem 0.8rem;
    background-color: #f8f9fa;
    color: #2c3e50;
    border-radius: 8px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
    border: 1px solid #e1e5e9;
    position: relative;
    overflow: hidden;
}

.brand-chip:hover {
    background-color: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
    border-color: #3498db;
}

.brand-chip:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(52, 152, 219, 0.3);
}

/* Responsive grid - 3 columns on larger mobile screens */
@media (min-width: 375px) and (max-width: 768px) {
    .mobile-brand-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.4rem;
    }
    
    .brand-chip {
        padding: 0.6rem 0.5rem;
        font-size: 0.8rem;
    }
}

/* Search Container */
.search-container {
    background-color: #fff;
    border-bottom: 1px solid #e1e5e9;
    padding: 1rem;
    display: none;
    position: relative;
    z-index: 99;
}

.search-box {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.search-form {
    margin-bottom: 1rem;
}

.search-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    padding: 0.75rem;
    padding-right: 3rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

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

.search-clear {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1rem;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.search-clear:hover {
    background-color: #f8f9fa;
    color: #2c3e50;
}

.search-results {
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #e1e5e9;
    position: relative;
}

.search-result {
    padding: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s ease;
    position: relative;
}

.search-result:hover {
    background-color: #f8f9fa;
    border-left: 3px solid #3498db;
    padding-left: calc(0.75rem - 3px);
    transform: translateX(2px);
}

.search-result:active {
    background-color: #e9ecef;
    transform: translateX(1px);
}

.search-result:last-child {
    border-bottom: none;
}

.search-result:last-child:hover {
    border-bottom-left-radius: 6px;
}

.search-result:first-of-type:hover {
    border-top-left-radius: 6px;
}

.search-result-image {
    width: 40px;
    height: 40px;
    background-color: #f8f9fa;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.search-result-image img {
    max-width: 30px;
    max-height: 30px;
    object-fit: contain;
}

.search-result-content {
    flex: 1;
    min-width: 0;
}

.search-result-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.search-result-details {
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-result-year {
    background-color: #e1e5e9;
    padding: 0.125rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    color: #2c3e50;
}

.search-result-brand {
    color: #3498db;
    font-weight: 500;
}

.search-results-header {
    padding: 0.75rem;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e1e5e9;
    font-size: 0.9rem;
    color: #666;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.search-results-count {
    font-weight: 500;
}

.search-view-all {
    color: #3498db;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: none;
}

.search-view-all:hover {
    text-decoration: underline;
}

/* Custom scrollbar for search results */
.search-results::-webkit-scrollbar {
    width: 6px;
}

.search-results::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.search-results::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.search-results::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Loading state for search results */
.search-results.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    color: #666;
}

.search-results.loading::before {
    content: '🔍 Searching...';
}

/* No results state */
.search-no-results {
    padding: 2rem;
    text-align: center;
    color: #666;
}

.search-no-results i {
    font-size: 2rem;
    color: #ddd;
    margin-bottom: 0.5rem;
    display: block;
}

/* Mobile responsive search results */
@media (max-width: 768px) {
    .search-results {
        max-height: 300px;
    }
    
    .search-result {
        padding: 0.5rem;
        gap: 0.75rem;
    }
    
    .search-result-image {
        width: 35px;
        height: 35px;
    }
    
    .search-result-image img {
        max-width: 25px;
        max-height: 25px;
    }
    
    .search-results-header {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
}

/* Phones of the Day Section */
.phones-of-day-section {
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #e1e5e9;
    position: relative;
    overflow: hidden;
}

.phones-of-day-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #e74c3c, #f39c12, #27ae60);
    background-size: 400% 100%;
    animation: gradientShift 8s ease infinite;
}

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

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

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.section-title i {
    color: #f39c12;
    font-size: 1.5rem;
    animation: starPulse 2s ease-in-out infinite;
}

@keyframes starPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.section-subtitle {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

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

.daily-phone-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.daily-phone-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #3498db, #e74c3c, #f39c12, #27ae60);
    background-size: 400% 400%;
    border-radius: 12px;
    z-index: -1;
    animation: gradientRotate 6s ease infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.daily-phone-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

.daily-phone-card:hover::before {
    opacity: 1;
}

.daily-phone-image {
    height: 220px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.daily-phone-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(52, 152, 219, 0.03) 100%);
}

.daily-phone-image img {
    max-height: 85%;
    max-width: 85%;
    object-fit: contain;
    z-index: 1;
    position: relative;
    transition: transform 0.3s ease;
}

.daily-phone-card:hover .daily-phone-image img {
    transform: scale(1.05);
}

.daily-phone-status {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: #3498db;
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.daily-phone-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.4);
}

.daily-phone-badge i {
    color: white;
    font-size: 0.9rem;
    animation: starTwinkle 3s ease-in-out infinite;
}

@keyframes starTwinkle {
    0%, 100% { opacity: 1; transform: rotate(0deg); }
    50% { opacity: 0.7; transform: rotate(180deg); }
}

.daily-phone-info {
    padding: 1.5rem;
    background: #fff;
    position: relative;
    z-index: 1;
}

.daily-phone-brand {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.daily-phone-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    line-height: 1.3;
}

.daily-phone-year {
    font-size: 0.875rem;
    color: #3498db;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.daily-phone-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Mobile responsive for daily phones */
@media (max-width: 768px) {
    .phones-of-day-section {
        margin: 0 -0.5rem 2rem -0.5rem;
        padding: 1.5rem 1rem;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .daily-phones-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .daily-phone-card {
        margin: 0 auto;
        max-width: 350px;
    }
    
    .daily-phone-image {
        height: 200px;
    }
    
    .daily-phone-info {
        padding: 1.25rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .daily-phones-grid {
        grid-template-columns: 1fr;
    }
    
    .daily-phone-card {
        max-width: 100%;
    }
}

/* Catalogue View */
.page-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    text-align: center;
}

.page-subtitle {
    color: #666;
    margin-bottom: 2rem;
    text-align: center;
}

.brand-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e1e5e9;
    overflow-x: auto;
}

.brand-tab {
    padding: 0.75rem 1.5rem;
    color: #666;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.brand-tab:hover,
.brand-tab.active {
    color: #2c3e50;
    border-bottom-color: #3498db;
}

.phone-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.phone-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.phone-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.phone-image {
    height: 200px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.phone-image img {
    max-height: 80%;
    max-width: 80%;
    object-fit: contain;
}

.phone-status {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: #3498db;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.phone-status.historic { background-color: #e74c3c; }
.phone-status.rare { background-color: #9b59b6; }
.phone-status.iconic { background-color: #f39c12; }
.phone-status.best-seller { background-color: #27ae60; }
.phone-status.business { background-color: #34495e; }
.phone-status.revolutionary { background-color: #e74c3c; }
.phone-status.flagship { background-color: #3498db; }
.phone-status.camera-pro { background-color: #8e44ad; }
.phone-status.innovation { background-color: #e67e22; }
.phone-status.current { background-color: #2ecc71; }
.phone-status.design { background-color: #6c7b7f; }
.phone-status.music { background-color: #ff6b6b; }

.phone-info {
    padding: 1.25rem;
}

.phone-brand {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.phone-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.phone-year {
    font-size: 0.875rem;
    color: #95a5a6;
    margin-bottom: 0.75rem;
}

.phone-description {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.phone-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #27ae60;
}

/* Phone Detail View */
.back-link {
    display: inline-flex;
    align-items: center;
    color: #3498db;
    margin-bottom: 2rem;
    font-weight: 500;
}

.back-link i {
    margin-right: 0.5rem;
}

.phone-detail {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.phone-detail-header {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
}

@media (min-width: 768px) {
    .phone-detail-header {
        flex-direction: row;
    }
}

.phone-detail-image {
    flex: 1;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.phone-detail-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.phone-detail-info {
    flex: 1;
}

.phone-detail-brand {
    font-size: 1rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.phone-detail-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.phone-detail-year {
    font-size: 1.25rem;
    color: #95a5a6;
    margin-bottom: 1.5rem;
}

.phone-detail-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.phone-detail-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: #27ae60;
}

/* Updated Technical Specifications Styling */
.phone-specifications {
    padding: 2.5rem;
    background-color: #fff;
    border-top: 1px solid #e1e5e9;
}

.specs-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #2c3e50;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.specs-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    border-radius: 2px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    background-color: #fff;
    transition: all 0.2s ease;
    position: relative;
    min-height: 60px;
}

.spec-item:hover {
    background-color: #f8f9fa;
    transform: translateX(4px);
}

.spec-item:hover::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #3498db;
}

/* Remove border from last items in each column */
.spec-item:last-child {
    border-bottom: none;
}

/* Special styling for the Type field */
.spec-item:first-child {
    background-color: #f8f9fa;
    font-weight: 600;
}

.spec-item:first-child .spec-label {
    color: #3498db;
}

.spec-item:first-child .spec-value {
    color: #2c3e50;
    font-weight: 600;
}

.spec-label {
    font-weight: 600;
    color: #666;
    flex: 0 0 45%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.spec-value {
    color: #2c3e50;
    text-align: right;
    flex: 0 0 55%;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Icons for specification types - using CSS classes */
.spec-label {
    position: relative;
    padding-left: 28px;
}

.spec-label:before {
    content: '\f059'; /* Default info icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.9rem;
    color: #3498db;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    text-align: center;
}

/* Specific icons based on CSS classes added by PHP */
.spec-type .spec-label:before { content: '\f3fa'; } /* mobile icon */
.spec-display .spec-label:before { content: '\f108'; } /* desktop icon */
.spec-battery .spec-label:before,
.spec-battery-life .spec-label:before { content: '\f241'; } /* battery icon */
.spec-weight .spec-label:before { content: '\f496'; } /* weight/balance icon */
.spec-network .spec-label:before { content: '\f012'; } /* signal bars icon */
.spec-storage .spec-label:before { content: '\f0a0'; } /* hdd icon */
.spec-features .spec-label:before { content: '\f013'; } /* cog/settings icon */
.spec-price .spec-label:before,
.spec-original-price .spec-label:before { content: '\f155'; } /* dollar sign icon */
.spec-camera .spec-label:before { content: '\f030'; } /* camera icon */
.spec-dimensions .spec-label:before { content: '\f545'; } /* ruler icon */
.spec-keyboard .spec-label:before { content: '\f11c'; } /* keyboard icon */

/* Additional specification types that might appear */
.spec-processor .spec-label:before,
.spec-cpu .spec-label:before { content: '\f2db'; } /* microchip icon */
.spec-memory .spec-label:before,
.spec-ram .spec-label:before { content: '\f538'; } /* memory icon */
.spec-screen .spec-label:before { content: '\f26c'; } /* tv/screen icon */
.spec-os .spec-label:before,
.spec-operating-system .spec-label:before { content: '\f17a'; } /* windows icon (generic OS) */
.spec-connectivity .spec-label:before { content: '\f1eb'; } /* wifi icon */
.spec-sensors .spec-label:before { content: '\f493'; } /* thermometer icon */
.spec-audio .spec-label:before,
.spec-sound .spec-label:before { content: '\f025'; } /* volume icon */
.spec-video .spec-label:before { content: '\f03d'; } /* video icon */
.spec-sim .spec-label:before,
.spec-sim-card .spec-label:before { content: '\f7c4'; } /* sim card icon */

/* Style adjustments for better icon display */
.spec-label {
    font-weight: 600;
    color: #666;
    flex: 0 0 45%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    padding-left: 28px;
}

/* Responsive adjustments for specifications */
@media (max-width: 768px) {
    .phone-specifications {
        padding: 1.5rem;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .spec-item {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        min-height: auto;
    }
    
    .spec-label,
    .spec-value {
        flex: unset;
        width: 100%;
        text-align: left;
    }
    
    .spec-label {
        margin-bottom: 0.25rem;
        font-size: 0.85rem;
    }
    
    .spec-value {
        font-size: 0.9rem;
    }
    
    .spec-item:hover {
        transform: none;
        padding-left: 1.5rem;
    }
}

/* Alternating row colors for better readability */
.spec-item:nth-child(even) {
    background-color: #fafbfc;
}

.spec-item:nth-child(even):hover {
    background-color: #f0f2f5;
}

.trivia-section {
    background-color: #f8f9fa;
    padding: 2rem;
    border-top: 1px solid #e1e5e9;
}

.trivia-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.trivia-title i {
    margin-right: 0.5rem;
    color: #f39c12;
}

.trivia-content {
    color: #666;
    line-height: 1.6;
}

/* Form Styles (for contact page) */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2c3e50;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e1e5e9;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
}

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

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.submit-button:hover {
    background-color: var(--primary-blue-dark);
}

/* Nokia 3310 Style Popup */
.nokia-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeIn 0.3s ease-in-out forwards;
    padding: 20px;
    box-sizing: border-box;
}

.nokia-popup-overlay.hidden {
    display: none !important;
}

.nokia-phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: phoneSlideIn 0.5s ease-out;
}


.nokia-screen {
    width: 400px;
    height: 200px;
    background: #9fdf9f;
    border: 4px solid #1a202c;
    border-radius: 12px;
    margin-bottom: 20px;
    position: relative;
    box-shadow: inset 0 3px 12px rgba(0, 0, 0, 0.3),
                0 8px 25px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.nokia-screen-content {
    width: 100%;
    height: 100%;
    background: #9fdf9f;
    color: #000;
    font-family: 'Courier New', monospace;
    font-size: 9px;
    font-weight: bold;
    line-height: 1.1;
    padding: 8px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.nokia-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    font-size: 8px;
}

.nokia-signal {
    display: flex;
    gap: 1px;
}

.nokia-signal-bar {
    width: 2px;
    background: #000;
}

.nokia-signal-bar:nth-child(1) { height: 2px; }
.nokia-signal-bar:nth-child(2) { height: 4px; }
.nokia-signal-bar:nth-child(3) { height: 6px; }
.nokia-signal-bar:nth-child(4) { height: 8px; }

.nokia-battery {
    width: 12px;
    height: 6px;
    border: 1px solid #000;
    position: relative;
}

.nokia-battery::after {
    content: '';
    position: absolute;
    right: -2px;
    top: 2px;
    width: 1px;
    height: 2px;
    background: #000;
}

.nokia-battery-fill {
    width: 80%;
    height: 100%;
    background: #000;
}

.nokia-message-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nokia-message-header {
    font-size: 8px;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 3px;
}

.nokia-message-icon {
    width: 8px;
    height: 6px;
    background: #000;
    position: relative;
}

.nokia-message-icon::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 3px solid #000;
    border-top: 2px solid transparent;
    border-bottom: 2px solid transparent;
    right: -3px;
    top: 1px;
}

.nokia-message-text {
    font-size: 11px;
    line-height: 1.3;
    word-wrap: break-word;
    flex: 1;
}

.nokia-close-btn {
    background: linear-gradient(145deg, #fc8181, #e53e3e);
    color: white;
    border: 2px solid #c53030;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.1s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    margin-top: 10px;
}

.nokia-close-btn:active {
    transform: translateY(1px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@media (max-width: 768px) {
    .nokia-screen {
        width: 90vw;
        max-width: 350px;
        height: 180px;
        margin-bottom: 15px;
    }
    
    .nokia-close-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .nokia-screen {
        width: 85vw;
        max-width: 300px;
        height: 160px;
        margin: 0 10px 15px 10px;
    }
    
    .nokia-screen-content {
        padding: 6px;
    }
    
    .nokia-message-text {
        font-size: 10px;
        line-height: 1.2;
    }
    
    .nokia-close-btn {
        padding: 10px 16px;
        font-size: 13px;
        margin: 0 10px;
    }
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 300px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 1.5rem;
    z-index: 9999;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--primary-blue);
    animation: slideInLeft 0.4s ease-out;
}

.cookie-banner.hidden {
    display: none;
}

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

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-text {
    
}

.cookie-text h3 {
    margin: 0 0 0.75rem 0;
    font-size: 1rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-text p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-text a {
    color: var(--primary-blue);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cookie-btn {
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
    text-align: center;
}

.cookie-btn.accept {
    background: var(--success-green);
    color: white;
}

.cookie-btn.accept:hover {
    background: var(--success-green-dark);
    transform: translateY(-1px);
}

.cookie-btn.decline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.cookie-btn.decline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

.cookie-btn.settings {
    background: var(--primary-blue);
    color: white;
}

.cookie-btn.settings:hover {
    background: var(--primary-blue-dark);
}

@media (max-width: 768px) {
    .cookie-banner {
        width: 280px;
        bottom: 15px;
        left: 15px;
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        width: calc(100vw - 30px);
        max-width: 320px;
        bottom: 10px;
        left: 15px;
        right: 15px;
        padding: 1rem;
    }
    
    .cookie-text h3 {
        font-size: 0.95rem;
    }
    
    .cookie-text p {
        font-size: 0.8rem;
    }
    
    .cookie-btn {
        font-size: 0.8rem;
        padding: 0.55rem 0.8rem;
    }
}

/* Status Messages */
.status-message {
    max-width: 600px;
    margin: 2rem auto;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid;
}

.status-message i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.status-message h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.status-message p {
    margin: 0;
    line-height: 1.5;
}

.status-success {
    background-color: #d4edda;
    color: #155724;
    border-left-color: #27ae60;
}

.status-success i {
    color: #27ae60;
}

.status-success a {
    color: #0c5460;
    text-decoration: underline;
}

.status-error {
    background-color: #f8d7da;
    color: #721c24;
    border-left-color: #e74c3c;
}

.status-error i {
    color: #e74c3c;
}

.status-error a {
    color: #856404;
    text-decoration: underline;
}

/* Content Sections (for about page) */
.content-section {
    background-color: #fff;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.section-title i {
    margin-right: 0.75rem;
    color: #3498db;
}

.section-content p {
    margin-bottom: 1rem;
    color: #666;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    margin-top: 1rem;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
}

.feature-list li::before {
    content: '•';
    color: #3498db;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.contact-form-section,
.contact-info-section {
    background-color: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-icon i {
    color: #3498db;
    font-size: 1.1rem;
}

.contact-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: #666;
}

.contact-details a {
    color: #3498db;
    transition: color 0.2s;
}

.contact-details a:hover {
    color: #2980b9;
}

.social-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e1e5e9;
}

.social-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background-color: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background-color 0.2s;
}

.social-link:hover {
    transform: translateY(-2px);
    background-color: #2980b9;
}

/* Stats Grid (for about page) */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #3498db;
    display: block;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    /* Show mobile menu button and hide desktop nav on mobile */
    .mobile-menu-button {
        display: block;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .header-content {
        padding: 0 0.5rem;
        justify-content: space-between;
        align-items: center;
    }
    
    .header-left {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    
    .brand-tabs {
        padding-bottom: 1rem;
        gap: 0.25rem;
        padding: 0 0.5rem 1rem;
    }
    
    .brand-tab {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .phone-detail-name {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .contact-form-section,
    .contact-info-section {
        padding: 1.5rem;
    }
    
    .content-section {
        padding: 1.5rem;
    }
    
    .main-content {
        padding: 1rem 0.5rem;
    }
    
    .search-box {
        padding: 0 0.5rem;
    }
    
    .phone-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Mobile search improvements */
    .search-container {
        padding: 0.75rem 0.5rem;
    }
    
    .search-input {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Ringtones of the Day Section */
.ringtones-of-day-section {
    margin: 3rem 0;
}

.ringtone-daily-card .phone-image {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
}

.ringtone-icon {
    font-size: 4rem;
    color: white;
    opacity: 0.9;
}

.ringtone-status {
    background: #2c3e50 !important;
    color: white !important;
}

.ringtone-controls {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    justify-content: center;
}

.play-button-small, .download-button-small {
    padding: 0.4rem 0.8rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.2s ease;
    flex: 1;
    justify-content: center;
    max-width: 80px;
}

.play-button-small {
    background: var(--success-green);
    color: white;
}

.play-button-small:hover {
    background: var(--success-green-dark);
}

.download-button-small {
    background: var(--primary-blue);
    color: white;
}

.download-button-small:hover {
    background: var(--primary-blue-dark);
}

/* Browse By Section */
.browse-by-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e1e5e9;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.browse-toggle {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.browse-label {
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.browse-label::before {
    content: "🎵";
    font-size: 1.2rem;
}

.toggle-buttons {
    display: flex;
    gap: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 0.3rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
    border: none;
}

.toggle-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 9px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.toggle-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;
}

.toggle-btn:hover::before {
    left: 100%;
}

.toggle-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.toggle-btn.active {
    background: linear-gradient(135deg, #ffffff 0%, #f1f3f4 100%);
    color: #2c3e50;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}

.browse-dropdown {
    margin-top: 1.5rem;
    max-width: 300px;
}

.browse-dropdown select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #2c3e50;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.browse-dropdown select:hover {
    border-color: #3498db;
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.15);
    transform: translateY(-1px);
}

.browse-dropdown select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: #ffffff;
}

.browse-dropdown select option {
    padding: 0.5rem;
    background: #ffffff;
    color: #2c3e50;
}

@media (max-width: 768px) {
    .ringtones-of-day-section {
        margin: 2rem 0;
    }
    
    .ringtone-daily-card .phone-image {
        height: 150px;
    }
    
    .ringtone-icon {
        font-size: 3rem;
    }
    
    .ringtone-controls {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .play-button-small, .download-button-small {
        max-width: none;
        flex: none;
    }
    
    .browse-by-section {
        margin: 1rem 0;
        padding: 1.5rem;
    }
    
    .browse-toggle {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .toggle-buttons {
        width: 100%;
        justify-content: center;
        padding: 0.4rem;
    }
    
    .toggle-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .browse-dropdown {
        max-width: 100%;
    }
    
    .browse-dropdown select {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}

/* Advertisement Styles */
.ad-container {
    margin: 1.5rem 0;
    padding: 1rem;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    text-align: center;
    position: relative;
}

.ad-label {
    font-size: 0.75rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.ad-container img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Header Banner Ad - Leaderboard (728x90) */
.ad-header-banner {
    margin: 0.5rem auto 1rem;
    max-width: 468px;
    min-height: 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Sidebar Ad - Medium Rectangle (300x250) */
.ad-sidebar {
    max-width: 300px;
    min-height: 250px;
    margin: 1rem auto;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

/* In-Content Ad - Large Rectangle (336x280) */
.ad-in-content {
    margin: 2rem auto;
    max-width: 336px;
    min-height: 280px;
    background: linear-gradient(135deg, #f1f3f4 0%, #e8eaed 100%);
}

/* Alternative: Medium Rectangle for In-Content - uncomment to use 300x250 instead
.ad-in-content {
    margin: 2rem auto;
    max-width: 300px;
    min-height: 250px;
    background: linear-gradient(135deg, #f1f3f4 0%, #e8eaed 100%);
}
*/

/* Footer Ad - Leaderboard (728x90) */
.ad-footer {
    margin: 2rem auto 1rem;
    max-width: 728px;
    min-height: 90px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

/* Dual Footer Ads - Two Medium Rectangles (300x250 each) */
.ad-footer-dual {
    margin: 2rem auto 1rem;
    max-width: 650px; /* Accommodate two 300px ads + gap */
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.dual-ad-wrapper {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    padding: 1rem;
}

.dual-ad-left,
.dual-ad-right {
    flex: 0 0 300px;
    min-height: 250px;
    background: #f8f9fa;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dual-ad-full {
    width: 100%;
    min-height: 90px;
    background: #f8f9fa;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-placeholder {
    color: #666;
    font-size: 0.9rem;
    text-align: center;
    padding: 1rem;
}

@media (max-width: 768px) {
    /* Stack dual footer ads vertically on mobile */
    .dual-ad-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .dual-ad-left,
    .dual-ad-right {
        flex: none;
        width: 100%;
        max-width: 300px;
    }
    
    .ad-footer-dual {
        max-width: 100%;
        margin: 1rem auto;
    }
}

/* Mobile Ad - Mobile Banner (320x50) */
.ad-mobile {
    margin: 1rem auto;
    max-width: 320px;
    min-height: 50px;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
}

/* Responsive Advertisement Styles */
@media (max-width: 768px) {
    .ad-header-banner,
    .ad-footer {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    
    .ad-sidebar {
        display: none; /* Hide sidebar ads on mobile */
    }
    
    .ad-mobile {
        display: block;
    }
}

@media (min-width: 769px) {
    .ad-mobile {
        display: none; /* Hide mobile ads on desktop */
    }
}

/* Ad hover effects */
.ad-container a:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.ad-container {
    transition: box-shadow 0.3s ease;
}

.ad-container:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

