:root {
    --primary-color: #1a1a1a;
    --secondary-color: #ffffff;
    --background-color: #ffffff;
    --text-color: #1a1a1a;
}

[data-theme="dark"] {
    --primary-color: #ffffff;
    --secondary-color: #1a1a1a;
    --background-color: #1a1a1a;
    --text-color: #ffffff;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    transition: all 0.3s ease;
    overflow-x: hidden;
    width: 100%;
}

html {
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

* {
    box-sizing: border-box;
}

.website-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
}

.main-image {
    text-align: center;
    margin: 100px 0 150px 0;
}

.main-image img {
    max-width: 300px;
    height: auto;
}

.bitcoin-intro {
    margin: 150px 0;
    text-align: left;
}

.intro-container {
    display: flex;
    gap: 40px;
    margin-top: 20px;
}

.intro-text {
    flex: 1;
}

.intro-text p {
    margin: 0 0 25px 0;
    line-height: 1.6;
}

.intro-empty {
    flex: 1;
}

.whitepaper-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background-color: #e0b53d;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.whitepaper-btn:hover {
    background-color: #c49f35;
}

.secondary-container {
    display: flex;
    gap: 40px;
    margin: 150px 0;
}

.left-column, .right-column {
    flex: 1;
}

.usage-terms {
    padding: 20px;
    background-color: var(--secondary-color);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.company-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.company-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

.company-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    transition: transform 0.3s ease;
}

.company-item a:hover {
    transform: translateY(-5px);
}

.company-item img {
    width: auto;
    max-width: 100%;
    max-height: 100px;
    height: auto;
    border-radius: 8px;
    background-color: var(--secondary-color);
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.download-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 24px;
    background-color: #e0b53d;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background-color: #c49f35;
    transform: translateY(-2px);
}

.terms-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 25px 0;
}

.term-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.term-icon {
    color: #4CAF50;
    font-size: 1.2em;
    font-weight: bold;
}

.term-item p {
    margin: 0;
    line-height: 1.4;
}

.site-footer {
    background-color: var(--secondary-color);
    padding: 40px 0;
    margin-top: 150px;
    border-top: 1px solid rgba(128, 128, 128, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    width: 100px;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.footer-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #e0b53d;
}

.footer-email {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.footer-email:hover {
    color: #e0b53d;
}

.paper-section {
    padding: 20px;
    background-color: var(--secondary-color);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.bitcoin-users {
    margin: 70px 0;
}

.people-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 15px;
    margin: 40px 0;
}

.person-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.3s ease;
}

.person-item:hover {
    transform: translateY(-5px);
}

.person-item img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    margin-bottom: 8px;
}

.twitter-handle {
    font-size: 0.9em;
    color: #e0b53d;
}

/* Responsive adjustments for people grid */
@media (max-width: 1200px) {
    .people-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 900px) {
    .people-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

.what-is-this {
    margin: 70px 0;
}

.what-is-this h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--text-color);
}

.what-is-this p {
    margin: 15px 0;
    line-height: 1.6;
    color: var(--text-color);
}

.what-is-this p:last-child {
    margin-bottom: 0;
} 

.logo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 20px;
    background-color: var(--secondary-color);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    transition: transform 0.3s ease;
}

.logo-item:hover {
    transform: scale(1.1);
}

.logo-item img {
    width: 100%;
    height: auto;
    max-width: 80px;
}

@media (max-width: 768px) {
    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .logo-item img {
        max-width: 60px;
    }

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

    .left-column,
    .right-column {
        width: 100%;
    }

    .main-image img {
        max-width: 200px;
    }

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

    .intro-text {
        width: 100%;
    }

    .intro-empty {
        display: none;
    }

    .paper-section {
        width: 100%;
        margin: 0;
        padding: 15px;
    }

    .intro-text p {
        width: 100%;
        word-wrap: break-word;
    }
}

@media (max-width: 480px) {
    .logo-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .logo-item img {
        max-width: 80px;
    }

    .company-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .company-item img {
        max-height: 80px;
        width: auto;
        padding: 15px;
    }

    .main-image {
        margin: 50px 0 70px 0;
    }

    .bitcoin-intro {
        margin: 70px 0;
    }

    .secondary-container {
        margin: 70px 0;
    }

    .container {
        padding: 15px;
        overflow: hidden;
    }
}

/* Dark mode toggle switch */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
    position: fixed;
    right: 15px;
    top: 15px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.theme-switch-wrapper:hover {
    opacity: 1;
}

.theme-switch {
    display: inline-block;
    height: 24px;
    position: relative;
    width: 44px;
}

.theme-switch input {
    display: none;
}

.slider {
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
}

.slider:before {
    background-color: #fff;
    bottom: 2px;
    content: "";
    height: 20px;
    left: 2px;
    position: absolute;
    transition: .4s;
    width: 20px;
}

input:checked + .slider {
    background-color: #66bb6a;
}

input:checked + .slider:before {
    transform: translateX(20px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
} 

b {
    color: #e0b53d;
    font-weight: 600;
} 

.about-section {
    max-width: 800px;
    margin: 0 auto;
}

.about-list {
    margin: 20px 0;
    padding-left: 20px;
}

.about-list li {
    margin: 10px 0;
    line-height: 1.6;
} 

.paper-section a[href^="mailto"] {
    color: #e0b53d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.paper-section a[href^="mailto"]:hover {
    color: #c49f35;
} 