/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #000000, #1a1a1a);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(0, 0, 0, 0.95);
    padding: 20px 0;
    position: sticky;
    top: 0;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.3);
    z-index: 100;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-container {
    position: relative;
}

.logo-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    transition: all 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.8);
}

.logo-placeholder {
    width: 60px;
    height: 60px;
    border: 2px dashed #00d4ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #00d4ff;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.brand-text h1 {
    font-size: 2rem;
    color: #00d4ff;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    margin-bottom: 0;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 20px rgba(0, 212, 255, 0.5); }
    to { text-shadow: 0 0 30px rgba(0, 212, 255, 0.8); }
}

.social-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.buy-btn {
    background: #00d4ff !important;
    color: #000000 !important;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    display: inline-block;
    border: none;
    outline: none;
}

.buy-btn:hover {
    background: #ffffff !important;
    color: #000000 !important;
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.x-icon {
    font-size: 1.8rem;
    color: #00d4ff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.x-icon:hover {
    color: #ffffff;
    transform: scale(1.2) rotate(5deg);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 0, 0, 0.3));
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero h2 {
    font-size: 3rem;
    color: #00d4ff;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

/* Main Content */
.main-content {
    padding: 40px 0;
}

.section {
    margin-bottom: 60px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
}

.section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 212, 255, 0.2);
}

.section h2 {
    color: #00d4ff;
    font-size: 2.2rem;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

/* Car Collection */
.car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.car-card {
    background: rgba(0, 0, 0, 0.7);
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #00d4ff;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.4);
}

.car-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 212, 255, 0.6);
}

.car-card:focus {
    outline: none;
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 212, 255, 0.6);
}

.car-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.car-card:hover::before {
    left: 100%;
}

.car-image-container {
    position: relative;
    margin-bottom: 15px;
}

.car-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #00d4ff;
    transition: all 0.3s ease;
}

.car-image:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.car-placeholder {
    width: 100%;
    height: 200px;
    background: rgba(0, 212, 255, 0.1);
    border: 2px dashed #00d4ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #00d4ff;
}

.car-color {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #00d4ff;
}

/* Dominance App */
.dominance-app {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 0, 0, 0.3));
    padding: 40px;
    border-radius: 15px;
    border: 1px solid #00d4ff;
    text-align: center;
}

.token-input {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

.token-input input {
    padding: 15px;
    border: 2px solid #00d4ff;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    font-size: 16px;
    min-width: 300px;
    text-align: center;
}

.token-input input:focus {
    outline: none;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.token-input input::placeholder {
    color: #888;
}

.check-btn {
    background: #00d4ff;
    color: #000000;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.check-btn:hover {
    background: #ffffff;
    transform: scale(1.05);
}

.dominance-result {
    margin: 30px 0;
    padding: 30px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    border: 2px solid #00d4ff;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-placeholder {
    color: #888;
    font-style: italic;
}

.power-result {
    text-align: center;
    width: 100%;
}

.power-level {
    font-size: 2rem;
    font-weight: bold;
    color: #00d4ff;
    margin-bottom: 10px;
}

.power-description {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.power-score {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.power-tokens {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.power-perks {
    background: rgba(0, 212, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
}

.power-perks h4 {
    color: #00d4ff;
    margin-bottom: 10px;
}

.perk-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 12px;
    border-radius: 5px;
    margin: 5px 0;
    border: 1px solid #00d4ff;
    font-size: 0.9rem;
}

.dominance-info {
    background: rgba(0, 212, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #00d4ff;
    margin: 20px 0;
}

/* Token Info */
.token-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.info-card {
    background: rgba(0, 0, 0, 0.3);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid #00d4ff;
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2);
}

.info-card h3 {
    color: #00d4ff;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.info-card p {
    font-size: 1.1rem;
    font-weight: bold;
}

.info-card small {
    display: block;
    font-size: 0.9rem;
    color: #888;
    margin-top: 5px;
}

.contract-address {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid #00d4ff;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.copy-btn {
    background: #00d4ff;
    color: #000000;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: #ffffff;
    transform: scale(1.05);
}

.token-distribution-info {
    background: rgba(0, 212, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    text-align: center;
    font-size: 0.9rem;
    color: #ccc;
}

.token-distribution-info p {
    margin-bottom: 8px;
}

.token-distribution-info p:first-child {
    font-weight: bold;
    color: #00d4ff;
    margin-bottom: 12px;
    font-size: 1rem;
}

/* Gift Table */
.gift-table-container {
    overflow-x: auto;
    margin: 20px 0;
}

.gift-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

.gift-table th,
.gift-table td {
    padding: 15px;
    text-align: center;
    border: 1px solid #00d4ff;
}

.gift-table th {
    background: #00d4ff;
    color: #000000;
    font-weight: bold;
}

.gift-table tr:nth-child(even) {
    background: rgba(0, 212, 255, 0.1);
}

.gift-table tr:hover {
    background: rgba(0, 212, 255, 0.2);
}

.car-icon {
    font-size: 1.2rem;
    line-height: 1.2;
}

.gift-info {
    background: rgba(0, 212, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #00d4ff;
    margin-top: 20px;
    text-align: center;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #00d4ff;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(0, 212, 255, 0.1);
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #00d4ff;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    background: rgba(0, 212, 255, 0.05);
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 20px;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.9);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(0, 212, 255, 0.3);
    margin-top: 60px;
}

.footer-content {
    margin-bottom: 30px;
}

.footer-info h3 {
    color: #00d4ff;
    margin-bottom: 10px;
}

.footer-info p {
    color: #888;
}

.footer-info a {
    color: #00d4ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-info a:hover {
    color: #ffffff;
}

.disclaimer {
    max-width: 800px;
    margin: 0 auto;
    font-size: 0.9rem;
    color: #888;
    line-height: 1.6;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 2px solid #00d4ff;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 10px;
    font-weight: bold;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease-out;
}

.notification.success {
    background: #00ff00;
    color: #000;
}

.notification.error {
    background: #ff4444;
    color: #fff;
}

.notification.info {
    background: #00d4ff;
    color: #000;
}

/* Animations */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 20px;
    }
    
    .token-input {
        flex-direction: column;
        align-items: center;
    }
    
    .token-input input {
        min-width: 250px;
    }
    
    .contract-address {
        flex-direction: column;
        gap: 10px;
    }
    
    .car-grid {
        grid-template-columns: 1fr;
    }
    
    .token-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .brand-text h1 {
        font-size: 1.5rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .section h2 {
        font-size: 1.8rem;
    }
    
    .car-card {
        padding: 15px;
    }
    
    .dominance-app {
        padding: 20px;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #00d4ff;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ffffff;
}