:root {
    --primary: #2c3e50;
    --secondary: #27ae60;
    --accent: #e74c3c;
    --bg-dark: #1e1f26;
    --bg-light: #f5f6fa;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --border: #dcdde1;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --selection-hover: rgba(39, 174, 96, 0.1);
    --selection-active: rgba(39, 174, 96, 0.2);
    --minecraft-green: #44bd32;
}

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

body {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    min-height: 100vh;
    line-height: 1.5;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Main Content */
.content {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.minecraft-paper {
    background: white;
    border-radius: 12px;
    padding: 2rem;
}

.section-title {
    font-family: 'Minecraft', sans-serif;
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Search Panel */
.search-panel {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #dcdde1;
    max-width: 1200px;
    margin: 0 auto;
}

/* Grid Selection */
.selection-grid {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 0 0 8px 8px;
}

.selection-grid.active {
    display: grid;
}

.selection-item {
    text-align: center;
    cursor: pointer;
}

.selection-item .item-frame {
    background: white;
    border: 3px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.5rem;
    transition: all 0.2s;
}

.selection-item:hover .item-frame {
    border-color: var(--minecraft-green);
    transform: translateY(-2px);
}

.selection-item.selected .item-frame {
    border-color: var(--minecraft-green);
    background: var(--selection-active);
}

.selection-item img {
    width: 64px;
    height: 64px;
    image-rendering: pixelated;
}

.selection-item span {
    display: block;
    font-family: 'Minecraft', sans-serif;
    font-size: 0.9rem;
    color: var(--text-dark);
}

/* Tabs */
.tabs {
    display: flex;
    gap: 4px;
    background: #2c3e50;
    padding: 4px;
    border-radius: 8px;
}

.tab {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: white;
    font-family: 'Minecraft', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex: 1;
}

.tab.active {
    background: var(--minecraft-green);
}

.tab-icon {
    width: 24px;
    height: 24px;
    image-rendering: pixelated;
}

/* Search Inputs */
.search-inputs {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-family: 'Minecraft', sans-serif;
    color: var(--text-dark);
}

.input-group input,
.version-selector select {
    width: 100%;
    height: 56px;
    padding: 0 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    color: #4a5568;
    transition: all 0.2s ease;
}

.input-group input:focus,
.version-selector select:focus {
    outline: none;
    border-color: var(--minecraft-green);
}

/* Edition Toggle */
.edition-toggle {
    margin: 1rem 0;
}

.toggle-label {
    font-family: 'Minecraft', sans-serif;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.toggle-container {
    display: flex;
    gap: 1rem;
    background: #f7fafc;
    padding: 0.5rem;
    border-radius: 8px;
}

.toggle-button {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-family: 'Minecraft', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
    color: var(--text-dark);
}

.toggle-button:hover {
    background: #f0f9f0;
}

.toggle-button.active {
    background: #2c3e50;
    color: white;
}

/* Search Button */
.search-btn {
    background: var(--minecraft-green);
    color: white;
    border: none;
    padding: 1.25rem;
    border-radius: 8px;
    font-family: 'Minecraft', sans-serif;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(39, 174, 96, 0.2);
}

.search-icon {
    width: 32px;
    height: 32px;
    image-rendering: pixelated;
}

/* Results Styling */
.results-header {
    background: #2c3e50;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.results-title {
    font-family: 'Minecraft', sans-serif;
    color: white;
    font-size: 1.25rem;
    margin: 0;
}

.new-search-btn {
    background: var(--minecraft-green);
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
}

.results-list {
    display: flex;
    flex-direction: column;
}

.result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 2px solid var(--border);
    transition: all 0.3s ease-out;
    margin-bottom: 8px;
    opacity: 1;
    height: auto;
}

.result-item.fade-out {
    margin-bottom: 0;
    opacity: 0;
    height: 0;
    padding: 0;
    border: none;
    overflow: hidden;
}

.result-checkbox {
    position: relative;
    min-width: 24px;
    height: 24px;
    margin: 4px;
}

.mining-status {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.result-checkbox label {
    position: absolute;
    top: 0;
    left: 0;
    height: 24px;
    width: 24px;
    background-color: white;
    border: 2px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mining-status:checked + label {
    background-color: var(--minecraft-green);
    border-color: var(--minecraft-green);
}

.mining-status:checked + label:after {
    content: '';
    position: absolute;
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.result-details {
    flex: 1;
}

.result-type {
    font-family: 'Minecraft', sans-serif;
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.result-coords {
    display: flex;
    gap: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.distance {
    color: var(--minecraft-green);
    margin-left: auto;
}

/* Loading State */
.search-panel.loading .search-inputs {
    display: none;
}

.search-panel.loading .loading-state {
    display: flex;
}

.loading-state {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
}

.loading-animation {
    width: 200px;
    height: 200px;
    background: white;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-animation img {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

.progress-bar {
    width: 100%;
    max-width: 400px;
    height: 24px;
    background: #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: var(--minecraft-green);
    width: 0%;
    border-radius: 12px;
    transition: width 0.5s ease;
}

.loading-text {
    font-family: 'Minecraft', sans-serif;
    color: var(--text-dark);
    font-size: 1.2rem;
    text-align: center;
}

/* See More Button */
.results-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.see-more-btn {
    background: #2c3e50;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-family: 'Minecraft', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.see-more-btn:hover {
    background: #34495e;
    transform: translateY(-2px);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .desktop-view {
        display: none;
    }

    .mobile-selection {
        display: block;
    }

    .mobile-selection .tabs {
        flex-direction: column;
        background: none;
        padding: 0;
        gap: 0.5rem;
    }

    .mobile-selection .tab {
        background: #2c3e50;
        justify-content: flex-start;
        padding: 0.75rem;
    }

    .mobile-selection .tab.active {
        background: var(--minecraft-green);
    }

    .mobile-grid {
        display: none;
        padding: 0.5rem;
    }

    .mobile-grid.active {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .mobile-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem;
        background: white;
        border: 2px solid var(--border);
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .mobile-item.selected {
        border-color: var(--minecraft-green);
        background: var(--selection-active);
    }

    .mobile-item:active {
        transform: scale(0.95);
    }

    .mobile-item .item-frame {
        width: 100%;
        aspect-ratio: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.5rem;
    }

    .mobile-item img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        image-rendering: pixelated;
    }

    .mobile-item .item-name {
        font-family: 'Minecraft', sans-serif;
        font-size: 0.75rem;
        color: var(--text-dark);
        text-align: center;
        word-break: break-word;
    }

    .coordinates-group {
        grid-template-columns: 1fr;
    }

    .result-coords {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .distance {
        width: 100%;
        margin: 0.25rem 0 0;
    }

    .search-btn {
        padding: 1rem;
        font-size: 1.1rem;
    }

    .search-icon {
        width: 24px;
        height: 24px;
    }

    .tutorial-video {
        height: 0;
        padding-top: 56.25%;
    }
    
    .tutorial-video video {
        position: absolute;
        top: 0;
        left: 0;
    }

    .toggle-container {
        flex-direction: column;
    }

    .toggle-button {
        padding: 0.5rem 1rem;
    }

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

    .results-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .new-search-btn {
        width: 100%;
    }

    .result-coords {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        font-size: 0.8rem;
    }

    .distance {
        grid-column: 1 / -1;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .minecraft-paper {
        padding: 1rem;
    }

    .search-panel {
        padding: 1rem;
    }

    .info-content {
        padding: 1.5rem;
        margin-top: 3rem;
    }

    .info-section h2 {
        font-size: 1.25rem;
    }

    .footer {
        padding: 2rem 0 1rem;
    }

    .faq summary {
        padding: 1rem;
        padding-right: 3rem;
        font-size: 1rem;
    }

    .faq details p {
        padding: 0 1rem 1rem;
    }
}

/* Tutorial Section */
.tutorial-section {
    margin: 3rem 0;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.tutorial-header {
    margin-bottom: 1.5rem;
}

.tutorial-header h3 {
    font-family: 'Minecraft', sans-serif;
    color: var(--text-dark);
    font-size: 1.25rem;
}

.tutorial-video {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.tutorial-video video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Info Content */
.info-content {
    margin-top: 4rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid var(--border);
}

.info-section {
    margin-bottom: 3rem;
}

.info-section:last-child {
    margin-bottom: 0;
}

.info-section h2 {
    font-family: 'Minecraft', sans-serif;
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.info-section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--minecraft-green);
}

.info-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
    border-top: 4px solid #34495e;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-section h4 {
    font-family: 'Minecraft', sans-serif;
    color: white;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-disclaimer {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid #34495e;
}

.disclaimer-text {
    font-family: 'Minecraft', sans-serif;
    color: #e74c3c;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.copyright-text {
    color: #bdc3c7;
    font-size: 0.8rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-family: 'Minecraft', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

/* FAQ Section */
.faq {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border);
    margin-top: 3rem;
}

.faq h2 {
    font-family: 'Minecraft', sans-serif;
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.faq details {
    background: white;
    border: 2px solid var(--border);
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

.faq details:hover {
    border-color: var(--minecraft-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.faq summary {
    padding: 1.25rem;
    cursor: pointer;
    font-family: 'Minecraft', sans-serif;
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 500;
    list-style: none;
    position: relative;
    padding-right: 3rem;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: '+';
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--minecraft-green);
    transition: transform 0.2s ease;
}

.faq details[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq details p {
    padding: 0 1.25rem 1.25rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    border-top: 1px solid var(--border);
}

/* Toast Notifications */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem;
    border-radius: 8px;
    color: white;
    font-family: 'Minecraft', sans-serif;
    max-width: 300px;
    z-index: 9999;
    animation: slideIn 0.3s ease-out;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.toast.error {
    background-color: #e74c3c;
}

.toast.warning {
    background-color: #f1c40f;
}

.toast.success {
    background-color: #2ecc71;
}

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

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

/* Form Validation */
.input-error {
    border-color: #e74c3c !important;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Coordinate Inputs */
.coordinate-input {
    -moz-appearance: textfield;
}

.coordinate-input::-webkit-outer-spin-button,
.coordinate-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Desktop/Mobile View Control */
@media (min-width: 769px) {
    .mobile-selection {
        display: none !important;
    }
    
    .desktop-view {
        display: block !important;
    }

    .selection-container {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .desktop-view {
        display: none !important;
    }
    
    .mobile-selection {
        display: block !important;
    }

    .mobile-selection .tabs {
        flex-direction: column;
        background: none;
        padding: 0;
        gap: 0.5rem;
    }

    .mobile-selection .tab {
        background: #2c3e50;
        justify-content: flex-start;
        padding: 0.75rem;
    }

    .mobile-selection .tab.active {
        background: var(--minecraft-green);
    }

    .mobile-grid {
        display: none;
        padding: 0.5rem;
    }

    .mobile-grid.active {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
}

/* Navigation Bar */
.navbar {
    background: var(--bg-dark);
    position: relative;
    z-index: 1000;
    border-bottom: 4px solid #34495e;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.nav-logo img {
    width: 48px;
    height: 48px;
}

.nav-logo h1 {
    font-family: 'Minecraft', sans-serif;
    color: white;
    font-size: 1.5rem;
    margin: 0;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    gap: 2rem;
}

.desktop-nav a {
    color: #bdc3c7;
    text-decoration: none;
    font-family: 'Minecraft', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s ease;
}

.desktop-nav a:hover {
    color: white;
}

/* Burger Menu Button */
.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.burger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: 0.3s;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    background: var(--bg-dark);
    padding: 1rem;
    border-top: 1px solid #34495e;
}

.mobile-nav a {
    display: block;
    color: #bdc3c7;
    text-decoration: none;
    font-family: 'Minecraft', sans-serif;
    padding: 0.75rem 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.2s ease;
}

.mobile-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .burger-menu {
        display: block;
    }

    .mobile-nav.active {
        display: block;
    }

    /* Burger Animation */
    .burger-menu.active span:first-child {
        transform: rotate(45deg) translate(6px, 5px);
    }

    .burger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.active span:last-child {
        transform: rotate(-45deg) translate(6px, -5px);
    }
}

.item-display {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(230, 255, 250, 0.05) 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.item-image {
    width: 180px;
    height: 180px;
    image-rendering: pixelated;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
    margin: 1rem 0;
    transition: transform 0.3s ease;
}

.item-image:hover {
    transform: scale(1.05);
}

.item-name {
    font-family: 'Minecraft', sans-serif;
    font-size: 1.4rem;
    margin-top: 1rem;
    text-align: center;
    letter-spacing: 1px;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.2);
}

.item-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: -1;
}

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

.finder-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 8px;
    transition: all 0.2s ease;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.finder-card:hover {
    border-color: var(--minecraft-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.finder-image {
    background: linear-gradient(135deg, #f5f6fa 0%, #e8eaed 100%);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border);
}

.finder-image img {
    width: 48px;
    height: 48px;
    image-rendering: pixelated;
}

.finder-content {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.finder-content h3 {
    font-family: 'Minecraft', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.finder-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.finder-button {
    background: var(--minecraft-green);
    color: white;
    font-family: 'Minecraft', sans-serif;
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    display: block;
    text-align: center;
    transition: background-color 0.2s ease;
    margin-top: auto;
}

.finder-card:hover .finder-button {
    background: #219a52;
}

.search-count {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(44, 62, 80, 0.9);
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Minecraft', sans-serif;
}

@media (max-width: 768px) {
    .finder-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .finder-card {
        margin-bottom: 0.5rem;
    }

    .finder-image {
        padding: 1rem;
    }

    .finder-content {
        padding: 1rem;
    }

    .finder-content h3 {
        font-size: 1rem;
    }

    .finder-content p {
        font-size: 0.875rem;
    }

    .search-count {
        font-size: 0.7rem;
        top: 0.75rem;
        right: 0.75rem;
    }
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    transition: transform 0.2s ease;
}

.social-link:hover {
    transform: translateY(-2px);
}

.social-link img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.footer-bottom {
    border-top: 1px solid #34495e;
    margin-top: 1rem;
}

.footer-disclaimer {
    padding: 2rem 0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding-bottom: 2rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .social-icons {
        gap: 2rem;
        padding: 1.5rem 0;
    }
    
    .footer-disclaimer {
        padding: 1.5rem 0;
    }
}

/* Legal Pages Styling */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.legal-content h1 {
    font-family: 'Minecraft', sans-serif;
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--minecraft-green);
}

.legal-content section {
    margin-bottom: 2.5rem;
}

.legal-content h2 {
    font-family: 'Minecraft', sans-serif;
    color: var(--text-dark);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border);
}

.legal-content p {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.legal-content ul {
    list-style-type: none;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content ul li {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    position: relative;
}

.legal-content ul li:before {
    content: '•';
    color: var(--minecraft-green);
    position: absolute;
    left: -1.5rem;
    font-weight: bold;
}

/* Contact Page Specific Styling */
.contact-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
}

.contact-info {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-email {
    color: var(--minecraft-green);
    text-decoration: none;
    font-weight: bold;
}

.contact-email:hover {
    text-decoration: underline;
}

.contact-form {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    border: 2px solid var(--border);
}

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

.form-group label {
    display: block;
    font-family: 'Minecraft', sans-serif;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--minecraft-green);
}

.submit-btn {
    background: var(--minecraft-green);
    color: white;
    font-family: 'Minecraft', sans-serif;
    font-size: 1rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.submit-btn:hover {
    background: #219a52;
    transform: translateY(-2px);
}

.submit-btn:disabled {
    background: #a0a0a0;
    cursor: not-allowed;
    transform: none;
}

.alert {
    animation: fadeIn 0.3s ease-in;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    font-family: 'Minecraft', sans-serif;
}

.alert.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .legal-content,
    .contact-content {
        padding: 1rem;
    }

    .legal-content h1 {
        font-size: 1.5rem;
    }

    .legal-content h2 {
        font-size: 1.1rem;
    }

    .contact-form {
        padding: 1rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.privacy-notice {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: center;
}

.privacy-notice a {
    color: var(--minecraft-green);
    text-decoration: none;
}

.privacy-notice a:hover {
    text-decoration: underline;
}