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

body {
    font-family: 'Inter', sans-serif;
    background-color: #FFFFFF;
    color: #333333;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 100px; /* Account for fixed header */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header/Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(230, 180, 41, 0.3);
    z-index: 100;
    padding: 20px 0;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #E6B429;
}

/* Social Links */
.social-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #E6B429 0%, #d4a017 100%);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 180, 41, 0.3);
}

.social-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 180, 41, 0.4);
}

.social-icon {
    font-size: 1.2rem;
    color: #0B0B0F;
    font-weight: 600;
}

/* Featured Coins Section */
.featured-coins {
    padding: 40px 0 40px;
    background: 
        linear-gradient(rgba(255, 255, 255, 0.85), rgba(248, 249, 250, 0.85)),
        url('Rocket Banner.jpeg') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.featured-coins::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(246, 201, 69, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.featured-coins .container {
    position: relative;
    z-index: 2;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #E6B429 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.coins-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto 30px;
    align-items: end;
}

.coin-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(230, 180, 41, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.coin-card:nth-child(2) {
    transform: translateY(-30px);
}

.coin-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(246, 201, 69, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.coin-card:hover {
    transform: translateY(-10px);
    border-color: rgba(230, 180, 41, 0.5);
    box-shadow: 0 20px 60px rgba(246, 201, 69, 0.2);
}

.coin-card:nth-child(2):hover {
    transform: translateY(-40px);
}

.coin-card:hover::before {
    opacity: 1;
}

.coin-card a {
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    z-index: 2;
}

.coin-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

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

.coin-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #E6B429;
    text-align: center;
    margin: 0;
    text-transform: capitalize;
}

.cta-section {
    text-align: center;
    margin-top: 40px;
}

.large-cta-button {
    background: linear-gradient(135deg, #E6B429 0%, #d4a017 100%);
    color: #0B0B0F;
    border: none;
    padding: 20px 60px;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 15px 40px rgba(230, 180, 41, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 auto;
}

.button-logo {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.large-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(230, 180, 41, 0.4);
}

/* Main Content */
.main-content {
    padding: 80px 0;
    background: #F8F9FA;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(230, 180, 41, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.card h2, .card h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: #E6B429;
    margin-bottom: 30px;
}

/* Form Styles */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #666;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: #F8F9FA;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    color: #333;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #E6B429;
    background: #FFFFFF;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* File Upload */
.file-upload {
    position: relative;
}

.file-upload input[type="file"] {
    padding: 20px;
    border: 2px dashed #E0E0E0;
    background: #F8F9FA;
    cursor: pointer;
    color: #666;
}

.file-upload input[type="file"]:focus {
    border-color: #E6B429;
}

.file-preview {
    margin-top: 10px;
    text-align: center;
}

.file-preview img {
    max-width: 100px;
    max-height: 100px;
    border-radius: 10px;
}

/* Slider */
.slider-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.slider-container input[type="range"] {
    flex: 1;
    height: 6px;
    background: #E0E0E0;
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}

.slider-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #E6B429;
    border-radius: 50%;
    cursor: pointer;
}

.slider-value {
    color: #E6B429;
    font-weight: 600;
    min-width: 80px;
}

/* Create Button */
.create-button {
    width: 100%;
    background: linear-gradient(135deg, #E6B429 0%, #d4a017 100%);
    color: #0B0B0F;
    border: none;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.create-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(230, 180, 41, 0.3);
}

/* Activity Table */
.activity-table {
    overflow-x: auto;
}

.activity-table table {
    width: 100%;
    border-collapse: collapse;
}

.activity-table th,
.activity-table td {
    padding: 12px 8px;
    text-align: left;
    border-bottom: 1px solid #E0E0E0;
}

.activity-table th {
    color: #E6B429;
    font-weight: 600;
    font-size: 0.9rem;
}

.activity-table td {
    color: #666;
    font-size: 0.85rem;
}

.status {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status.queued {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.status.processing {
    background: rgba(0, 123, 255, 0.2);
    color: #007bff;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.loading-overlay.active {
    display: flex;
}

.loading-content {
    text-align: center;
    max-width: 400px;
    padding: 40px;
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(230, 180, 41, 0.2);
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #E0E0E0;
    border-top: 4px solid #E6B429;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 30px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    color: #E6B429;
    margin-bottom: 30px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #E0E0E0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #E6B429 0%, #d4a017 100%);
    width: 0%;
    transition: width 0.3s ease;
}

.loading-status {
    color: #666;
    margin-bottom: 30px;
    font-style: italic;
}

.close-loading {
    background: transparent;
    color: #E6B429;
    border: 2px solid #E6B429;
    padding: 10px 30px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-loading:hover {
    background: #E6B429;
    color: #FFFFFF;
}

/* Footer */
.footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #E0E0E0;
    color: #666;
    background: #FFFFFF;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .header {
        padding: 12px 0;
    }
    
    .logo-img {
        width: 35px;
        height: 35px;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .social-button {
        width: 40px;
        height: 40px;
    }
    
    .social-icon {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .featured-coins {
        padding: 80px 0 60px;
    }
    
    .coins-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 50px;
    }
    
    .coin-card {
        padding: 25px;
    }
    
    .coin-card:nth-child(2) {
        transform: translateY(0);
    }
    
    .coin-card:nth-child(2):hover {
        transform: translateY(-10px);
    }
    
    .coin-image {
        height: 240px;
    }
    
    .large-cta-button {
        padding: 18px 50px;
        font-size: 1.1rem;
    }
    
    .cta-section {
        margin-top: 60px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .card {
        padding: 30px 20px;
    }
    
    .activity-table {
        font-size: 0.8rem;
    }
    
    .activity-table th,
    .activity-table td {
        padding: 8px 4px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 65px;
    }
    
    .header {
        padding: 10px 0;
    }
    
    .logo-img {
        width: 30px;
        height: 30px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .hero-headline {
        font-size: 2rem;
    }
    
    .logo {
        flex-direction: column;
        gap: 10px;
    }
    
    .rocket-logo {
        width: 50px;
        height: 50px;
    }
    
    .logo h1 {
        font-size: 1.8rem;
    }
}
