/* Main Styles for NEONpulseTechshop */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&family=Share+Tech+Mono&display=swap');
@import 'crt.css';
@import 'cart.css';
@import 'back-to-top.css';

/* Admin Link in Footer */
.admin-link {
    color: #3a3a3a;
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    font-size: 0.85em;
    margin-left: 10px;
}

.admin-link:hover {
    opacity: 1;
    color: #ffffff;
}

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

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Share Tech Mono', monospace;
    margin-bottom: 1rem;
}

section {
    padding: 60px 0;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    text-shadow: 0 0 8px var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    background-color: transparent;
    color: var(--primary-color);
    text-transform: uppercase;
    font-family: 'Share Tech Mono', monospace;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 255, 65, 0.1);
    transition: all 0.3s ease;
    z-index: -1;
}

.btn:hover, .btn:focus {
    color: white;
    box-shadow: 0 0 15px var(--primary-color);
    outline: none;
}

.btn:hover:before, .btn:focus:before {
    left: 0;
}

.btn-alt {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn-alt:before {
    background: rgba(255, 0, 255, 0.1);
}

.btn-alt:hover, .btn-alt:focus {
    box-shadow: 0 0 15px var(--secondary-color);
    outline: none;
}

/* Header Styles */
header {
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(12, 12, 12, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 65, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5px;
}

.logo {
    font-family: 'Share Tech Mono', monospace;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: baseline;
}

.logo-neon {
    color: var(--secondary-color);
    font-size: 2rem;
    text-shadow: 
        0 0 5px var(--secondary-color),
        0 0 10px var(--secondary-color),
        0 0 20px var(--secondary-color),
        0 0 40px var(--secondary-color);
    letter-spacing: 0.5px;
}

.logo-neon span {
    animation: neon-pulse 2s infinite alternate;
}

.logo-tech {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-left: 3px;
    text-shadow: 
        0 0 5px var(--primary-color),
        0 0 10px var(--primary-color);
}

@keyframes neon-pulse {
    from {
        text-shadow: 
            0 0 5px var(--secondary-color),
            0 0 10px var(--secondary-color),
            0 0 20px var(--secondary-color);
    }
    to {
        text-shadow: 
            0 0 7px var(--secondary-color),
            0 0 14px var(--secondary-color),
            0 0 28px var(--secondary-color),
            0 0 42px var(--secondary-color);
    }
}

.logo a:hover .logo-neon {
    text-shadow: 
        0 0 7px var(--secondary-color),
        0 0 14px var(--secondary-color),
        0 0 28px var(--secondary-color),
        0 0 42px var(--secondary-color);
}

.logo a:hover .logo-tech {
    text-shadow: 
        0 0 7px var(--primary-color),
        0 0 14px var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    justify-content: flex-end;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    position: relative;
    padding: 5px 0;
    text-align: center;
    line-height: 1.3;
    display: inline-block;
    width: auto;
}

nav a span {
    display: block;
    font-size: 0.9rem;
}

nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    box-shadow: 0 0 8px 2px var(--primary-color);
    transition: width 0.3s ease;
}

nav a:hover, nav a:focus {
    color: var(--primary-color);
    text-shadow: 0 0 5px var(--primary-color);
    outline: none;
}

nav a:hover:after, nav a:focus:after {
    width: 100%;
}

.cart-icon a {
    padding-top: 10px;
    font-size: 1.4rem !important;
}

.mobile-menu-btn {
    display: none;
}

nav ul.show {
    display: block;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--dark-accent);
    border-bottom: 1px solid var(--primary-color);
    padding: 20px;
    z-index: 100;
}

/* Hero Section */
.hero {
    height: auto;
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: var(--background-color);
}

.hero-content {
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* How It Works Section */
.how-it-works {
    background-color: var(--dark-accent);
    padding: 80px 0;
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.steps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.step {
    flex: 1;
    text-align: center;
    padding: 30px;
    background-color: var(--light-accent);
    position: relative;
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-10px);
}

.step-number {
    font-size: 5rem;
    font-weight: bold;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: 'Share Tech Mono', monospace;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* Pixel Art Icons */
.pixel-icon {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pixel-art-icon {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 0 8px rgba(0, 255, 65, 0.6));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.step:hover .pixel-art-icon {
    transform: scale(1.05);
    filter: drop-shadow(0 0 12px rgba(0, 255, 65, 0.8));
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Services Section */
.services {
    padding: 80px 0;
}

.services h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--light-accent);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:hover:before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 20px;
}

/* Footer */
footer {
    background-color: var(--dark-accent);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(0, 255, 65, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-color);
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: var(--light-accent);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.social-links a:hover, .social-links a:focus {
    background-color: var(--primary-color);
    color: var(--background-color);
    outline: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Animation classes */
.animated {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .steps, .services-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 10px;
    }
    
    nav ul {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
        font-size: 1.5rem;
        color: var(--primary-color);
        cursor: pointer;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .steps {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}