
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: none;
    outline: none;
}

.color-scheme {
    color-scheme: dark;
}

body {
    font-family: Arial, sans-serif;
    background-color: #222222;
    color: #e0e0e0;
    line-height: 1.6;
    padding: 1rem;
}

/* Go Back Arrow Styling */
.go-back {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1100; /* Make sure it's above other content */
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
  }
  
  .go-back svg {
    width: 100%;
    height: 100%;
    fill: #e0e0e0;
    transition: fill 0.3s;
  }
  
  .go-back:hover svg {
    fill: #fff;
  }
  

/* Section styling */
section {
    margin-bottom: 2rem;
    padding: 1rem;
}

/* Header Section */
.download-header {
    text-align: center;
    margin-bottom: 1.5rem;
}
.download-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
.download-header p {
    font-size: 1.2rem;
    color: #b0b0b0;
}

/* Platform Buttons */
.download-buttons {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}
.download-buttons button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-width: 150px;
    min-height: 150px;
    padding: 1.5rem;
    outline: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    color: #fff;
    transition: 0.3s ease;
    font-size: 1.2rem;
    cursor: pointer;
}
.download-buttons button:hover,
.download-buttons button.active {
    background-color: #fff;
    color: #000;
}

/* Details Sections */
.download-details {
    display: none;
    border-top: 1px solid #333;
    padding-top: 1.5rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.download-details.active {
    display: block;
}
.download-details h2 {
    margin-bottom: 0.5rem;
}
.download-details p {
    margin-top: 0.5rem;
    margin-bottom: 1.2rem;
}
.detail-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    transition: background 0.3s;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 0.5rem;
    outline: 1px solid #ffffff33;
    background: #ffffff1a;
    color: #fff;
}
.detail-button:hover {
    background-color: #555;
}
code {
    background-color: #2d2d2d;
    border: 1px solid #444;
    border-radius: 3px;
    padding: 0.2em 0.4em;
    font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
    font-size: 85%;
    color: #c9d1d9;
}
pre {
    background-color: #2d2d2d;
    border: 1px solid #444;
    border-radius: 3px;
    padding: 16px;
    overflow: auto;
    font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
    font-size: 100%;
    line-height: 1.45;
    color: #d3d3d3;
    margin: 1.5em 0;
}
pre code {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font-size: inherit;
    color: inherit;
}


/* Fallback Popup Styling */
.copy-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}
.copy-popup.active {
    display: flex;
}
.copy-popup .popup-content {
    background: #1e1e1e;
    padding: 1rem;
    border-radius: 4px;
    position: relative;
    max-width: 90%;
    width: 400px;
    text-align: center;
}
.copy-popup .close-popup {
    position: absolute;
    top: 5px;
    right: 15px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}
.copy-popup .popup-input {
    width: 100%;
    padding: 0.5rem;
    background: #333;
    color: #fff;
    border: 1px solid #555;
    border-radius: 4px;
    margin-top: 1rem;
}

/* Responsive adjustments for phones */
@media (max-width: 600px) {
.download-header h1 {
    font-size: 2rem;
}
.download-header p {
    font-size: 1rem;
}
/* Two‑column grid on small screens */
.download-buttons {
    grid-template-columns: repeat(2, 1fr);
}
/* Make the third button span both columns */
.download-buttons button:nth-child(3) {
    grid-column: 1 / -1;
}
}