/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 25%, #FF6B35 50%, #F7931E 75%, #FFD700 100%);
    background-size: 400% 400%;
    animation: gleefulGradient 8s ease infinite;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

@keyframes gleefulGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 255, 136, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(0, 191, 255, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Navigation - Now handled by modal menu */

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

/* Hero Section */
.hero {
    color: white;
    padding: 4rem 0 2rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 215, 0, 0.6);
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FFD700 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gleefulText 3s ease-in-out infinite;
    position: relative;
}

@keyframes gleefulText {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Download Tabs */
.download-tabs {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3), 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
    overflow: hidden;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.tab-navigation {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 165, 0, 0.1) 100%);
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    display: flex;
    overflow-x: auto;
}

.tab-btn {
    align-items: center;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    display: flex;
    flex: 1;
    flex-direction: column;
    font-size: 1rem;
    font-weight: 500;
    min-width: 120px;
    padding: 1.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    transition: left 0.5s ease;
}

.tab-btn:hover::before {
    left: 100%;
}

.tab-btn > * {
    margin-bottom: 0.5rem;
}

.tab-btn > *:last-child {
    margin-bottom: 0;
}

.tab-btn:hover {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.tab-icon {
    font-size: 1.5rem;
}

.tab-content {
    padding: 3rem;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.os-info h2 {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FFD700 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gleefulText 3s ease-in-out infinite;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-align: center;
    text-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

.os-info > p {
    color: #666;
    margin-bottom: 2rem;
    text-align: center;
}

/* Download Options */
.download-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin: 2rem 0;
}

.download-options > * {
    margin-bottom: 2rem;
}

.download-options > *:last-child {
    margin-bottom: 0;
}

.download-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.download-card:hover {
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.4), 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
    border-color: rgba(255, 215, 0, 0.6);
}

.download-card.primary {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 165, 0, 0.05) 100%);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.3);
}

.download-card h3 {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

.download-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.file-info {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 5px;
    color: #666;
    display: flex;
    font-size: 0.8rem;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: 0.5rem;
}

/* Download Buttons */
.btn-download {
    align-items: center;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #F7931E 100%);
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4), 0 4px 10px rgba(0, 0, 0, 0.1);
    color: white;
    display: inline-flex;
    font-weight: 600;
    padding: 1rem 2rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-download::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.btn-download:hover::before {
    left: 100%;
}

.btn-download:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.6), 0 6px 15px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #FFA500 0%, #FFD700 50%, #FFA500 100%);
}

.btn-download > * {
    margin-right: 0.5rem;
}

.btn-download > *:last-child {
    margin-right: 0;
}

.btn-download:hover {
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
}

.btn-download.secondary {
    background: #6c757d;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.btn-download.secondary:hover {
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

.download-icon {
    font-size: 1.2rem;
}

/* System Requirements */
.system-requirements {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 8px;
    margin-top: 2rem;
    padding: 1.5rem;
    text-align: center;
}

.system-requirements h4 {
    color: #1976d2;
    margin-bottom: 1rem;
}

.system-requirements ul {
    list-style: none;
    padding: 0;
}

.system-requirements li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.system-requirements li:before {
    color: #4caf50;
    content: "✓";
    left: 0;
    position: absolute;
}

.system-requirements.no-checkmarks li:before {
    display: none;
}

.instructions {
    background: #f1f8e9;
    border: 1px solid #c8e6c9;
    border-radius: 8px;
    margin-top: 2rem;
    padding: 1.5rem;
    text-align: center;
}

.instructions h4 {
    color: #388e3c;
    margin-bottom: 1rem;
}

.instructions div {
    margin-bottom: 1rem;
}

.installation-note {
    background: #fff8e1;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    margin: 2rem 0;
    padding: 1.5rem;
}

.installation-note h4 {
    color: #f57c00;
    margin-bottom: 0.5rem;
}

.installation-note p {
    color: #e65100;
    font-weight: 500;
}

.verification {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 2rem 0;
    padding: 3rem;
    text-align: center;
}

.verification h2 {
    color: #667eea;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.verification p {
    color: #666;
    margin-bottom: 2rem;
}

.checksum-info {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
}

.checksum-info h4 {
    color: #495057;
    margin-bottom: 1rem;
}

.checksum-list {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
}

.checksum-item {
    margin-bottom: 0.5rem;
}

.checksum-item:last-child {
    margin-bottom: 0;
}

.checksum-item strong {
    color: #495057;
    display: inline-block;
    min-width: 80px;
}

.checksum-item code {
    background: #e9ecef;
    border-radius: 4px;
    color: #495057;
    font-family: 'Courier New', monospace;
    padding: 0.2rem 0.4rem;
}

/* Buttons */
.btn-primary, .btn-secondary {
    border-radius: 8px;
    display: inline-block;
    font-weight: 600;
    padding: 1rem 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.get-started {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 2rem 0;
    padding: 3rem;
    text-align: center;
}

.get-started h2 {
    color: #667eea;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.next-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-top: 2rem;
}

.next-steps > * {
    margin-bottom: 3rem;
}

.next-steps > *:last-child {
    margin-bottom: 0;
}

.step {
    text-align: center;
}

.step-number {
    align-items: center;
    background: #667eea;
    border-radius: 50%;
    color: white;
    display: flex;
    font-size: 1.5rem;
    font-weight: bold;
    height: 60px;
    justify-content: center;
    margin: 0 auto 1rem;
    width: 60px;
}

.step h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.additional-links {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.additional-links > * {
    margin-right: 1rem;
}

.additional-links > *:last-child {
    margin-right: 0;
}

footer {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    margin-top: 4rem;
    padding: 2rem;
    text-align: center;
}

footer p {
    font-size: 1.2rem; /* Base size increased by 20% */
}

/* Large Tablets: 768px to 481px */
@media only screen and (min-width: 481px) and (max-width: 768px) {
    .main-content {
        padding: 1rem;
    }

    .hero h1 { 
        font-size: 2rem;
    }

    .hero-subtitle { 
        font-size: 0.95rem;
        white-space: nowrap;
        margin-bottom: 1.5rem;
    }

    .hero {
        padding: 1rem 0;
    }

    .download-tabs {
        margin: 1rem 0;
        border-radius: 12px;
    }

    .tab-navigation {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .tab-btn {
        font-size: 0.9rem;
        padding: 1.2rem 0.5rem;
        min-width: 0;
        flex: 1;
    }

    .tab-btn > * {
        margin-bottom: 0.4rem;
    }

    .tab-icon {
        font-size: 1.3rem;
    }

    .tab-content {
        padding: 2rem;
    }

    .os-info h2 {
        font-size: 1.8rem;
        margin-bottom: 0.4rem;
    }

    .os-info > p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .download-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .download-options > * {
        margin-bottom: 1.5rem;
    }

    .download-card {
        padding: 1.5rem;
    }

    .download-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    }

    .download-card.primary {
        background: linear-gradient(135deg, #f0f4ff 0%, #e8ecff 100%);
    }

    .download-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }

    .download-card p {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }

    .file-info {
        font-size: 0.75rem;
        padding: 0.4rem;
        margin-bottom: 1.2rem;
    }

    .btn-download {
        padding: 0.8rem 1.6rem;
    }

    .btn-download > * {
        margin-right: 0.4rem;
    }

    .btn-download:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(102, 126, 234, 0.25);
    }

    .btn-download.secondary {
        box-shadow: 0 4px 12px rgba(108, 117, 125, 0.25);
    }

    .btn-download.secondary:hover {
        box-shadow: 0 5px 15px rgba(108, 117, 125, 0.3);
    }

    .download-icon {
        font-size: 1.1rem;
    }

    .system-requirements {
        padding: 1.2rem;
        margin-top: 1.5rem;
    }

    .system-requirements h4 {
        margin-bottom: 0.8rem;
    }

    .system-requirements li {
        margin-bottom: 0.4rem;
        padding-left: 0.8rem;
    }

    .instructions {
        padding: 1.2rem;
        margin-top: 1.5rem;
    }

    .instructions h4 {
        margin-bottom: 0.8rem;
    }

    .installation-note {
        padding: 1.2rem;
        margin: 1.5rem 0;
    }

    .installation-note h4 {
        margin-bottom: 0.4rem;
    }

    .verification {
        padding: 2rem;
        margin: 1.5rem 0;
    }

    .verification h2 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .verification p {
        margin-bottom: 1.5rem;
    }

    .checksum-info {
        padding: 1.2rem;
    }

    .checksum-info h4 {
        margin-bottom: 0.8rem;
    }

    .checksum-list {
        padding: 1.2rem;
    }

    .checksum-item {
        margin-bottom: 0.4rem;
    }

    .checksum-item strong {
        min-width: 70px;
    }

    .checksum-item code {
        padding: 0.15rem 0.3rem;
        font-size: 0.9rem;
    }

    .btn-primary, .btn-secondary {
        padding: 0.8rem 1.6rem;
    }

    .btn-primary:hover {
        transform: translateY(-2px);
    }

    .btn-secondary:hover {
        transform: translateY(-2px);
    }

    .get-started {
        padding: 2rem;
        margin: 1.5rem 0;
    }

    .get-started h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .next-steps {
        gap: 1.5rem;
    }

    .next-steps > * {
        margin-bottom: 2rem;
    }

    .step-number {
        height: 50px;
        width: 50px;
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .step h4 {
        margin-bottom: 0.4rem;
    }

    .additional-links > * {
        margin-right: 0.8rem;
    }

    footer {
        margin-top: 3rem;
        padding: 1.5rem;
    }
    
    footer p {
        white-space: nowrap;
        font-size: 1.08rem; /* 0.9rem increased by 20% */
    }
}

/* Medium Phones: 480px to 361px */
@media only screen and (min-width: 361px) and (max-width: 480px) {
    .main-content {
        padding: 0.8rem;
    }

    .hero h1 { 
        font-size: 1.8rem;
    }

    .hero-subtitle { 
        font-size: 0.8rem;
        white-space: nowrap;
        margin-bottom: 1rem;
    }

    .hero {
        padding: 1rem 0 0.5rem 0;
    }

    .download-tabs {
        margin: 0.7rem 0;
        border-radius: 10px;
    }

    .tab-navigation {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 0.25rem;
    }

    .tab-btn {
        font-size: 0.8rem;
        padding: 0.9rem 0.4rem;
        min-width: 0;
        flex: 1;
    }

    .tab-btn > * {
        margin-bottom: 0.3rem;
    }

    .tab-icon {
        font-size: 1.2rem;
        margin-bottom: 0.2rem;
    }

    .tab-content {
        padding: 1.5rem;
    }

    .os-info h2 {
        font-size: 1.6rem;
        margin-bottom: 0.3rem;
    }

    .os-info > p {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
    }

    .download-options {
        gap: 1.2rem;
    }

    .download-options > * {
        margin-bottom: 1.2rem;
    }

    .download-card {
        padding: 1.2rem;
    }

    .download-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(0,0,0,0.06);
    }

    .download-card h3 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }

    .download-card p {
        font-size: 0.8rem;
        margin-bottom: 0.6rem;
    }

    .file-info {
        font-size: 0.7rem;
        padding: 0.3rem;
        margin-bottom: 1rem;
    }

    .btn-download {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .btn-download > * {
        margin-right: 0.3rem;
    }

    .btn-download:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
    }

    .btn-download.secondary {
        box-shadow: 0 3px 10px rgba(108, 117, 125, 0.2);
    }

    .btn-download.secondary:hover {
        box-shadow: 0 4px 12px rgba(108, 117, 125, 0.25);
    }

    .download-icon {
        font-size: 1rem;
    }

    .system-requirements,
    .instructions,
    .installation-note {
        padding: 1rem;
        margin-top: 1.2rem;
    }

    .checksum-info {
        padding: 1rem;
    }

    .checksum-item {
        margin-bottom: 0.3rem;
    }

    .checksum-item code {
        font-size: 0.8rem;
        padding: 0.1rem 0.2rem;
    }

    footer p {
        white-space: nowrap;
        font-size: 0.96rem; /* 0.8rem increased by 20% */
    }
}

/* Small Phones: 360px and below */
@media only screen and (max-width: 360px) {
    .main-content {
        padding: 0.6rem;
    }

    .hero h1 { 
        font-size: 1.6rem;
    }

    .hero-subtitle { 
        font-size: 0.75rem;
        white-space: nowrap;
        margin-bottom: 0.8rem;
    }

    .hero {
        padding: 0.8rem 0 0.3rem 0;
    }

    .download-tabs {
        margin: 0.5rem 0;
        border-radius: 8px;
    }

    .tab-navigation {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 0.15rem;
    }

    .tab-btn {
        font-size: 0.75rem;
        padding: 0.7rem 0.2rem;
        min-width: 0;
        flex: 1;
    }

    .tab-btn > * {
        margin-bottom: 0.2rem;
    }

    .tab-icon {
        font-size: 1.1rem;
        margin-bottom: 0.2rem;
    }

    .tab-content {
        padding: 1.2rem;
    }

    .os-info h2 {
        font-size: 1.4rem;
        margin-bottom: 0.2rem;
    }

    .os-info > p {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }

    .download-options {
        gap: 1rem;
    }

    .download-options > * {
        margin-bottom: 1rem;
    }

    .download-card {
        padding: 1rem;
    }

    .download-card:hover {
        transform: translateY(-1px);
        box-shadow: 0 5px 12px rgba(0,0,0,0.05);
    }

    .download-card h3 {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }

    .download-card p {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .file-info {
        font-size: 0.65rem;
        padding: 0.2rem;
        margin-bottom: 0.8rem;
    }

    .btn-download {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .btn-download > * {
        margin-right: 0.2rem;
    }

    .btn-download:hover {
        transform: translateY(-1px);
        box-shadow: 0 3px 10px rgba(102, 126, 234, 0.15);
    }

    .btn-download.secondary {
        box-shadow: 0 2px 8px rgba(108, 117, 125, 0.15);
    }

    .btn-download.secondary:hover {
        box-shadow: 0 3px 10px rgba(108, 117, 125, 0.2);
    }

    .download-icon {
        font-size: 0.9rem;
    }

    .system-requirements,
    .instructions,
    .installation-note {
        padding: 0.8rem;
        margin-top: 1rem;
    }

    .checksum-info {
        padding: 0.8rem;
    }

    .checksum-item {
        margin-bottom: 0.2rem;
    }

    .checksum-item code {
        font-size: 0.75rem;
        padding: 0.1rem 0.2rem;
    }

    footer p {
        white-space: nowrap;
        font-size: 0.9rem; /* 0.75rem increased by 20% */
    }
}


