/* Premium Minecraft.net & Classic Mojang UI style design for Flama Adventure */
:root {
    --bg-color: #121212;
    --card-bg: #2d2d2d;
    --border-light: #555555;
    --border-dark: #1b1b1b;
    --primary-color: #ff6400; /* Pure Fire Orange */
    --secondary-color: #ffaa00; /* Gold */
    --primary-glow: rgba(255, 100, 0, 0.4);
    --font-outfit: 'Noto Sans', 'Inter', 'Helvetica Neue', Arial, sans-serif;
    --text-color: #f5f5f5;
    --text-muted: #aaaaaa;
    
    /* Minecraft Colors */
    --mc-green: #5c8e32;
    --mc-green-light: #70aa3c;
    --mc-green-dark: #3b5f20;
    
    --mc-gray: #4a4a4a;
    --mc-gray-light: #6a6a6a;
    --mc-gray-dark: #2c2c2c;
    
    --mc-stone: #2e2e2e;
    --mc-dirt: #866043;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    /* Subtle repeating Minecraft block grid texture (32px blocks) */
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 32px 32px;
    color: var(--text-color);
    font-family: var(--font-outfit);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: var(--mc-gray-dark);
    border: 2px solid var(--bg-color);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* 3D Canvas Background Container */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    /* Cool moonlight night sky background */
    background: radial-gradient(circle at 60% 50%, #0c122b 0%, #05060a 100%);
}

/* UI Container Wrapper */
#ui-container {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navbar: Dark stone texture with green grass block top line */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 8%;
    background: #1e1e1e;
    border-top: 5px solid var(--mc-green); /* Grass block top edge! */
    border-bottom: 3px solid var(--border-dark);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.fire-text {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-glow);
}

.sub-logo {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: color var(--transition-speed);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a:hover, .nav-links a.active {
    color: #ffffff;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 2px;
    text-shadow: 0 0 8px rgba(255, 170, 0, 0.35);
}

.server-status-pill {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #2d2d2d;
    border-top: 2px solid var(--border-light);
    border-left: 2px solid var(--border-light);
    border-right: 2px solid var(--border-dark);
    border-bottom: 2px solid var(--border-dark);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ff3300;
}

.status-dot.online {
    background-color: #55ff55;
    box-shadow: 0 0 8px #55ff55;
}

/* Sections Configuration */
main {
    flex-grow: 1;
    padding: 0;
}

section {
    padding: 8rem 8%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    width: 100%;
}

.step-text {
    flex-grow: 1;
    word-break: break-word;
    line-height: 1.5;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 900;
    margin-bottom: 2.5rem;
    position: relative;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background: var(--primary-color);
    margin-top: 0.5rem;
}

/* 1. Hero Section (Left Aligned) */
.hero-section {
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    position: relative;
    background: transparent;
}

.hero-content {
    max-width: 650px;
    width: 100%;
}

.badge {
    background: #2d2d2d;
    border-top: 2px solid var(--secondary-color);
    border-left: 2px solid var(--secondary-color);
    border-right: 2px solid var(--border-dark);
    border-bottom: 2px solid var(--border-dark);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(255, 170, 0, 0.25);
}

h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
}

.highlight {
    color: var(--primary-color);
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

/* Connection Widget (Minecraft Inventory Slot / Bevel Style) */
.connection-widget {
    background: #1e1e1e;
    border-top: 3px solid var(--border-dark);
    border-left: 3px solid var(--border-dark);
    border-right: 3px solid var(--border-light);
    border-bottom: 3px solid var(--border-light);
    padding: 0.6rem;
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.widget-row {
    display: flex;
    align-items: center;
    background: #2d2d2d;
    border-top: 2px solid var(--border-light);
    border-left: 2px solid var(--border-light);
    border-right: 2px solid var(--border-dark);
    border-bottom: 2px solid var(--border-dark);
    padding: 0.65rem 1rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.widget-row:hover {
    background: #3a3a3a;
    border-top-color: var(--secondary-color);
    border-left-color: var(--secondary-color);
    border-right-color: var(--border-dark);
    border-bottom-color: var(--border-dark);
    box-shadow: 0 0 15px rgba(255, 170, 0, 0.35);
}

.icon-box {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-right: 1rem;
    width: 24px;
    text-align: center;
}

.info-box {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.info-box .label {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-box .val {
    font-size: 1.15rem;
    font-weight: 800;
    font-family: var(--font-outfit);
    color: var(--text-color);
    letter-spacing: 0.5px;
}

.copy-hint {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.widget-row:hover .copy-hint {
    color: #ffffff;
}

.cta-group {
    display: flex;
    gap: 1.2rem;
}

/* Authentic Mojang UI Buttons (Blocky, No round corners, 3D click feel) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.9rem 2.2rem;
    border-radius: 0px; /* Sharp corners! */
    font-size: 1.05rem;
    font-weight: 900;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.05s, box-shadow 0.05s;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn:active {
    transform: translateY(3px);
}

.btn-minecraft-green {
    background: var(--mc-green);
    color: #fff;
    border-bottom: 4px solid var(--mc-green-dark);
    box-shadow: 0 4px 0 rgba(0,0,0,0.4);
}

.btn-minecraft-green:hover {
    background: var(--mc-green-light);
}

.btn-minecraft-green:active {
    border-bottom-width: 1px;
    box-shadow: 0 1px 0 rgba(0,0,0,0.4);
}

.btn-minecraft-gray {
    background: var(--mc-gray);
    color: #fff;
    border-bottom: 4px solid var(--mc-gray-dark);
    box-shadow: 0 4px 0 rgba(0,0,0,0.4);
}

.btn-minecraft-gray:hover {
    background: var(--mc-gray-light);
}

.btn-minecraft-gray:active {
    border-bottom-width: 1px;
    box-shadow: 0 1px 0 rgba(0,0,0,0.4);
}

.btn-buy {
    background: var(--mc-green);
    color: #fff;
    border-bottom: 3px solid var(--mc-green-dark);
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
    font-weight: 900;
    border-radius: 0px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    text-transform: uppercase;
}

.btn-buy:hover {
    background: var(--mc-green-light);
}

.btn-buy:active {
    transform: translateY(2px);
    border-bottom-width: 1px;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.scroll-indicator i {
    font-size: 1.1rem;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
.animate-bounce {
    animation: bounce 1.5s infinite;
}

/* 2. Hexagonal Features Section (Mojang Slot Grid Style) */
.features-section {
    align-items: center;
    width: 100%;
    max-width: 100%;
    background: transparent;
    border-top: 3px solid transparent;
}

.features-section .section-title {
    text-align: center;
    margin: 0 auto 4rem auto;
}

.features-section .section-title::after {
    margin-left: auto;
    margin-right: auto;
}

.badges-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.hex-badge {
    background: var(--card-bg);
    border-radius: 0px; /* Sharp! */
    padding: 1.6rem 1.2rem;
    text-align: center;
    /* Outset 3D border like Minecraft UI */
    border-top: 3px solid var(--border-light);
    border-left: 3px solid var(--border-light);
    border-right: 3px solid var(--border-dark);
    border-bottom: 3px solid var(--border-dark);
    transition: all 0.25s ease;
}

.hex-badge:hover {
    transform: translateY(-5px);
    background: #363640;
    border-color: var(--secondary-color);
    /* Minecraft.net Golden Glow Effect */
    box-shadow: 0 0 20px rgba(255, 170, 0, 0.45), 0 0 40px rgba(255, 170, 0, 0.15), inset 0 1px 0 rgba(255, 200, 50, 0.15);
}

.hex-badge:hover .hex-icon {
    /* Yellow glow on the icon itself */
    filter: drop-shadow(0 0 8px rgba(255, 200, 50, 0.6));
}

/* Top accent color for categories */
.hex-badge.green { border-top-color: #55ff55; }
.hex-badge.purple { border-top-color: #aa00aa; }
.hex-badge.brown { border-top-color: #ffaa00; }
.hex-badge.red { border-top-color: #ff5555; }
.hex-badge.pink { border-top-color: #ff55ff; }
.hex-badge.gold { border-top-color: #ffd700; }

.hex-icon {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 44px;
    transition: filter 0.25s ease;
}

.hex-badge.green .hex-icon { color: #55ff55; }
.hex-badge.purple .hex-icon { color: #d855ff; }
.hex-badge.brown .hex-icon { color: #ffaa00; }
.hex-badge.red .hex-icon { color: #ff5555; }
.hex-badge.pink .hex-icon { color: #ff55ff; }
.hex-badge.gold .hex-icon { color: #ffd700; }

.hex-badge h4 {
    font-size: 1.05rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.hex-badge p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* 3. Shop Section */
.shop-section {
    width: 100%;
    max-width: 100%;
    background: transparent;
}

.section-desc {
    color: var(--text-muted);
    margin: -1rem auto 2.5rem auto;
    font-size: 1.1rem;
    max-width: 1000px;
    width: 100%;
    text-align: center;
}

/* Category Filter Tabs (Minecraft GUI style) */
.tabs-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 3rem auto;
    display: flex;
    justify-content: center;
}

.shop-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    background: #1a1a1a;
    border-top: 3px solid var(--border-dark);
    border-left: 3px solid var(--border-dark);
    border-right: 3px solid var(--border-light);
    border-bottom: 3px solid var(--border-light);
    padding: 0.6rem;
    width: fit-content;
}

.tab-btn {
    background: #2d2d2d;
    color: var(--text-muted);
    font-family: var(--font-outfit);
    font-weight: 800;
    font-size: 0.85rem;
    padding: 0.65rem 1.4rem;
    border-top: 2px solid var(--border-light);
    border-left: 2px solid var(--border-light);
    border-right: 2px solid var(--border-dark);
    border-bottom: 2px solid var(--border-dark);
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.15s ease;
}

.tab-btn:hover {
    background: #3e3e3e;
    color: #ffffff;
}

.tab-btn.active {
    background: var(--mc-green);
    color: #ffffff;
    border-top-color: var(--mc-green-light);
    border-left-color: var(--mc-green-light);
    border-right-color: var(--mc-green-dark);
    border-bottom-color: var(--mc-green-dark);
}

.gold-badge {
    background: #ffd700 !important;
    color: #000000 !important;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.shop-card {
    background: var(--card-bg);
    border-top: 3px solid var(--border-light);
    border-left: 3px solid var(--border-light);
    border-right: 3px solid var(--border-dark);
    border-bottom: 3px solid var(--border-dark);
    padding: 2rem 1.5rem;
    border-radius: 0px; /* Sharp */
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.shop-card:hover {
    transform: translateY(-5px);
    background: #34343a;
    border-color: var(--secondary-color);
    /* Minecraft.net Golden Glow Effect */
    box-shadow: 0 0 20px rgba(255, 170, 0, 0.45), 0 0 40px rgba(255, 170, 0, 0.15), inset 0 1px 0 rgba(255, 200, 50, 0.15);
}

.item-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary-color);
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.25rem 0.6rem;
    letter-spacing: 0.5px;
    box-shadow: 0 0 8px rgba(255, 170, 0, 0.45);
}

.card-img-container {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.shop-img {
    max-height: 120px;
    max-width: 100%;
    object-fit: contain;
    transition: transform var(--transition-speed);
}

.shop-card:hover .shop-img {
    transform: scale(1.1) rotate(2deg);
}

.shop-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.item-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 2rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--secondary-color);
}

/* 4. Connect / Bottom Guarantees Section */
.connect-section {
    width: 100%;
    max-width: 100%;
    background: transparent;
    overflow: hidden;
}

.connect-info-grid {
    background: var(--card-bg);
    border-top: 3px solid var(--border-light);
    border-left: 3px solid var(--border-light);
    border-right: 3px solid var(--border-dark);
    border-bottom: 3px solid var(--border-dark);
    padding: 3rem;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 4rem auto;
}

.connect-instructions h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.steps-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.steps-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.05rem;
    color: var(--text-muted);
}

.steps-list li i {
    color: var(--mc-green);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.steps-list code {
    background: #18181e;
    color: var(--text-color);
    padding: 0.2rem 0.5rem;
    font-family: monospace;
    font-size: 1.1rem;
    border: 1px solid var(--border-dark);
    display: inline-block;
    word-break: break-all;
}

/* Bottom Guarantees Row (Flyer Bottom Style) */
.guarantees-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 1000px;
    margin: 2rem auto 0 auto;
}

.guarantee-badge {
    background: #1e1e1e;
    border-top: 2px solid var(--border-dark);
    border-left: 2px solid var(--border-dark);
    border-right: 2px solid var(--border-light);
    border-bottom: 2px solid var(--border-light);
    padding: 1.5rem 1rem;
    border-radius: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    text-align: center;
    transition: all 0.2s ease;
}

.guarantee-badge:hover {
    background: #2d2d2d;
    border-color: var(--secondary-color);
    box-shadow: 0 0 18px rgba(255, 170, 0, 0.35);
}

.guarantee-badge i {
    font-size: 1.8rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-glow);
}

.guarantee-badge span {
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    color: var(--text-color);
}

/* Footer */
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 8%;
    border-top: 3px solid var(--mc-stone);
    margin-top: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    background: transparent;
    width: 100%;
}

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

.social-links a {
    color: var(--text-muted);
    font-size: 1.5rem;
    transition: color var(--transition-speed);
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1.2rem 5%;
        position: relative;
    }
    
    .nav-links {
        gap: 1.2rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    main {
        padding: 0;
    }
    
    section {
        padding: 4rem 5%;
        min-height: auto;
        align-items: center !important;
    }
    
    .section-title {
        text-align: center !important;
        margin: 0 auto 2rem auto !important;
        font-size: 2rem;
    }
    
    .section-title::after {
        margin: 0.5rem auto 0 auto !important;
    }
    
    .hero-section {
        max-width: 100%;
        text-align: center;
        align-items: center;
        padding-top: 2rem;
    }
    
    .connection-widget {
        margin: 0 auto 2.5rem auto;
    }
    
    .badges-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .hex-badge {
        padding: 1.2rem 0.8rem;
    }
    
    .hex-icon {
        font-size: 1.5rem;
        height: 36px;
        margin-bottom: 0.6rem;
    }
    
    .hex-badge h4 {
        font-size: 0.95rem;
    }
    
    .hex-badge p {
        font-size: 0.78rem;
    }
    
    .guarantees-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    footer {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        margin-top: 0;
        padding: 2rem 5%;
    }
}

/* Specific optimizations for Tablets and Small Laptops (768px and below) */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .hero-desc {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .shop-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem;
    }
    
    .shop-card {
        padding: 1.2rem 1rem;
    }
    
    .card-img-container {
        height: 110px;
        margin-bottom: 1rem;
    }
    
    .shop-img {
        max-height: 90px;
    }
    
    .shop-card h3 {
        font-size: 1.15rem;
    }
    
    .item-desc {
        font-size: 0.82rem;
        margin-bottom: 1.2rem;
    }
    
    .price {
        font-size: 1.15rem;
    }
    
    .btn-buy {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .tabs-container {
        margin-bottom: 2rem;
    }
    
    .tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* Specific optimizations for Mobile Phones (480px and below) */
@media (max-width: 480px) {
    h1 {
        font-size: 1.6rem;
    }
    
    .hero-desc {
        font-size: 0.8rem;
        line-height: 1.35;
    }
    
    .section-title {
        font-size: 1.3rem !important;
        margin-bottom: 1.2rem !important;
    }
    
    .logo {
        font-size: 1.1rem !important;
    }
    
    .server-status-pill {
        font-size: 0.7rem !important;
        padding: 0.3rem 0.6rem !important;
    }
    
    .cta-group {
        width: 100%;
        flex-direction: column;
        gap: 0.6rem;
    }
    
    .btn {
        width: 100%;
        padding: 0.6rem 1rem;
        font-size: 0.82rem;
    }
    
    .connection-widget {
        max-width: 100%;
        padding: 0.3rem;
    }
    
    .widget-row {
        padding: 0.4rem 0.5rem;
    }
    
    .info-box .val {
        font-size: 0.78rem;
        word-break: break-all;
    }
    
    .info-box .label {
        font-size: 0.6rem;
    }
    
    /* Feature badges - compact for mobile */
    .badges-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.6rem !important;
    }
    
    .hex-badge {
        padding: 0.8rem 0.5rem !important;
    }
    
    .hex-icon {
        font-size: 1.15rem !important;
        height: 28px !important;
        margin-bottom: 0.4rem !important;
    }
    
    .hex-badge h4 {
        font-size: 0.78rem !important;
        margin-bottom: 0.3rem !important;
    }
    
    .hex-badge p {
        font-size: 0.65rem !important;
        line-height: 1.3 !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .shop-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem;
    }
    
    .shop-card {
        padding: 0.6rem 0.4rem;
    }
    
    .card-img-container {
        height: 55px;
        margin-bottom: 0.5rem;
    }
    
    .shop-img {
        max-height: 45px;
    }
    
    .shop-card h3 {
        font-size: 0.82rem;
    }
    
    .item-desc {
        font-size: 0.65rem;
        line-height: 1.2;
        margin-bottom: 0.6rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .item-badge {
        font-size: 0.6rem;
        padding: 0.15rem 0.4rem;
        top: 0.5rem;
        right: 0.5rem;
    }
    
    .card-footer {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.4rem !important;
        width: 100% !important;
    }
    
    .price {
        font-size: 0.85rem;
        text-align: center;
        width: 100%;
    }
    
    .btn-buy {
        width: 100% !important;
        padding: 0.35rem 0 !important;
        font-size: 0.68rem;
        text-align: center;
    }
    
    .guarantees-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .guarantee-badge {
        padding: 0.7rem 0.5rem;
    }
    
    .guarantee-badge i {
        font-size: 1.2rem;
    }
    
    .guarantee-badge span {
        font-size: 0.72rem;
    }
    
    .connect-info-grid {
        padding: 1rem;
    }
    
    .connect-instructions h3 {
        font-size: 1.1rem;
    }
    
    .steps-list li {
        font-size: 0.8rem;
    }
    
    .steps-list code {
        font-size: 0.85rem;
    }
    
    .section-desc {
        font-size: 0.85rem;
    }
    
    .shop-tabs {
        padding: 0.4rem;
    }
    
    .tab-btn {
        padding: 0.4rem 0.7rem;
        font-size: 0.7rem;
    }
    
    section {
        padding: 3rem 5% !important;
    }
}
