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

:root {
    --primary-color: #00d4ff;
    --secondary-color: #ff6b35;
    --accent-color: #ffd700;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --card-bg: #1a1a2e;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    --gradient-secondary: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    --gradient-accent: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.3);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

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

/* Loading Screen removed for better UX */

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 1.5rem;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
}

.nav-logo i {
    margin-right: 10px;
    font-size: 1.8rem;
}

.nav-logo img {
    height: 40px;
    width: 40px;
    object-fit: cover;
    border-radius: 50%;
    border: none;
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Cart Icon */
.cart-icon {
    position: relative;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 50%;
    background: transparent;
}

.cart-icon:hover {
    color: var(--primary-color);
    background: rgba(0, 212, 255, 0.1);
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-color);
    color: var(--dark-bg);
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* User Menu */
.user-menu {
    position: relative;
    display: none; /* Will be overridden by JavaScript when user is logged in */
}

.user-menu.show {
    display: flex;
}

.user-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.user-btn span {
    font-size: 0.95rem;
    font-weight: 600;
}

.user-btn:has(span) {
    border-radius: 20px;
    padding: 8px 15px;
}

.user-btn:hover {
    color: var(--primary-color);
    background: rgba(0, 212, 255, 0.1);
    transform: scale(1.05);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.5rem 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: background 0.3s ease;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
}

/* Profile and Orders Modal Styles */
.profile-content,
.orders-content {
    padding: 1rem 0;
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.profile-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.profile-field label {
    font-weight: 600;
    color: var(--accent-color);
}

.profile-field span {
    color: var(--text-primary);
}

.profile-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.order-id {
    font-weight: 600;
    color: var(--accent-color);
}

.order-status {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.order-status.pending {
    background: #ffa500;
    color: #000;
}

.order-status.completed {
    background: #4CAF50;
    color: #fff;
}

.order-status.cancelled {
    background: #f44336;
    color: #fff;
}

.order-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.order-total {
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.order-items {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.order-item-detail {
    display: flex;
    justify-content: space-between;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.order-item-detail:last-child {
    border-bottom: none;
}

.no-orders {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    padding: 2rem;
}

.login-btn {
    background: var(--accent-color);
    color: #000000;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-weight: 600;
}

.login-btn:hover {
    background: #e6c200;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
}

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

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

.nav-link:hover {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section - Modern Portfolio Style */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

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

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
}

.title-line {
    display: block;
    background: linear-gradient(135deg, #ffffff 0%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleSlide 1s ease-out;
    text-shadow: 0 0 40px rgba(102, 126, 234, 0.3);
}

.title-line:nth-child(2) {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleSlide 1s ease-out 0.2s both;
    text-shadow: 0 0 40px rgba(255, 107, 107, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.4s both;
    text-align: center;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.6s both;
    justify-content: center;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 900;
    color: #667eea;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 30px rgba(102, 126, 234, 0.6);
    filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.4));
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease-out 0.8s both;
    justify-content: center;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--text-primary);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.6);
    filter: brightness(1.1);
}

.btn-secondary {
    background: rgba(102, 126, 234, 0.1);
    color: var(--text-primary);
    border: 2px solid rgba(102, 126, 234, 0.5);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.btn-icon {
    width: 45px;
    height: 45px;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-icon:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

/* Floating Card - Modern Glassmorphism */
.floating-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: float 6s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.floating-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

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

.card-image {
    margin-bottom: 1.5rem;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    height: 180px;
}

.card-image img {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
    border-radius: 15px;
    object-fit: cover;
}

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

.card-info h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-info p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.card-code {
    background: rgba(102, 126, 234, 0.15);
    border: 1px solid rgba(102, 126, 234, 0.5);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    color: #667eea;
    display: inline-block;
    word-break: break-all;
    max-width: 100%;
    transition: all 0.3s ease;
}

.card-code:hover {
    background: rgba(102, 126, 234, 0.25);
    border-color: #667eea;
    transform: translateY(-2px);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section - Modern Portfolio Style */
.about {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

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

.about-text h3 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.3));
}

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

.skills {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-name {
    font-weight: 600;
    color: var(--text-primary);
}

.skill-bar {
    height: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 50px;
    animation: skillFill 2s ease-out;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
    position: relative;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

.creator-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.creator-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.creator-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    border-color: rgba(102, 126, 234, 0.3);
}

.creator-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 3rem;
    color: var(--text-primary);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.creator-card:hover .creator-avatar {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.7);
}

.creator-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.creator-info h4 {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.creator-info p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.creator-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.creator-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
}

.creator-stat:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
}

.creator-stat i {
    color: #667eea;
    font-size: 1rem;
}

/* Maps Section */
.maps {
    padding: 100px 0;
    background: var(--dark-bg);
}

.maps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.map-card {
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.map-card.featured {
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.map-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.map-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 0 0 20px 20px;
}

.map-card:hover .map-image img {
    transform: scale(1.1);
}

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

/* Placeholder Image Styles */
.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 50%, #CD853F 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.placeholder-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="sand" patternUnits="userSpaceOnUse" width="20" height="20"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23sand)"/></svg>');
    opacity: 0.3;
}

.placeholder-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
}

.placeholder-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.placeholder-content h4 {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.placeholder-content p {
    font-size: 0.9rem;
    opacity: 0.8;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.map-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.map-badge {
    background: var(--gradient-primary);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.map-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.map-content h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.map-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.map-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.tag.difficulty {
    background: var(--gradient-secondary);
    color: var(--text-primary);
}

.map-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.map-code {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    padding: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    color: var(--primary-color);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: var(--primary-color);
    color: var(--text-primary);
}

.map-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: auto;
}

/* Ensure equal bottom alignment for map cards on desktop */
@media (min-width: 992px) {
  .maps-grid { align-items: stretch; }
  .map-card { display: flex; flex-direction: column; height: 100%; }
  .map-content { display: flex; flex-direction: column; flex: 1; }

  /* Clamp description to fixed number of lines to avoid varying heights */
  .map-content p {
    display: -webkit-box;
    -webkit-line-clamp: 4;           /* adjust to 3–5 if needed */
    line-clamp: 4;                   /* standard property */
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.6em * 4);     /* keep visual height consistent */
  }

  /* Prevent tag overflow from pushing content unevenly */
  .map-tags {
    max-height: 2.2rem;              /* roughly one line */
    overflow: hidden;
  }

  .map-meta { min-height: 1.4rem; }
  .map-actions { margin-top: auto; }
}

.no-products {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.no-products i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

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

.shop-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-color);
    color: var(--dark-bg);
    border-color: var(--accent-color);
}

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

.product-card {
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

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

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-content {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.product-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.product-actions {
    display: flex;
    gap: 1rem;
}

.add-to-cart-btn {
    flex: 1;
    background: var(--accent-color);
    color: var(--dark-bg);
    border: none;
    padding: 0.8rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    background: #e6c200;
    transform: translateY(-2px);
}

.view-details-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.8rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-details-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Cart Modal */
.cart-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.cart-modal.active {
    display: flex;
}

.cart-content {
    background: var(--card-bg);
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Custom scrollbar for cart */
.cart-content::-webkit-scrollbar {
    width: 8px;
}

.cart-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.cart-content::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 10px;
}

.cart-content::-webkit-scrollbar-thumb:hover {
    background: #e6c200;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-header h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.close-cart {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-cart:hover {
    color: var(--text-primary);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    min-height: 100px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.cart-item-price {
    color: var(--accent-color);
    font-weight: 600;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-primary);
    width: 30px;
    height: 30px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.quantity-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.quantity-display {
    color: var(--text-primary);
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.remove-item {
    background: #ff4757;
    border: none;
    color: white;
    padding: 0.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.remove-item:hover {
    background: #ff3742;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--card-bg);
    position: sticky;
    bottom: 0;
    z-index: 10;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.total-amount {
    color: var(--accent-color);
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    background: var(--accent-color);
    color: #000000;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.checkout-btn:hover {
    background: #e6c200;
}

/* PayPal Button Container */
#paypal-button-container {
    margin-top: 1rem;
}

/* PayPal Modal Overlay Styling - Light background for payment form */
.zoid-outlet,
.zoid-component-frame,
.zoid-component-container {
    background: rgba(255, 255, 255, 0.98) !important;
}

/* PayPal Overlay Background */
.zoid-overlay {
    background: rgba(0, 0, 0, 0.85) !important;
}

/* PayPal Iframe Container - White background */
iframe[name*="__paypal"],
iframe[name*="__zoid__"],
iframe[title*="PayPal"] {
    background: #ffffff !important;
    border-radius: 10px !important;
}

/* PayPal Close Button - Make it visible with yellow accent */
.zoid-close {
    color: #000000 !important;
    background: var(--accent-color) !important;
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 28px !important;
    font-weight: bold !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.zoid-close:hover {
    background: #e6c200 !important;
    transform: scale(1.1) !important;
}

/* PayPal Modal Content - Ensure light background */
.paypal-checkout-sandbox,
.paypal-checkout-iframe {
    background: #ffffff !important;
}

/* Additional PayPal overlay fixes */
div[data-uid*="paypal"] {
    background: rgba(255, 255, 255, 0.98) !important;
}

/* Login Modal */
.login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.login-modal.active {
    display: flex;
}

.login-content {
    background: var(--card-bg);
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    padding: 2rem;
    box-shadow: var(--shadow-card);
}

.login-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.login-header h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.close-login {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-login:hover {
    color: var(--text-primary);
}

.login-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tab-btn {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.tab-btn.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.login-form,
.register-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login-form.hidden,
.register-form.hidden {
    display: none;
}

.forgot-password-link {
    text-align: right;
    margin-top: -0.5rem;
    margin-bottom: 0.5rem;
}

.forgot-password-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.forgot-password-link a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.contact {
    padding: 100px 0;
    background: var(--darker-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

/* When only the form remains, center it */
.contact-content.single {
    display: flex;                 /* override grid */
    justify-content: center;
    gap: 2rem;
}

.contact-content.single .contact-form {
    max-width: 700px;              /* centered width */
    width: 100%;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-secondary);
}

.contact-form {
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Center the submit button in contact form */
.contact-form form { display: flex; flex-direction: column; }
.contact-form .btn.btn-primary { align-self: center; }

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: var(--darker-bg);
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 1.5rem;
    color: #ffffff;
}

.footer-logo i {
    margin-right: 10px;
    font-size: 1.8rem;
}

.footer-logo img {
    height: 30px;
    width: 30px;
    object-fit: cover;
    border-radius: 50%;
    border: none;
    margin-right: 10px;
}

.footer p {
    color: var(--text-secondary);
}

.footer-social {
    color: var(--text-secondary);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@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); }
}

/* Loading animation removed */

@keyframes titleSlide {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

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

@keyframes skillFill {
    from { width: 0%; }
    to { width: var(--width); }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(20px);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .nav-logo {
        font-size: 1.2rem;
    }

    .nav-logo i {
        font-size: 1.4rem;
    }

    .nav-logo img {
        height: 32px;
        width: 32px;
    }

    .floating-card {
        padding: 1rem;
        max-width: 100%;
    }

    .card-image {
        height: 150px;
    }

    .card-code {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }

    .hero-visual {
        max-width: 100%;
    }

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

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

    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 0 15px;
    }

    .hero-content {
        padding: 0 15px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .shop-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .filter-btn {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }

    .map-code {
        padding: 0.6rem;
        font-size: 0.85rem;
    }

    .map-code span {
        word-break: break-all;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    /* Profile and Orders Page Responsive */
    .user-profile-section,
    .orders-section {
        padding: 2rem 0;
    }
    
    .profile-header h1,
    .orders-header h1 {
        font-size: 2rem;
    }
    
    .profile-content,
    .orders-content {
        margin: 0 1rem;
        padding: 1.5rem;
    }
    
    .profile-field {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .order-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .product-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .product-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .profile-actions,
    .orders-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .nav-logo {
        font-size: 1rem;
    }

    .nav-logo i {
        font-size: 1.2rem;
        margin-right: 5px;
    }

    .nav-logo img {
        height: 28px;
        width: 28px;
    }

    .floating-card {
        padding: 0.75rem;
    }

    .card-image {
        height: 120px;
    }

    .card-info h3 {
        font-size: 1.2rem;
    }

    .card-code {
        font-size: 0.8rem;
        padding: 0.35rem 0.6rem;
    }

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

    .about-text h3 {
        font-size: 1.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .container {
        padding: 0 10px;
    }

    .nav-container {
        padding: 0 10px;
    }

    .hero-content {
        padding: 0 10px;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .profile-header h1,
    .orders-header h1 {
        font-size: 1.6rem;
    }

    .shop-grid {
        gap: 1rem;
    }

    .filter-btn {
        padding: 0.35rem 0.8rem;
        font-size: 0.8rem;
    }

    .map-code {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
} 

/* User Profile and Orders Page Styles */
.user-profile-section,
.orders-section {
    min-height: 80vh;
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.profile-header,
.orders-header {
    text-align: center;
    margin-bottom: 3rem;
}

.profile-header h1,
.orders-header h1 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-family: 'Orbitron', sans-serif;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.profile-header p,
.orders-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.profile-content,
.orders-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.loading-spinner {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.loading-spinner i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.error-message {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.error-message i {
    font-size: 3rem;
    color: #f44336;
    margin-bottom: 1rem;
}

.error-message h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.profile-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-field label {
    font-weight: 600;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-field span {
    color: var(--text-color);
}

.role-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.role-badge.admin {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.role-badge.user {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
}

.profile-actions,
.orders-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Orders Specific Styles */
.no-orders {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.no-orders i {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.no-orders h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.order-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.order-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.order-info h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-family: 'Orbitron', sans-serif;
}

.order-date,
.order-total {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.completed {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
}

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

.status-badge.cancelled {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
}

.order-products h4 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.product-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    gap: 1rem;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
    min-width: 0;
}

.product-name {
    font-weight: 600;
    color: var(--text-color);
    word-break: break-word;
}

.product-quantity,
.product-price {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.product-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.download-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: slideInRight 0.3s ease;
}

.notification.success {
    background: #4caf50;
}

.notification.error {
    background: #f44336;
}

.notification.info {
    background: #2196f3;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Product Details Modal */
.product-details-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.product-details-modal.active {
    opacity: 1;
    visibility: visible;
}

.product-details-content {
    background: var(--card-bg);
    border-radius: 20px;
    max-width: 90%;
    max-height: 90%;
    width: 100%;
    overflow-y: auto;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-details-modal.active .product-details-content {
    transform: scale(1);
}

.product-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    background: var(--card-bg);
    z-index: 10;
}

.product-details-header h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0;
}

.close-product-details {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-product-details:hover {
    color: var(--primary-color);
    background: rgba(0, 212, 255, 0.1);
    transform: rotate(90deg);
}

.product-details-body {
    padding: 2rem;
}

/* Product Gallery */
.product-gallery {
    margin-bottom: 2rem;
}

.gallery-main {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1rem;
    background: var(--darker-bg);
    aspect-ratio: 16/9;
}

.gallery-main img,
.gallery-main video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-main:hover img,
.gallery-main:hover video {
    transform: scale(1.05);
}

.gallery-thumbnails {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.5rem 0;
}

.gallery-thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.gallery-thumbnail.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.gallery-thumbnail img,
.gallery-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbnail:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.gallery-thumbnail .media-type {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
}

/* Product Info */
.product-info {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    margin-bottom: 2rem;
}

.product-info-main h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-info-main .product-category {
    display: inline-block;
    background: var(--gradient-secondary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-info-main .product-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.product-features {
    margin-bottom: 1.5rem;
}

.product-features h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Product Sidebar */
.product-sidebar {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: fit-content;
}

.product-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.product-actions-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.add-to-cart-btn-details {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.add-to-cart-btn-details:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.product-notice {
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.product-notice h5 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.product-notice p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.product-notice .notice-icon {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

/* Product Details */
.product-details-section {
    margin-bottom: 2rem;
}

.product-details-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.product-details-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-details-content {
        max-width: 100%;
        max-height: 100%;
        margin: 0;
        border-radius: 0;
        height: 100vh;
    }
    
    .product-details-header {
        padding: 1rem;
    }
    
    .product-details-header h3 {
        font-size: 1.2rem;
        line-height: 1.3;
        word-break: break-word;
    }
    
    .close-product-details {
        font-size: 1.5rem;
        padding: 0.25rem;
    }
    
    .product-details-body {
        padding: 1rem;
    }
    
    .product-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .product-info-main h2 {
        font-size: 1.5rem;
        line-height: 1.3;
        word-break: break-word;
    }
    
    .product-info-main .product-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .product-features h4 {
        font-size: 1.1rem;
    }
    
    .features-list li {
        font-size: 0.9rem;
        padding: 0.4rem 0 0.4rem 1.5rem;
    }
    
    .product-sidebar {
        padding: 1rem;
    }
    
    .product-price {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .add-to-cart-btn-details {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .product-notice {
        padding: 0.875rem;
    }
    
    .product-notice h5 {
        font-size: 0.95rem;
    }
    
    .product-notice p {
        font-size: 0.85rem;
    }
    
    .product-details-section h4 {
        font-size: 1.1rem;
    }
    
    .product-details-section p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .gallery-main {
        aspect-ratio: 16/9;
        margin-bottom: 0.75rem;
    }
    
    .gallery-thumbnails {
        gap: 0.5rem;
        padding: 0.25rem 0;
    }
    
    .gallery-thumbnail {
        width: 60px;
        height: 45px;
    }
    
    .cart-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .cart-header {
        padding: 1rem;
    }
    
    .cart-items {
        padding: 0.5rem;
    }
    
    .cart-footer {
        padding: 1rem;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
    .product-details-header h3 {
        font-size: 1rem;
    }
    
    .product-info-main h2 {
        font-size: 1.3rem;
    }
    
    .product-price {
        font-size: 1.75rem;
    }
    
    .add-to-cart-btn-details {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
    
    .product-info-main .product-description {
        font-size: 0.9rem;
    }
    
    .features-list li {
        font-size: 0.85rem;
    }
    
    .product-details-section p {
        font-size: 0.85rem;
    }
    
    .gallery-thumbnail {
        width: 50px;
        height: 38px;
    }
}

/* Tablet Optimization (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 95%;
    }
    
    .maps-grid,
    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .product-details-content {
        max-width: 90%;
    }
    
    .product-info {
        grid-template-columns: 1fr;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
}

/* Large Screens (1440px+) */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
    
    .maps-grid,
    .shop-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}