/* convert.red - Main Stylesheet */
/* Version 2.2 - Complete Styling for All 15 Tools */

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #ff3b3b;
    --dark-red: #c41e3a;
    --light-red: #ff6b6b;
    --lighter-red: #ff9999;
    --lightest-red: #ffcccc;
    --light-gray: #f7fafc;
    --border-gray: #e2e8f0;
    --text-dark: #2d3748;
    --text-gray: #718096;
    --text-light: #a0aec0;
    --success-green: #10b981;
    --warning-orange: #f59e0b;
    --error-red: #ef4444;
    --blue: #3b82f6;
    --purple: #8b5cf6;
    --pink: #ec4899;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, #ff6b6b 0%, #ff3b3b 50%, #c41e3a 100%);
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
}

/* ===== SIDEBAR ADS ===== */
.sidebar-ad {
    position: fixed;
    top: 20px;
    width: 160px;
    height: calc(100vh - 40px);
    z-index: 50;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 10px;
}

.sidebar-ad-left {
    left: 10px;
}

.sidebar-ad-right {
    right: 10px;
}

.sidebar-ad .ad-container {
    width: 160px;
    min-height: 600px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 59, 59, 0.2);
    overflow: hidden;
    position: sticky;
    top: 20px;
}

.sidebar-ad .adsbygoogle {
    width: 160px;
    height: 600px;
    display: block;
}

/* Hide sidebar ads on smaller screens */
@media (max-width: 1600px) {
    .sidebar-ad {
        display: none;
    }
}

/* ===== SKIP LINK (Accessibility) ===== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-red);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* ===== HEADER ===== */
header {
    background: linear-gradient(135deg, #ffffff 0%, #fff5f5 100%);
    padding: 50px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(255, 59, 59, 0.3), 0 0 0 1px rgba(255, 59, 59, 0.2);
    margin-bottom: 30px;
    border: 3px solid rgba(255, 59, 59, 0.3);
    text-align: center;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.logo {
    width: 120px;
    height: 120px;
    animation: logoAnimation 20s ease-in-out infinite;
    filter: drop-shadow(0 4px 20px rgba(255, 59, 59, 0.4));
}

@keyframes logoAnimation {
    0% { 
        transform: rotate(0deg) scale(1); 
    }
    25% { 
        transform: rotate(90deg) scale(1.1); 
    }
    50% { 
        transform: rotate(180deg) scale(1); 
    }
    75% { 
        transform: rotate(270deg) scale(1.1); 
    }
    100% { 
        transform: rotate(360deg) scale(1); 
    }
}

.logo-text {
    text-align: center;
}

.logo-text h1 {
    font-size: 3.5em;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.red-text {
    color: var(--primary-red);
}

.tagline {
    color: var(--text-gray);
    font-size: 1.3em;
    margin-top: 5px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ===== NAVIGATION ===== */
.converter-nav {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    background: linear-gradient(135deg, #ffffff 0%, #fff5f5 100%);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(255, 59, 59, 0.3), 0 0 0 1px rgba(255, 59, 59, 0.2);
    margin-bottom: 30px;
    border: 3px solid rgba(255, 59, 59, 0.3);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.nav-btn {
    padding: 12px 24px;
    border: 2px solid var(--border-gray);
    background: white;
    color: var(--text-dark);
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    border-color: var(--primary-red);
    background: #fff5f5;
    transform: translateY(-2px);
}

.nav-btn.active {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: white;
    border-color: var(--primary-red);
    box-shadow: 0 4px 15px rgba(255, 59, 59, 0.4);
}

/* ===== MAIN CONTENT ===== */
main {
    background: linear-gradient(135deg, #ffffff 0%, #fff5f5 100%);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(255, 59, 59, 0.3), 0 0 0 1px rgba(255, 59, 59, 0.2);
    margin-bottom: 30px;
    min-height: 500px;
    border: 3px solid rgba(255, 59, 59, 0.3);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== CONVERTER SECTIONS ===== */
.converter-section {
    display: none;
    animation: fadeIn 0.3s ease;
}

.converter-section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.converter-section h2 {
    font-size: 2em;
    color: var(--text-dark);
    margin-bottom: 25px;
    text-align: center;
}

/* ===== CATEGORY BUTTONS ===== */
.unit-categories {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-bottom: 25px;
    max-width: 100%;
}

.category-btn {
    padding: 10px 18px;
    border: 2px solid var(--border-gray);
    background: white;
    color: var(--text-dark);
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.category-btn:hover {
    border-color: var(--primary-red);
    background: #fff5f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 59, 59, 0.15);
}

.category-btn.active {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: white;
    border-color: var(--primary-red);
    box-shadow: 0 4px 15px rgba(255, 59, 59, 0.3);
    transform: translateY(-2px);
}

/* ===== CONVERTER BOX ===== */
.converter-box {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: end;
    max-width: 900px;
    margin: 0 auto;
    padding: 30px;
    background: var(--light-gray);
    border-radius: 16px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1em;
}

.input-group input,
.input-group select {
    padding: 15px;
    border: 2px solid var(--border-gray);
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(255, 59, 59, 0.1);
}

/* ===== SWAP BUTTON ===== */
.swap-btn {
    padding: 15px 20px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.swap-btn:hover {
    transform: rotate(180deg) scale(1.1);
}

/* ===== BUTTONS ===== */
.btn-primary {
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 59, 59, 0.3);
}

.btn-secondary {
    padding: 14px 28px;
    background: white;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #fff5f5;
    transform: translateY(-2px);
}

/* ===== INFO BOX ===== */
.info-box {
    margin-top: 20px;
    padding: 15px;
    background: #e0f2fe;
    border-left: 4px solid #0284c7;
    border-radius: 8px;
    text-align: center;
}

.info-box p {
    color: #0c4a6e;
    font-weight: 500;
}

/* ===== RESULTS GRID ===== */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

/* ===== CALCULATOR STYLES ===== */
.calc-btn {
    padding: 18px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    background: white;
    color: var(--text-dark);
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
}

.calc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.calc-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.calc-btn.number {
    background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
    color: #2d3748;
    font-size: 22px;
}

.calc-btn.number:hover {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-color: #ff3b3b;
}

.calc-btn.operator {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
    color: #c41e3a;
    border: 2px solid #ffcccb;
}

.calc-btn.operator:hover {
    background: linear-gradient(135deg, #ffe5e5 0%, #ffd5d5 100%);
    border-color: #ff3b3b;
}

.calc-btn.scientific {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff3b3b 100%);
    color: white;
    font-size: 15px;
    padding: 14px 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.calc-btn.scientific:hover {
    background: linear-gradient(135deg, #ff3b3b 0%, #c41e3a 100%);
    box-shadow: 0 4px 12px rgba(255, 59, 59, 0.4);
}

.calc-btn.equals {
    background: linear-gradient(135deg, #c41e3a 0%, #8b1528 100%);
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.4);
}

.calc-btn.equals:hover {
    background: linear-gradient(135deg, #8b1528 0%, #6b0f1e 100%);
    box-shadow: 0 6px 16px rgba(196, 30, 58, 0.5);
}

/* ===== MINIFY TOOL STYLES ===== */
.minify-tool {
    display: none;
}

.minify-tool.active {
    display: block;
}

/* ===== PAGE CONTENT STYLES ===== */
.page-content {
    background: white;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(255, 59, 59, 0.2);
    margin-bottom: 30px;
    border: 2px solid rgba(255, 59, 59, 0.2);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.page-content h1 {
    font-size: 3em;
    color: var(--primary-red);
    margin-bottom: 30px;
    text-align: center;
}

.page-content h2 {
    font-size: 2em;
    color: var(--text-dark);
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-content h3 {
    font-size: 1.5em;
    color: var(--text-dark);
    margin-top: 25px;
    margin-bottom: 15px;
}

.content-section {
    margin-bottom: 40px;
}

.content-section p {
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.content-section ul, .content-section ol {
    margin-left: 30px;
    margin-bottom: 20px;
}

.content-section li {
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 10px;
}

.values-grid, .contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.value-card, .contact-card {
    background: var(--light-gray);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-red);
}

.value-card h3, .contact-card h3 {
    color: var(--primary-red);
    margin-top: 0;
    margin-bottom: 15px;
}

.cta-box {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    border: 2px solid var(--primary-red);
    margin-top: 40px;
}

.cta-box h2 {
    color: var(--primary-red);
    margin-top: 0;
}

.small-text {
    font-size: 0.9em;
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.social-btn {
    padding: 12px 24px;
    background: var(--primary-red);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
}

.blog-post {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    border-left: 4px solid var(--primary-red);
}

.blog-post h2 {
    color: var(--primary-red);
    margin-top: 0;
}

.blog-meta {
    color: var(--text-light);
    font-size: 0.9em;
    margin-bottom: 20px;
    font-style: italic;
}

.blog-post h3 {
    color: var(--text-dark);
    margin-top: 25px;
}

/* ===== SEO CONTENT SECTION ===== */
.seo-content {
    background: white;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(255, 59, 59, 0.2);
    margin-bottom: 30px;
    border: 2px solid rgba(255, 59, 59, 0.2);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.seo-content-inner {
    max-width: 100%;
    margin: 0 auto;
}

.seo-content h2 {
    font-size: 2.5em;
    color: var(--primary-red);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 800;
}

.seo-content h3 {
    font-size: 1.5em;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.seo-block {
    background: var(--light-gray);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-red);
}

.seo-block p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

.seo-block p:last-child {
    margin-bottom: 0;
}

.seo-features {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 2px solid var(--primary-red);
}

.seo-features h3 {
    color: var(--primary-red);
    margin-bottom: 20px;
}

.seo-features ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.seo-features li {
    color: var(--text-dark);
    font-size: 1.05em;
    line-height: 1.6;
}

.seo-keywords {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 12px;
}

.seo-keywords h3 {
    color: var(--primary-red);
    margin-bottom: 20px;
}

.seo-keywords p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

.seo-keywords strong {
    color: var(--text-dark);
    font-weight: 700;
}

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    padding: 60px 40px 30px;
    border-radius: 20px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
    margin-top: 30px;
    color: white;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: white;
}

.footer-section h4 {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--light-red);
    font-weight: 700;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    font-size: 1.5em;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    transform: scale(1.2);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.95em;
}

.footer-links a:hover {
    color: var(--light-red);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-content p {
    margin: 5px 0;
}

.footer-tagline {
    font-size: 0.9em;
    font-style: italic;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet (768px and below) */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    header {
        padding: 40px 20px;
    }
    
    .logo {
        width: 100px;
        height: 100px;
    }
    
    .logo-text h1 {
        font-size: 2.5em;
    }
    
    .tagline {
        font-size: 1.1em;
    }
    
    .converter-nav {
        grid-template-columns: repeat(4, 1fr);
        padding: 15px;
        gap: 8px;
    }
    
    .nav-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    main {
        padding: 25px;
    }
    
    .converter-section h2 {
        font-size: 1.6em;
    }
    
    .converter-box {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px;
    }
    
    .swap-btn {
        transform: rotate(90deg);
        margin: 0;
    }
    
    .swap-btn:hover {
        transform: rotate(270deg) scale(1.1);
    }
    
    .unit-categories {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .category-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .footer-section:first-child {
        grid-column: 1 / -1;
        text-align: center;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    header {
        padding: 30px 15px;
    }
    
    .logo {
        width: 80px;
        height: 80px;
    }
    
    .logo-text h1 {
        font-size: 2em;
    }
    
    .tagline {
        font-size: 1em;
    }
    
    .converter-nav {
        grid-template-columns: repeat(3, 1fr);
        padding: 10px;
        gap: 6px;
    }
    
    .unit-categories {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-btn {
        padding: 8px 12px;
        font-size: 12px;
        flex: 1 1 calc(50% - 6px);
        min-width: 0;
    }
    
    main {
        padding: 20px;
    }
    
    .converter-section h2 {
        font-size: 1.4em;
    }
    
    .converter-box {
        padding: 15px;
    }
    
    .input-group input,
    .input-group select {
        padding: 12px;
        font-size: 14px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .calc-btn {
        padding: 14px;
        font-size: 16px;
    }
    
    .calc-btn.number {
        font-size: 18px;
    }
    
    .calc-btn.scientific {
        font-size: 13px;
        padding: 12px 6px;
    }
    
    .calc-btn.equals {
        font-size: 20px;
    }
    
    footer {
        padding: 40px 25px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section:first-child {
        grid-column: 1;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-section h3 {
        font-size: 1.4em;
    }
    
    .footer-section h4 {
        font-size: 1.1em;
    }
    
    .footer-links a:hover {
        transform: translateX(0);
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    body {
        background: white;
    }
    
    .converter-nav,
    footer,
    .swap-btn,
    button {
        display: none;
    }
    
    .container {
        max-width: 100%;
    }
    
    main {
        box-shadow: none;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .nav-btn,
    .category-btn,
    .input-group input,
    .input-group select {
        border-width: 3px;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    /* Can be implemented if needed */
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff3b3b 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 59, 59, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(255, 59, 59, 0.6);
    background: linear-gradient(135deg, #ff3b3b 0%, #c41e3a 100%);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
}
