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

html {
    background: linear-gradient(135deg, #5865F2 0%, #7289DA 50%, #99AAB5 100%);
    background-attachment: fixed;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #5865F2 0%, #7289DA 50%, #99AAB5 100%);
    background-attachment: fixed;
    color: #ffffff;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: -100px;
    left: 0;
    width: 100%;
    height: calc(100vh + 200px);
    background: linear-gradient(135deg, #5865F2 0%, #7289DA 50%, #99AAB5 100%);
    z-index: -1;
    pointer-events: none;
}

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

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(88, 101, 242, 0.15);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo::before {
    content: '🤖';
    margin-right: 8px;
    font-size: 28px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #ffd700;
    transform: translateY(-2px);
}

.login-btn {
    background: linear-gradient(45deg, #5865F2, #7289DA);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4);
    cursor: pointer;
    border: none;
    position: relative;
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(88, 101, 242, 0.6);
}

.discord-icon {
    width: 20px;
    height: 20px;
}

/* User Menu Styles */
.user-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 200px;
    z-index: 1001;
    padding: 10px 0;
    margin-top: 10px;
}

.user-menu .user-info {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.user-menu .user-name {
    color: #333;
    font-weight: 600;
}

.user-menu .user-stats {
    color: #666;
    font-size: 0.9rem;
}

.user-menu a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: background 0.2s;
}

.user-menu a:hover {
    background: rgba(88,101,242,0.1);
}

.user-menu .logout-btn {
    color: #e74c3c;
}

.user-menu .logout-btn:hover {
    background: rgba(231,76,60,0.1);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    z-index: 2;
    max-width: 600px;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(45deg, #5865F2, #7289DA);
    color: white;
    box-shadow: 0 8px 30px rgba(88, 101, 242, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

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

.btn-primary:hover {
    box-shadow: 0 12px 40px rgba(88, 101, 242, 0.6);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Floating Animation */
.hero::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    top: 20%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 20%;
    left: 10%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Features Section */
.features {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 60px;
    opacity: 0.85;
    color: rgba(255, 255, 255, 0.9);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffd700;
}

.feature-card p {
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.feature-list li::before {
    content: '✨';
    margin-right: 8px;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    z-index: 10000;
    font-weight: 500;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    color: white;
}

.notification.success {
    background: linear-gradient(45deg, #28a745, #20c997);
}

.notification.error {
    background: linear-gradient(45deg, #dc3545, #fd7e14);
}

.notification.info {
    background: linear-gradient(45deg, #5865F2, #7289DA);
}

.notification.show {
    transform: translateX(0);
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }

/* Support Section Styles */
.support-section {
    background: rgba(88, 101, 242, 0.1);
    padding: 80px 0;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.dev-story-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dev-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.dev-avatar {
    width: 60px;
    height: 60px;
    background: rgba(255, 215, 0, 0.2);
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.dev-details h3 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
    color: #ffd700;
}

.dev-details p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.dev-story-card h2 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.dev-story-card p {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.tip-goals {
    margin-top: 25px;
}

.tip-goals h4 {
    color: #ffd700;
    margin-bottom: 15px;
}

.goals-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 15px;
}

.goal-item {
    background: rgba(88, 101, 242, 0.2);
    border: 1px solid rgba(88, 101, 242, 0.3);
    padding: 12px 15px;
    border-radius: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.supporter-perks {
    margin-top: 25px;
}

.supporter-perks h4 {
    color: #ffd700;
    margin-bottom: 15px;
}

.perks-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.perk {
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.4);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Tip Methods */
.tip-methods {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tip-methods h3 {
    color: #ffd700;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.tip-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

.tip-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
}

.tip-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.tip-btn.paypal:hover {
    border-color: #0070ba;
    box-shadow: 0 10px 30px rgba(0,112,186,0.3);
}

.tip-btn.crypto:hover {
    border-color: #f7931a;
    box-shadow: 0 10px 30px rgba(247,147,26,0.3);
}

.tip-icon {
    font-size: 2rem;
    width: 60px;
    text-align: center;
}

.tip-info {
    flex: 1;
}

.tip-method {
    font-weight: 600;
    font-size: 1.1rem;
}

.tip-desc {
    opacity: 0.8;
    font-size: 0.9rem;
}

.tip-arrow {
    font-size: 1.2rem;
    opacity: 0.7;
}

.gratitude-note {
    background: rgba(88, 101, 242, 0.2);
    border: 1px solid rgba(88, 101, 242, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin-top: 25px;
    text-align: center;
}

.gratitude-note p {
    margin: 0;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

/* Bitcoin Modal Styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(135deg, #5865F2, #7289DA);
    padding: 30px;
    border-radius: 20px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.close {
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    margin-top: -10px;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s;
}

.close:hover {
    color: white;
}

.modal-content h3 {
    color: #ffd700;
    margin-bottom: 15px;
}

.crypto-address {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.crypto-address input {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    color: white;
    font-family: monospace;
    font-size: 0.9rem;
}

.crypto-address input::placeholder {
    color: rgba(255,255,255,0.6);
}

.copy-btn {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 10px 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.copy-btn:hover {
    background: rgba(255,255,255,0.3);
}

.qr-note {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 15px;
    margin: 20px 0;
    border: 1px solid rgba(255,255,255,0.2);
}

.qr-note p {
    margin: 5px 0;
}

.qr-note em {
    font-weight: 600;
    color: #ffd700;
}

.qr-note small {
    opacity: 0.8;
}

/* Responsive Design for Support Section */
@media (max-width: 768px) {
    .support-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .goals-grid {
        grid-template-columns: 1fr;
    }

    .support-section {
        padding: 60px 0;
    }

    .tip-buttons {
        gap: 12px;
    }

    .tip-btn {
        padding: 15px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

    .hero-buttons {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 30px;
    }

    .section-title {
        font-size: 2rem;
    }
}