/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --content-width: min(960px, 100%);
    --main-font-family: Georgia, "Times New Roman", "Book Antiqua", serif;
    --heading-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
    text-size-adjust: none;
}

/* Global Styles */
body {
    font-family: var(--main-font-family);
    line-height: 1.7;
    padding: 0;
    margin: 0;
    min-width: 320px;
    max-width: 100vw;
    width: 100%;
    overflow-x: hidden;
    color: #444;
    position: relative;
    font-size: clamp(17px, 2vw, 19px);
    letter-spacing: 0.01em;
    text-rendering: optimizeLegibility;
    -webkit-overflow-scrolling: touch;
    -webkit-tap-highlight-color: transparent;
    overscroll-behavior-y: none;
    background-color: #fff;
}

/* Links */
a {
    color: #0066cc;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
    font-weight: normal;
}

a:hover {
    color: #004499;
    text-decoration-thickness: 2px;
}

a:visited {
    color: #0066cc;
}

.go-button, .red-button, .footer-links a {
    text-decoration: none;
}

b {
    font-weight: bold;
}

/* Responsive Font Sizes */
@media (min-width: 601px) {
    body {
        font-size: clamp(18px, 1.8vw, 20px);
    }
}

/* Utilities */
.flex-container {
    display: flex;
    align-items: center;
}

/* Typography */
h1 {
    font-size: clamp(1.8rem, 3.8vw, 2.6rem);
    line-height: 1.2;
    margin-bottom: 0.8rem;
    letter-spacing: -0.025em;
    color: #2a2a2a;
    font-family: var(--heading-font-family);
    font-weight: 700;
    max-width: 100%;
}

h2 {
    font-size: clamp(1.35rem, 2.8vw, 1.7rem);
    line-height: 1.35;
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    letter-spacing: -0.01em;
    color: #333;
    padding-left: 0;
    margin-left: 0;
    font-family: var(--heading-font-family);
}

h3 {
    font-size: clamp(1.15rem, 2.3vw, 1.4rem);
    line-height: 1.4;
    margin-top: 2rem;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    color: #333;
    font-family: var(--heading-font-family);
}

/* Top Bar */
.top-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 12px 0;
    margin: 0;
    position: relative;
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}

.top-bar-container {
    width: 100%;
    max-width: 960px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
}

.logo-name {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: #222;
    letter-spacing: -0.01em;
    line-height: 1;
    white-space: nowrap;
}

.logo-name::before {
    content: "";
    display: inline-block;
    width: 3px;
    height: 1em;
    background: #1a73e8;
    border-radius: 1px;
    margin-right: 8px;
    vertical-align: -0.08em;
}

.logo-name b {
    font-weight: 800;
    color: #111;
}

.advertorial-label {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 400;
    color: #666;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0;
    margin-right: 0;
}

/* Content Layout */
.content-wrapper {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    overflow: hidden;
}

/* Main Content */
main {
    width: 100%;
    background-color: #fff;
    padding: 25px 40px;
    border-radius: 0;
    max-width: 880px;
    margin: 0 auto;
}

main p {
    margin-bottom: 1em;
    color: #333;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.8;
    font-family: var(--main-font-family);
    letter-spacing: 0.005em;
}

/* Author Section */
.author-info {
    margin: 20px 0 12px;
    font-size: 0.9rem;
    align-items: flex-start;
    letter-spacing: -0.01em;
    padding-bottom: 0;
    border-bottom: none;
    justify-content: space-between;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-right: 12px;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.author-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #555;
}

.author-details b {
    color: #1a1a1a;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-size: 1.05em;
}

.author-details i {
    color: #666;
    font-style: normal;
    font-size: 0.9em;
}

.verified-badge {
    font-size: 0.75em;
    color: #2e7d32;
    background-color: rgba(46, 125, 50, 0.1);
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    font-weight: 600;
}

.author-meta {
    color: #666;
    font-size: 0.85em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.read-time {
    color: #666;
}

.text-divider {
    margin: 0 2px;
    font-size: 0.85em;
    color: #ddd;
}

.author-details .flex-container::before {
    content: "by ";
    margin-right: 5px;
}

.author-details .flex-container > b {
    margin-left: 0;
}

.author-details .flex-container {
    position: relative;
}

/* Social Share Buttons */
.social-share {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
}

.share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 14px;
    color: #fff;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    padding: 0;
    background: none;
}

.share-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.share-button.facebook {
    background-color: #1877f2;
}

.share-button.facebook:hover {
    background-color: #166fe5;
}

.share-button.twitter {
    background-color: #1da1f2;
}

.share-button.twitter:hover {
    background-color: #1a94da;
}

.share-button.pinterest {
    background-color: #bd081c;
}

.share-button.pinterest:hover {
    background-color: #a5071a;
}

.share-button.email {
    background-color: #34495e;
}

.share-button.email:hover {
    background-color: #2c3e50;
}

.share-label {
    font-size: 0.75em;
    color: #666;
    margin-right: 6px;
    font-weight: 500;
}

/* Images */
.hero-image {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.img-responsive, .v-responsive {
    height: auto;
    border-radius: 0;
    box-shadow: none;
}

/* Promotion Box */
.offer-update {
    background: #f0f4f8;
    padding: 16px 20px;
    margin: 25px 0;
    border: 1px solid #d0dbe6;
    border-left: 4px solid #1565c0;
    border-radius: 4px;
    font-size: 0.95em;
    color: #333;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.offer-update p {
    margin: 0;
    line-height: 1.5;
}

.offer-update b {
    color: #1a1a1a;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.highlight-discount {
    color: #1565c0;
    font-weight: 700;
}

@media (max-width: 768px) {
    .offer-update {
        padding: 10px;
        margin: 25px 0;
        font-size: 0.95em;
    }
}

/* Comment Box */
.offer-comment {
    background: #fff;
    padding: 20px 20px 20px 28px;
    margin: 20px 0;
    border: none;
    border-left: 3px solid #ddd;
    border-radius: 0;
    font-size: 0.95em;
    color: #444;
    box-shadow: none;
    position: relative;
}

.offer-comment::before {
    content: "\201C";
    position: absolute;
    left: 8px;
    top: 12px;
    font-size: 1.6em;
    color: #ccc;
    font-family: Georgia, serif;
    line-height: 1;
}

.offer-comment p {
    margin: 0;
    line-height: 1.5;
}

.offer-comment b {
    color: #555;
    font-weight: 600;
    letter-spacing: -0.01em;
    font-style: normal;
}

.comment-date {
    font-size: 0.78em;
    color: #999;
    font-weight: 400;
    margin-left: 6px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

@media (max-width: 768px) {
    .offer-comment {
        padding: 10px;
        margin: 25px 0;
        font-size: 0.95em;
    }
}

/* Buttons */
.red-button-container {
    margin: 15px 0;
    text-align: center;
    position: relative;
}

.red-button {
    width: 100%;
    padding: 16px 20px;
    background: #2e7d32;
    background-image: linear-gradient(150deg, #43a047 0%, #2e7d32 50%, #1b5e20 100%);
    color: #fff;
    font-size: 1.15em;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 12px -2px rgba(27, 94, 32, 0.5),
                0 1px 3px -1px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
    -webkit-font-smoothing: antialiased;
    will-change: transform;
    backface-visibility: hidden;
    appearance: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.red-button:hover {
    background-image: linear-gradient(150deg, #4caf50 0%, #43a047 50%, #2e7d32 100%);
    box-shadow: 0 5px 15px -2px rgba(27, 94, 32, 0.6),
                0 3px 6px -1px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
    will-change: transform;
}

.red-button:active {
    background-image: linear-gradient(150deg, #2e7d32 0%, #1b5e20 50%, #155724 100%);
    box-shadow: 0 2px 8px -2px rgba(27, 94, 32, 0.4),
                0 1px 2px -1px rgba(0, 0, 0, 0.2);
    transform: translateY(1px);
}

/* Button Button */
.go-button-container {
    margin: 25px 0;
    text-align: center;
    position: relative;
}

.go-button {
    display: inline-block;
    width: auto;
    max-width: 480px;
    padding: 14px 36px;
    background: #1a73e8;
    background-image: none;
    color: #fff;
    font-size: 1.05em;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-shadow: none;
    text-decoration: none;
    text-align: center;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
    box-shadow: none;
    transform: none;
    position: relative;
    animation: none;
    overflow: hidden;
    z-index: 1;
    -webkit-font-smoothing: antialiased;
    backface-visibility: hidden;
    appearance: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.go-button:hover {
    background: #1557b0;
    box-shadow: none;
    transform: none;
    color: #ffffff;
}

.go-button:active {
    background: #0d47a1;
    box-shadow: none;
    transform: none;
}

.go-button:after {
    display: none;
}

/* Animations */
@keyframes pulse {
    0% {
        box-shadow: 0 2px 8px rgba(46, 125, 50, 0.25);
    }
    50% {
        box-shadow: 0 4px 14px rgba(46, 125, 50, 0.35);
    }
    100% {
        box-shadow: 0 2px 8px rgba(46, 125, 50, 0.25);
    }
}

.go-button::after {
    content: "\2192";
    display: inline-block;
    margin-left: 8px;
    font-size: 1em;
    position: relative;
    top: 0;
}

@keyframes arrowBounce {
    0%, 100% {
        transform: translateX(0);
    }
}

/* Content Elements */
.author-bio {
    margin-top: 40px;
    padding: 25px;
    border-radius: 8px;
    background: #f9f9f9;
}

.author-bio-text {
    flex: 1;
    font-size: clamp(0.85em, 1.8vw, 0.9em);
    color: #666;
    line-height: 1.6;
}

.author-bio-text strong {
    font-size: 1.1em;
    color: #444;
}

/* Footer */
footer {
    margin: 60px auto 0;
    width: 960px;
    max-width: 100%;
    padding: 40px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-container {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.footer-content {
    width: 100%;
    margin: 10px 0 0;
    padding: 10px 20px;
    color: #666;
    text-align: left;
}

.health-claim {
    font-size: clamp(0.8rem, 1.6vw, 0.9rem);
    line-height: 1.7;
    margin: 15px 0;
    max-width: 100%;
    text-align: left;
    color: #555;
}

.health-claim b {
    color: #333;
    font-weight: 600;
}

.health-claim:first-of-type {
    margin-top: 0;
}

.health-claim br {
    display: block;
    content: "";
    margin-top: 15px;
}

.footer-links {
    padding: 0 0 5px;
    text-align: center;
    font-size: 0.9rem;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #333;
}

.copyright {
    font-size: 0.85rem;
    color: #888;
    text-align: center;
    padding: 0 0 10px;
    margin-bottom: 10px;
}

/* Article Meta - Redesigned for blog style */
.article-meta {
    margin-bottom: 4px;
    margin-top: 8px;
}

.category-link {
    display: inline-block;
    color: #1a73e8;
    font-size: 0.8rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    padding-bottom: 0;
}

@media (max-width: 768px) {
    .article-meta {
        margin-bottom: 10px;
    }
    
    .category-link {
        font-size: 0.7rem;
    }
}

.image-caption {
    text-align: center;
    font-size: 0.8em;
    color: #666;
    margin-top: -25px;
    margin-bottom: 20px;
}

.center-image {
    text-align: center;
    margin: 20px 0;
}

/* Quotes and Notes */
blockquote {
    background-color: #f5f7fa;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #1a73e8;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

blockquote p {
    margin-bottom: 0;
    line-height: 1.6;
}

blockquote p br {
    content: "";
    display: block;
    margin-top: 10px;
}

blockquote p br + * {
    font-style: italic;
    color: #777;
    display: inline-block;
}

.testimonial-author {
    font-style: italic;
    color: #777;
    display: block;
    text-align: right;
    margin-top: 5px;
}

.personal-quote {
    background-color: #f9f9f9;
    padding: 25px;
    margin: 30px 0;
    border-left: 4px solid #1a73e8;
    border-radius: 8px;
    font-style: italic;
    position: relative;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.personal-quote p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #444;
}

.personal-quote cite {
    display: block;
    margin-top: 15px;
    font-weight: 600;
    color: #555;
    font-style: normal;
    text-align: right;
}

.editor-note {
    background-color: #f0f7ff;
    border: 1px solid #e0e9ff;
    padding: 20px;
    margin: 30px 0;
    border-radius: 8px;
    font-size: 0.95em;
    color: #444;
}

.editor-note p {
    margin-bottom: 0;
}

.research-note {
    background-color: #f5f5f5;
    border: 1px solid #eee;
    padding: 20px;
    margin: 25px 0;
    border-radius: 8px;
    font-size: 0.9em;
    color: #555;
}

.research-note p {
    margin-bottom: 0;
}

.author-closing {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-style: italic;
    color: #555;
}

.signature {
    font-weight: 600;
    margin-top: 10px;
    color: #444;
}

.article-intro {
    padding: 16px 20px;
    margin-bottom: 25px;
    border-radius: 0;
    line-height: 1.6;
    background-color: #f8f8f8;
    border-left: 4px solid #1a73e8;
    font-size: 1.1em;
    color: #333;
    font-style: italic;
}

/* Pull Quote */
.pull-quote {
    background: none;
    border-left: none;
    border-radius: 0;
    box-shadow: none;
    padding: 20px 30px;
    margin: 30px 0;
    text-align: center;
    position: relative;
}

.pull-quote::before {
    content: "\201C";
    display: block;
    font-size: 3.5em;
    color: #ccc;
    font-family: Georgia, serif;
    line-height: 0.6;
    margin-bottom: 10px;
}

.pull-quote p {
    font-size: 1.2em;
    font-style: italic;
    color: #444;
    line-height: 1.5;
    margin-bottom: 8px;
}

.pull-quote cite {
    display: block;
    font-size: 0.85em;
    color: #888;
    font-style: normal;
    font-weight: 500;
}

/* Article Lists */
article ul, article ol {
    padding-left: 1.4em;
    margin: 0.8em 0;
}

article li {
    margin-bottom: 0.5em;
    line-height: 1.7;
}

article li:last-child {
    margin-bottom: 0;
}

article b {
    font-family: var(--heading-font-family);
    font-weight: 600;
    color: #333;
}

/* Comparison Table */
.comparison-table {
    margin: 24px 0 28px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95em;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

.comparison-table th,
.comparison-table td {
    padding: 12px 16px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.comparison-table th {
    font-size: 0.85em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #666;
    background: #f8f9fa;
    border-bottom: 2px solid #e0e0e0;
}

.comparison-table th.highlight-col {
    color: #1a73e8;
    background: #eef4fd;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: #333;
}

.comparison-table td.highlight-col {
    background: #f5f9ff;
    color: #1a73e8;
    font-weight: 600;
}

.comparison-table tbody tr:hover {
    background: #fafafa;
}

@media (max-width: 768px) {
    .comparison-table th,
    .comparison-table td {
        padding: 10px 10px;
        font-size: 0.85em;
    }
}

/* Review Summary */
.review-summary {
    text-align: center;
    padding: 20px;
    margin: 0 0 20px;
    background: #fefcf3;
    border: 1px solid #f0e6c8;
    border-radius: 6px;
}

.review-stars {
    font-size: 2em;
    color: #f5a623;
    letter-spacing: 2px;
    line-height: 1;
    margin-bottom: 6px;
}

.review-score {
    font-size: 1.3em;
    font-weight: 700;
    color: #222;
    margin-bottom: 4px;
}

.review-count {
    font-size: 0.85em;
    color: #888;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

/* FAQ Section */
.faq-section {
    margin: 10px 0 25px;
}

.faq-item {
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-q {
    font-weight: 700;
    color: #222;
    margin-bottom: 6px !important;
    font-size: 1.05em;
}

.faq-q::before {
    content: "Q: ";
    color: #1a73e8;
    font-weight: 700;
}

.faq-a {
    color: #444;
    padding-left: 0;
}

/* Trust Bar */


/* Responsive Styles */
@media (max-width: 768px) {
    .content-wrapper {
        max-width: 100%;
        padding: 0;
        margin: 0 auto;
    }
    
    main {
        width: 100%;
        padding: 20px;
        margin: 0 auto;
    }
    
    h1 { 
        font-size: clamp(1.55rem, 5.5vw, 1.85rem);
        line-height: 1.25;
        margin-bottom: 1rem;
        letter-spacing: -0.01em;
    }
    
    h2 { 
        font-size: clamp(1.3rem, 4.5vw, 1.5rem);
        line-height: 1.3;
        margin-top: 2rem;
        margin-bottom: 1rem;
        font-weight: 700;
        color: #111;
    }
    
    main p {
        font-size: clamp(1.05rem, 4vw, 1.15rem);
        line-height: 1.75;
        margin-bottom: 1em;
    }

    .footer-links a {
        padding: 8px;
        margin: 0 5px;
    }
    
    .red-button {
        padding: 18px 20px;
    }

    .go-button {
        padding: 16px 24px;
        font-size: 1.1em;
        width: 100%;
        max-width: 100%;
    }

    .logo {
        margin-left: 0;
    }

    .logo-name {
        font-size: 1rem;
    }

    .top-bar {
        padding: 10px 0;
    }
    
    .top-bar-container {
        padding: 0 15px;
    }
    
    .advertorial-label {
        font-size: 0.55rem;
    }

    .author-info {
        flex-direction: row;
        align-items: flex-start;
        gap: 10px;
        flex-wrap: wrap;
        padding-bottom: 12px;
    }
    
    .author-avatar {
        width: 40px; /* Slightly smaller on mobile */
        height: 40px;
        margin-bottom: 0;
        margin-right: 10px;
        flex-shrink: 0;
    }
    
    .author-details {
        gap: 3px;
        flex: 1;
        min-width: 0;
    }
    
    .author-details .flex-container {
        flex-wrap: wrap;
    }
    
    .author-details b {
        font-size: 0.95em;
    }
    
    .verified-badge {
        font-size: 0.7em;
        padding: 1px 4px;
        margin-left: 5px;
    }

    .social-share {
        margin-left: 0;
        gap: 6px;
        margin-top: 6px;
        width: 100%;
        justify-content: flex-start;
    }
    
    .share-button {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
    
    .share-label {
        font-size: 0.7em;
        margin-right: 4px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .content-wrapper {
        max-width: 90%;
    }

    .top-bar {
        padding: 12px 0;
    }

    .top-bar-container {
        max-width: 90%;
    }

    .advertorial-label {
        position: static;
        transform: none;
        text-align: center;
        margin-bottom: 5px;
    }

    .logo {
        margin: 0 auto;
    }

    .logo-name {
        font-size: 1.1rem;
    }

    main {
        width: 100%;
        padding: 20px;
    }
}

/* Print Styles */
@media print {
    .red-button-container,
    .sharethis-inline-share-buttons,
    .go-button-container {
        display: none !important;
    }
}

/* High-DPI Screen Support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Browser-specific Fixes */
@supports (-webkit-touch-callout: none) {
    .red-button {
        -webkit-tap-highlight-color: rgba(0,0,0,0);
    }

    .go-button {
        -webkit-tap-highlight-color: rgba(0,0,0,0);
    }
}

@-moz-document url-prefix() {
    .red-button {
        background-color: #2e7d32;
    }

    .go-button {
        background-color: #1a73e8;
    }
}

/* Legacy Support */
@supports not (aspect-ratio: 1) {
    .img-responsive {
        height: 0;
        padding-bottom: 56.25%;
        position: relative;
    }
    
    .img-responsive img {
        position: absolute;
        height: 100%;
        width: 100%;
        top: 0;
        left: 0;
    }
}

@media (pointer: fine) {
    .red-button:hover {
        will-change: transform;
    }
}

@media (max-width: 950px) {
    .logo {
        margin: 0;
    }
    .logo-name {
        font-size: 1.05rem;
    }
}

/* Fixed Bottom Button Bar for Mobile and Tablet */
.fixed-bottom-button {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 15px;
    z-index: 999;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    transform: translateY(100%);
}

.fixed-bottom-button .go-button {
    padding: 10px 15px;
    font-size: 0.9em;
    margin: 0;
    width: 100%;
    max-width: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    opacity: 0.92;
}

/* Show the fixed bottom Button only on mobile and tablet */
@media (max-width: 1024px) {
    .fixed-bottom-button {
        display: block;
    }
    
    .fixed-bottom-button.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Add padding to prevent content from being hidden behind the fixed bar */
    body {
        padding-bottom: 60px;
    }
    
    /* Hide fixed bar when user has scrolled to the bottom to see footer */
    body.at-bottom .fixed-bottom-button {
        transform: translateY(100%);
    }
}

/* More compact on very small screens */
@media (max-width: 480px) {
    .fixed-bottom-button {
        padding: 8px 10px;
    }
    
    .fixed-bottom-button .go-button {
        padding: 8px 12px;
        font-size: 0.9em;
    }
    
    body {
        padding-bottom: 50px;
    }
}