/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00f5d4;
    --secondary-color: #7b2cbf;
    --background-dark: #0a192f;
    --text-primary: #e6f1ff;
    --text-secondary: #8892b0;
    --accent-gradient: linear-gradient(45deg, #00f5d4, #7b2cbf);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    background-color: var(--background-dark);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Add subtle animated background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(123, 44, 191, 0.1), transparent 70%);
    z-index: -1;
    animation: pulse 10s ease-in-out infinite;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.header {
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.nav-links li {
    position: relative;
}

.nav-links li::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

.nav-links li:hover::after {
    width: 100%;
}

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

.nav-links a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 80px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.primary-btn {
    background: var(--accent-gradient);
    color: var(--text-primary);
    border: none;
}

.secondary-btn {
    background: var(--glass-bg);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    backdrop-filter: blur(5px);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 245, 212, 0.2);
}

/* Footer */
.footer {
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
    padding: 2rem 0;
    color: var(--text-secondary);
}

/* Material Design-inspired variables */
:root {
    --primary-color: #1976d2;
    --secondary-color: #424242;
    --text-color: #212121;
    --background-color: #ffffff;
    --spacing-unit: 8px;
}

/* Center flex utility class */
.center-flex {
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-center {
    text-align: center;
}

/* Material elevation */
.elevation-1 {
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: box-shadow 0.3s ease;
}

.elevation-1:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Button styles */
.btn {
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: var(--spacing-unit);
    transition: all 0.3s ease;
}

.primary-btn {
    background-color: var(--primary-color);
    color: white;
}

.secondary-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

/* Container responsiveness */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

/* Header adjustments */
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Hero Section adjustments */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero .container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* CTA buttons adjustment */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Footer adjustment */
.footer .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-btn {
    background-color: #007BFF;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.contact-btn:hover {
    background-color: #0056b3;
    text-decoration: none !important;
}

/* Animations */
@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 0.8; }
    100% { opacity: 0.5; }
}

.nft-gallery {
    padding: 6rem 0;
    background: rgba(10, 25, 47, 0.8);
    backdrop-filter: blur(10px);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nft-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

/* Media query for better mobile display */
@media (max-width: 600px) {
    .nft-grid {
        grid-template-columns: 1fr;
    }
    
    nft-card {
        width: 100% !important;
    }
}

.nft-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.nft-card:hover {
    transform: translateY(-5px);
}

.nft-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.nft-info {
    padding: 1.5rem;
}

.nft-info h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.nft-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* About Section */
.about-section {
    padding: 8rem 0;
    position: relative;
    background: var(--background-dark);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-content {
    padding-right: 2rem;
}

.about-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.highlight {
    color: var(--text-primary);
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
}

.focus-areas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.focus-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--glass-bg);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.focus-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.focus-icon {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.focus-label {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .focus-areas {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .focus-areas {
        grid-template-columns: 1fr;
    }
}

.about-image {
    position: relative;
    width: 100%;
    padding: 2rem;
}

.image-frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    width: 300px;  /* Set a fixed width */
    margin: 0 auto; /* Center the frame */
}

.image-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0 0 20px 10px var(--background-dark);
    z-index: 1;
    pointer-events: none;
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.image-frame:hover img {
    transform: scale(1.05);
}

/* Optional: Add a glow effect */
.image-frame::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: var(--accent-gradient);
    filter: blur(20px);
    opacity: 0.15;
    z-index: 2;
}

/* Responsive Design for About Section */
@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-content {
        padding-right: 0;
    }

    .focus-areas {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .focus-areas {
        grid-template-columns: 1fr;
    }

    .highlight {
        font-size: 1.2rem;
    }
}
