/* =====================================================
   Alberg Sailboats - Main Stylesheet
   Ocean Blue Theme
   ===================================================== */

/* CSS Variables */
:root {
    /* Background Colors */
    --bg-primary: #F0F7FA;
    --bg-secondary: #E5F3F8;
    --bg-card: #FFFFFF;
    --bg-dark: #0A1628;

    /* Theme Colors - Ocean Gradient */
    --color-primary: #0891B2;
    --color-secondary: #06B6D4;
    --color-accent: #10B981;
    --color-gold: #F59E0B;
    --color-coral: #F472B6;

    /* Gradients */
    --gradient-ocean: linear-gradient(135deg, #0891B2 0%, #06B6D4 50%, #10B981 100%);
    --gradient-wave: linear-gradient(180deg, #0891B2, #06B6D4);
    --gradient-sky: linear-gradient(180deg, #E0F2FE 0%, #F0F7FA 100%);
    --gradient-dark: linear-gradient(135deg, #0A1628 0%, #1E3A5F 100%);

    /* Text Colors */
    --text-primary: #0A1628;
    --text-secondary: #334155;
    --text-muted: #64748B;
    --text-light: #FFFFFF;

    /* Border and Shadow */
    --border-color: #CBD5E1;
    --shadow-sm: 0 2px 8px rgba(8, 145, 178, 0.1);
    --shadow-md: 0 4px 16px rgba(8, 145, 178, 0.15);
    --shadow-lg: 0 8px 32px rgba(8, 145, 178, 0.2);
    --shadow-glow: 0 0 30px rgba(8, 145, 178, 0.3);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
}

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

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

/* =====================================================
   Header
   ===================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--gradient-ocean);
    box-shadow: var(--shadow-md);
    min-height: 72px;
}

.site-header .navbar {
    padding: 1rem 0;
    min-height: 72px;
}

.site-header .navbar-brand img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.site-header .navbar-brand span {
    margin-left: 8px;
}

.site-header .navbar-brand {
    color: var(--text-light);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.site-header .navbar-brand i {
    font-size: 1.8rem;
}

.site-header .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.2);
}

.site-header .navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.site-header .navbar-toggler:focus {
    box-shadow: none;
}

.site-header .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* =====================================================
   Hero Section
   ===================================================== */
.hero-section {
    position: relative;
    background: var(--gradient-ocean);
    padding: 80px 0 120px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.hero-search {
    max-width: 500px;
    margin: 0 auto 3rem;
}

.search-box {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.search-box i {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-box input {
    width: 100%;
    padding: 1rem 1.5rem 1rem 3.5rem;
    border: none;
    font-size: 1rem;
    outline: none;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-light);
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}

.wave-divider svg {
    width: 100%;
    height: 60px;
}

/* =====================================================
   Section Styles
   ===================================================== */
.section-header {
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    background: var(--gradient-ocean);
    color: var(--text-light);
    padding: 0.25rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* =====================================================
   Featured Section
   ===================================================== */
.featured-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.featured-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-ocean);
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-primary);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.featured-badge.bonus-badge {
    background: var(--color-gold);
}

.featured-badge.favorite-badge {
    background: var(--color-coral);
}

.featured-logo {
    width: 80px;
    height: 80px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border: 3px solid var(--color-primary);
    overflow: hidden;
}

.featured-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.logo-placeholder {
    font-weight: 800;
    color: var(--color-primary);
    font-size: 1.25rem;
}

.featured-name {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.featured-rating {
    margin-bottom: 1rem;
}

.stars {
    display: inline-flex;
    gap: 0.25rem;
    margin-right: 0.5rem;
}

.stars i {
    color: var(--color-gold);
}

.rating-value {
    font-weight: 700;
    color: var(--text-primary);
}

.featured-bonus {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.bonus-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.bonus-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-primary);
}

.featured-highlights {
    list-style: none;
    text-align: left;
    margin-bottom: 1.5rem;
}

.featured-highlights li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.featured-highlights li:last-child {
    border-bottom: none;
}

.featured-highlights i {
    color: var(--color-accent);
    margin-right: 0.5rem;
}

.featured-actions {
    display: flex;
    gap: 1rem;
}

.featured-actions .btn {
    flex: 1;
}

/* =====================================================
   Rankings Section
   ===================================================== */
.rankings-section {
    padding: 80px 0;
    background: var(--gradient-sky);
}

.rankings-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ranking-card {
    display: grid;
    grid-template-columns: 80px 120px 1fr auto auto auto;
    align-items: center;
    gap: 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.ranking-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
}

.ranking-card.rank-1 {
    border-left: 4px solid var(--color-gold);
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.1) 0%, var(--bg-card) 100%);
}

.ranking-card.rank-2 {
    border-left: 4px solid #94A3B8;
}

.ranking-card.rank-3 {
    border-left: 4px solid #CD7F32;
}

.rank-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.rank-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
}

.rank-badge i {
    color: var(--color-gold);
    font-size: 1.25rem;
}

.brand-logo {
    width: 80px;
    height: 80px;
    background: transparent;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.brand-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.logo-text {
    color: var(--text-light);
    font-weight: 700;
    font-size: 0.875rem;
}

.brand-info {
    flex: 1;
}

.brand-name {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.brand-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.brand-rating .stars {
    font-size: 0.875rem;
}

.rating-text {
    font-weight: 700;
    color: var(--color-primary);
}

.reviews-count {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.brand-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.brand-bonus {
    text-align: center;
    min-width: 120px;
}

.brand-bonus .bonus-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.brand-bonus .bonus-amount {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-accent);
}

.brand-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 140px;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--bg-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.feature-tag i {
    color: var(--color-primary);
}

.brand-actions {
    display: flex;
    gap: 0.75rem;
}

/* =====================================================
   Buttons
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-ocean);
    color: var(--text-light);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--text-light);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--text-light);
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline-primary:hover {
    background: var(--color-primary);
    color: var(--text-light);
}

/* =====================================================
   Articles Section
   ===================================================== */
.articles-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

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

.article-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.article-card.featured-article {
    grid-column: span 2;
}

.article-image {
    position: relative;
    height: 180px;
    background: var(--gradient-ocean);
}

.featured-article .article-image {
    height: 220px;
}

.image-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.5);
}

.article-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--bg-card);
    color: var(--color-primary);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.article-content {
    padding: 1.5rem;
}

.article-title {
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-article .article-title {
    font-size: 1.25rem;
}

.article-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.article-meta i {
    margin-right: 0.25rem;
}

.article-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.article-link:hover {
    color: var(--color-secondary);
}

.article-link i {
    transition: var(--transition);
}

.article-link:hover i {
    transform: translateX(4px);
}

/* =====================================================
   FAQ Section
   ===================================================== */
.faq-section {
    padding: 80px 0;
    background: var(--gradient-sky);
}

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

.accordion-item {
    background: var(--bg-card);
    border: none;
    border-radius: var(--radius-md) !important;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    color: var(--text-primary);
    padding: 1.25rem 1.5rem;
    background: var(--bg-card);
}

.accordion-button:not(.collapsed) {
    background: var(--bg-card);
    color: var(--color-primary);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230891B2'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button i {
    color: var(--color-primary);
}

.accordion-body {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* =====================================================
   Footer
   ===================================================== */
.site-footer {
    background: var(--gradient-dark);
    color: var(--text-light);
    padding-top: 60px;
}

.footer-main {
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.footer-title {
    color: var(--color-primary);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.responsible-gaming {
    text-align: center;
}

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--color-coral);
    border-radius: 50%;
    font-weight: 800;
    color: var(--color-coral);
    margin-bottom: 0.75rem;
}

.responsible-gaming p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.footer-disclaimer {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-disclaimer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    margin: 0;
}

.footer-disclaimer i {
    color: var(--color-gold);
}

.footer-copyright {
    padding: 1.5rem 0;
    text-align: center;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    margin: 0;
}

/* =====================================================
   Review Page Styles
   ===================================================== */
.review-hero {
    background: var(--gradient-ocean);
    padding: 100px 0 80px;
    position: relative;
}

.breadcrumb-nav {
    margin-bottom: 2rem;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item.active {
    color: var(--text-light);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.review-logo {
    width: 120px;
    height: 120px;
    background: #fff;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.review-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

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

.review-title-section h1 {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.review-meta {
    display: flex;
    gap: 2rem;
    color: rgba(255, 255, 255, 0.9);
    flex-wrap: wrap;
}

.review-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-box {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: -60px auto 40px;
    max-width: 800px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    z-index: 10;
}

.cta-bonus {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cta-bonus i {
    font-size: 2.5rem;
    color: var(--color-gold);
}

.cta-bonus-text span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.cta-bonus-text strong {
    font-size: 1.75rem;
    color: var(--color-primary);
}

.cta-features {
    display: flex;
    gap: 1.5rem;
}

.cta-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.cta-features i {
    color: var(--color-accent);
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.article-content h2 {
    font-size: 1.75rem;
    color: var(--color-primary);
    margin: 48px 0 24px;
    padding-bottom: 12px;
    border-bottom: 3px solid;
    border-image: var(--gradient-ocean) 1;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.article-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.tip-box {
    background: linear-gradient(135deg, var(--bg-secondary), #E0F2FE);
    border-left: 4px solid var(--color-primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 20px 24px;
    margin: 24px 0;
}

.tip-box p {
    margin: 0;
}

.payment-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.payment-icon {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.payment-icon i {
    color: var(--color-primary);
    font-size: 1.25rem;
}

.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 40px 0;
}

.pros-card, .cons-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.pros-card {
    border-top: 4px solid var(--color-accent);
}

.cons-card {
    border-top: 4px solid var(--color-coral);
}

.pros-card h3, .cons-card h3 {
    font-size: 1.25rem;
    font-family: 'Inter', sans-serif;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pros-card h3 i {
    color: var(--color-accent);
}

.cons-card h3 i {
    color: var(--color-coral);
}

.pros-card ul, .cons-card ul {
    list-style: none;
}

.pros-card li, .cons-card li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.pros-card li:last-child, .cons-card li:last-child {
    border-bottom: none;
}

.pros-card li i {
    color: var(--color-accent);
    margin-top: 0.25rem;
}

.cons-card li i {
    color: var(--color-coral);
    margin-top: 0.25rem;
}

.conclusion-box {
    background: var(--gradient-ocean);
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
    margin: 40px 0;
}

.conclusion-box h2 {
    color: var(--text-light);
    border: none;
    margin: 0 0 1rem;
    justify-content: center;
}

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

.conclusion-box .btn {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

.related-brands {
    padding: 60px 0;
    background: var(--gradient-sky);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.related-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.related-logo {
    width: 70px;
    height: 70px;
    background: #fff;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--color-primary);
    font-weight: 700;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.related-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.related-logo span {
    font-size: 0.75rem;
}

.related-card h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.related-rating {
    margin-bottom: 0.5rem;
}

.related-bonus {
    display: block;
    color: var(--color-accent);
    font-weight: 700;
    margin-bottom: 1rem;
}

/* =====================================================
   Static Pages
   ===================================================== */
.page-hero {
    background: var(--gradient-ocean);
    padding: 100px 0 60px;
    text-align: center;
}

.page-hero h1 {
    color: var(--text-light);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.page-content h2 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin: 2rem 0 1rem;
    font-family: 'Inter', sans-serif;
}

.page-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.page-content ul {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.page-content li {
    margin-bottom: 0.5rem;
}

.contact-form {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}

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

/* =====================================================
   Responsive Design
   ===================================================== */
@media (max-width: 1200px) {
    .ranking-card {
        grid-template-columns: 60px 100px 1fr auto auto;
    }

    .brand-features {
        display: none;
    }
}

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

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .ranking-card {
        grid-template-columns: 50px 80px 1fr auto;
    }

    .brand-bonus {
        min-width: auto;
    }

    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-card.featured-article {
        grid-column: span 2;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pros-cons {
        grid-template-columns: 1fr;
    }
}

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .ranking-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }

    .rank-badge {
        flex-direction: row;
        justify-content: center;
    }

    .brand-logo {
        margin: 0 auto;
    }

    .brand-rating {
        justify-content: center;
    }

    .brand-description {
        display: none;
    }

    .brand-bonus {
        margin: 0 auto;
    }

    .brand-actions {
        justify-content: center;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .article-card.featured-article {
        grid-column: span 1;
    }

    .cta-box {
        flex-direction: column;
        text-align: center;
        margin: -40px 20px 30px;
    }

    .cta-features {
        flex-wrap: wrap;
        justify-content: center;
    }

    .review-header {
        flex-direction: column;
        text-align: center;
    }

    .review-meta {
        justify-content: center;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .featured-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* =====================================================
   Accessibility - Reduced Motion
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .featured-card:hover,
    .ranking-card:hover,
    .article-card:hover,
    .related-card:hover {
        transform: none;
    }

    .btn-primary:hover,
    .social-links a:hover {
        transform: none;
    }
}

/* =====================================================
   Accessibility - Focus States
   ===================================================== */
:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

.btn:focus-visible,
.nav-link:focus-visible,
a:focus-visible {
    outline: 3px solid var(--color-secondary);
    outline-offset: 2px;
}

/* Skip link for keyboard navigation */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: var(--text-light);
    padding: 8px 16px;
    z-index: 10000;
    transition: top 0.3s ease;
    text-decoration: none;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

/* Visually hidden but accessible to screen readers */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --border-color: #000;
        --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
        --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.4);
    }

    .btn-outline,
    .btn-outline-primary {
        border-width: 3px;
    }

    .ranking-card,
    .featured-card,
    .article-card {
        border: 2px solid var(--text-primary);
    }
}

/* Unique Features Section */
.unique-features {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(8, 145, 178, 0.05) 100%);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid var(--color-primary);
}

.unique-features h3 {
    color: var(--color-primary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.unique-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.unique-features li i {
    color: var(--color-gold);
    margin-right: 0.5rem;
}

/* Hot Recommendations - Item Styles */

.hot-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.hot-item:hover {
    background: rgba(8, 145, 178, 0.08);
    transform: translateX(4px);
}

.hot-rank {
    width: 24px;
    height: 24px;
    background: var(--gradient-ocean);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.hot-logo {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.hot-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.hot-logo span {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--color-primary);
}

.hot-info {
    flex: 1;
    min-width: 0;
}

.hot-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hot-meta {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.25rem;
    font-size: 0.75rem;
}

.hot-rating {
    color: var(--color-gold);
}

.hot-rating i {
    margin-right: 0.25rem;
}

.hot-bonus {
    color: var(--color-accent);
    font-weight: 600;
}

.hot-link {
    width: 28px;
    height: 28px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.hot-link:hover {
    background: var(--color-primary-dark);
    color: white;
    transform: scale(1.1);
}

/* Hot Platforms Table Section */
.hot-table-section {
    padding: 3rem 0;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

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

.hot-table-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hot-table-header h2 i {
    color: #ff6b35;
}

.hot-badge-new {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8f5a 100%);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    animation: pulse 2s infinite;
}

.hot-badge-new::before {
    content: '🔥';
}

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

.hot-table-wrapper {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.hot-table {
    width: 100%;
    border-collapse: collapse;
}

.hot-table thead {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.hot-table thead th {
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1rem 1.25rem;
    text-align: left;
}

.hot-table thead th:first-child {
    width: 50px;
    text-align: center;
}

.hot-table thead th:last-child {
    text-align: center;
    width: 140px;
}

.hot-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.hot-table tbody tr:last-child {
    border-bottom: none;
}

.hot-table tbody tr:hover {
    background: rgba(8, 145, 178, 0.05);
}

.hot-table tbody td {
    padding: 1rem 1.25rem;
    vertical-align: middle;
}

.hot-table tbody td:first-child {
    text-align: center;
}

.hot-table .table-rank {
    width: 32px;
    height: 32px;
    background: var(--gradient-ocean);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.hot-table .table-rank.rank-1 {
    background: linear-gradient(135deg, #ffd700 0%, #ffb800 100%);
}

.hot-table .table-rank.rank-2 {
    background: linear-gradient(135deg, #c0c0c0 0%, #a8a8a8 100%);
}

.hot-table .table-rank.rank-3 {
    background: linear-gradient(135deg, #cd7f32 0%, #b87333 100%);
}

.hot-table .platform-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.hot-table .table-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hot-table .rating-stars {
    color: var(--color-gold);
}

.hot-table .rating-score {
    font-weight: 700;
    color: var(--text-primary);
}

.hot-table .table-bonus {
    font-weight: 700;
    color: var(--color-accent);
    font-size: 1.1rem;
}

.hot-table .table-action {
    text-align: center;
}

.hot-table .btn-table {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1.25rem;
    background: var(--color-primary);
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.hot-table .btn-table:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hot-table-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .hot-table thead {
        display: none;
    }

    .hot-table tbody tr {
        display: block;
        padding: 1rem;
        margin-bottom: 1rem;
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
    }

    .hot-table tbody tr:last-child {
        margin-bottom: 0;
    }

    .hot-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    .hot-table tbody td:last-child {
        border-bottom: none;
        justify-content: center;
        padding-top: 1rem;
    }

    .hot-table tbody td:first-child {
        justify-content: flex-start;
    }

    .hot-table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-secondary);
        font-size: 0.85rem;
    }

    .hot-table tbody td:first-child::before,
    .hot-table tbody td:last-child::before {
        display: none;
    }

    .hot-table .table-platform {
        flex-direction: row;
    }
}

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

.hot-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hot-header h3 i {
    color: #ff6b35;
}

.hot-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.hot-grid-horizontal {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

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

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

.hot-card .hot-rank {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 28px;
    height: 28px;
    background: var(--gradient-ocean);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.hot-card .hot-logo {
    width: 60px;
    height: 60px;
    margin: 0 auto 0.75rem;
    background: #fff;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.hot-card .hot-logo img {
    max-width: 50px;
    max-height: 50px;
    object-fit: contain;
}

.hot-card .hot-logo span {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-primary);
}

.hot-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hot-card .hot-meta {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}

.hot-card .hot-rating {
    color: var(--color-gold);
}

.hot-card .hot-bonus {
    color: var(--color-accent);
    font-weight: 600;
}

.hot-card .hot-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.4rem 1rem;
    background: var(--color-primary);
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.hot-card .hot-link:hover {
    background: var(--color-primary-dark);
}

@media (max-width: 992px) {
    .hot-grid-horizontal {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .hot-recommendations-horizontal {
        padding: 1rem;
    }

    .hot-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .hot-grid-horizontal {
        grid-template-columns: 1fr;
    }

    .hot-card {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 1rem;
        padding: 0.75rem;
    }

    .hot-card .hot-rank {
        position: static;
        flex-shrink: 0;
    }

    .hot-card .hot-logo {
        width: 45px;
        height: 45px;
        margin: 0;
        flex-shrink: 0;
    }

    .hot-card .hot-info {
        flex: 1;
        min-width: 0;
    }

    .hot-card h4 {
        margin-bottom: 0.25rem;
    }

    .hot-card .hot-meta {
        justify-content: flex-start;
        margin-bottom: 0;
    }

    .hot-card .hot-link {
        flex-shrink: 0;
        padding: 0.35rem 0.75rem;
    }
}
