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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #0a0a0a;
    scroll-behavior: smooth;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

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

.nav-logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

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

.nav-menu a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #ff6b6b;
    text-shadow: 0 0 10px rgba(255,107,107,0.5);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    animation: float 6s ease-in-out infinite;
}

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

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

.hero-content {
    color: white;
    animation: slideInLeft 1s ease-out;
}

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-link {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link:hover {
    background: #ff6b6b;
    border-color: #ff6b6b;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 20px rgba(255,107,107,0.3);
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-primary, .btn-secondary {
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: #ff6b6b;
    color: white;
    border: 2px solid #ff6b6b;
    box-shadow: 0 5px 15px rgba(255,107,107,0.3);
}

.btn-primary:hover {
    background: transparent;
    color: #ff6b6b;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,107,107,0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}

.clock, .location {
    margin: 1rem 0;
    font-size: 1.1rem;
    opacity: 0.9;
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.hero-image {
    text-align: center;
    animation: slideInRight 1s ease-out;
}

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

.hero-image img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.05) rotate(2deg);
}

/* About Section */
.about {
    padding: 100px 0;
    background: #fff;
    color: #333;
}

.about h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: #333;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: justify;
}

/* Skills Section */
.skills {
    padding: 100px 0;
    background: #f8f9fa;
}

.skills h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: #333;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.skill-item {
    background: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,107,107,0.1), transparent);
    transition: left 0.5s;
}

.skill-item:hover::before {
    left: 100%;
}

.skill-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.skill-item i {
    font-size: 4rem;
    color: #ff6b6b;
    margin-bottom: 1.5rem;
}

.skill-item h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
}

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

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    color: white;
}

.section-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    margin: 0 auto 1rem;
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* Enhanced Tools Section */
.tools {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.tools::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><polygon points="36,34 24,34 24,26 36,26"/></g></g></svg>') repeat;
    animation: movePattern 20s linear infinite;
}

@keyframes movePattern {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(60px) translateY(60px); }
}

.tools-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.tool-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.tool-card:hover::before {
    left: 100%;
}

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

.calculator-card {
    border-left: 5px solid #ff6b6b;
}

.weather-card {
    border-left: 5px solid #4ecdc4;
}

.converter-card {
    border-left: 5px solid #45b7d1;
}

.tool-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.calculator-card .tool-icon {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
}

.weather-card .tool-icon {
    background: linear-gradient(135deg, #4ecdc4, #26d0ce);
    color: white;
}

.converter-card .tool-icon {
    background: linear-gradient(135deg, #45b7d1, #2d98da);
    color: white;
}

.tool-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.tool-content p {
    color: #7f8c8d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Enhanced Calculator */
.calculator-widget {
    background: #2c3e50;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.3);
}

.calc-screen {
    margin-bottom: 1rem;
}

.calc-display {
    width: 100%;
    padding: 1rem;
    font-size: 2rem;
    background: #34495e;
    border: none;
    border-radius: 8px;
    color: #ecf0f1;
    text-align: right;
    font-family: 'Courier New', monospace;
}

.calc-keypad {
    display: grid;
    gap: 0.5rem;
}

.calc-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.calc-row:last-child {
    grid-template-columns: 2fr 1fr 1fr;
}

.calc-btn {
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calc-btn.number {
    background: #ecf0f1;
    color: #2c3e50;
}

.calc-btn.number:hover {
    background: #bdc3c7;
    transform: scale(0.95);
}

.calc-btn.operator {
    background: #e74c3c;
    color: white;
}

.calc-btn.operator:hover {
    background: #c0392b;
    transform: scale(0.95);
}

.calc-btn.function {
    background: #f39c12;
    color: white;
}

.calc-btn.function:hover {
    background: #e67e22;
    transform: scale(0.95);
}

.calc-btn.equals {
    background: #27ae60;
    color: white;
    grid-row: span 2;
}

.calc-btn.equals:hover {
    background: #229954;
    transform: scale(0.95);
}

/* Enhanced Weather Widget */
.weather-widget {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    border-radius: 15px;
    padding: 1.5rem;
    color: white;
}

.weather-search {
    margin-bottom: 1.5rem;
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 0.5rem 1rem;
    backdrop-filter: blur(10px);
}

.search-box i {
    color: rgba(255, 255, 255, 0.8);
    margin-right: 0.5rem;
}

.search-box input {
    flex: 1;
    border: none;
    background: transparent;
    color: white;
    font-size: 1rem;
    outline: none;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-btn {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

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

.weather-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.weather-icon i {
    font-size: 4rem;
    color: #f39c12;
    text-shadow: 0 0 20px rgba(243, 156, 18, 0.5);
}

.temperature {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.condition {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.location {
    font-size: 1rem;
    opacity: 0.8;
}

.weather-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.detail-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(5px);
}

.detail-item i {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #f39c12;
}

/* Unit Converter */
.converter-widget {
    background: #34495e;
    border-radius: 15px;
    padding: 1.5rem;
    color: white;
}

.conversion-type {
    margin-bottom: 1.5rem;
}

.conversion-type select {
    width: 100%;
    padding: 0.8rem;
    border-radius: 8px;
    border: none;
    background: #2c3e50;
    color: white;
    font-size: 1rem;
}

.conversion-inputs {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
}

.input-group {
    display: flex;
    gap: 0.5rem;
}

.input-group input {
    flex: 1;
    padding: 0.8rem;
    border-radius: 8px;
    border: none;
    background: #2c3e50;
    color: white;
    font-size: 1rem;
}

.input-group select {
    padding: 0.8rem;
    border-radius: 8px;
    border: none;
    background: #2c3e50;
    color: white;
    font-size: 0.9rem;
}

.converter-icon {
    color: #3498db;
    font-size: 1.5rem;
}

/* Enhanced Games Section */
.games {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    position: relative;
    padding: 100px 0;
}

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

.game-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.game-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
}

.game-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.game-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.game-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-box:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #f39c12;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.game-area-container {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-area {
    position: relative;
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-instructions {
    text-align: center;
    color: white;
    padding: 2rem;
}

.instruction-icon {
    font-size: 4rem;
    color: #f39c12;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

.game-instructions h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.game-instructions p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.game-tips {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    text-align: left;
    display: inline-block;
}

.game-tips li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.game-tips i {
    color: #f39c12;
}

.game-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.game-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.start-btn {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.4);
}

.pause-btn {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.reset-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.reset-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

/* Game Targets */
.game-target {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid white;
    transition: transform 0.1s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: targetPulse 1.5s ease-in-out infinite;
}

.game-target:hover {
    transform: scale(1.1);
}

.game-target.red {
    background: radial-gradient(circle, #e74c3c, #c0392b);
}

.game-target.blue {
    background: radial-gradient(circle, #3498db, #2980b9);
}

.game-target.golden {
    background: radial-gradient(circle, #f1c40f, #f39c12);
}

@keyframes targetPulse {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
    50% { 
        transform: scale(1.05); 
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    }
}

/* Chat Section */
.chat {
    padding: 100px 0;
    background: #333;
    color: white;
    text-align: center;
}

.chat h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
}

#chat-box {
    max-width: 800px;
    margin: 0 auto;
    height: 400px;
    border: 2px solid #444;
    border-radius: 15px;
    padding: 1rem;
    overflow-y: auto;
    background: #1a1a1a;
    margin-bottom: 1rem;
}

.message {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 10px;
    max-width: 70%;
}

.user-message {
    background: #ff6b6b;
    margin-left: auto;
    text-align: right;
}

.bot-message {
    background: #333;
    margin-right: auto;
}

.chat-input-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
}

#chat-input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    background: #333;
    color: white;
}

#chat-send {
    padding: 1rem 2rem;
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
}

/* Enhanced Live NEPSE Section */
.nepse {
    padding: 100px 0;
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    color: #4dfc39;
    position: relative;
    overflow: hidden;
}

.nepse::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 40%, rgba(77, 252, 57, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 255, 0, 0.1) 0%, transparent 50%);
    animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.nepse h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 20px rgba(77, 252, 57, 0.5);
}

.status-indicator {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(77, 252, 57, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(77, 252, 57, 0.3);
    position: relative;
    z-index: 2;
}

.status-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 10px;
}

.status-dot.loading {
    background: #ffaa00;
    animation: pulse 1.5s infinite;
}

.status-dot.live {
    background: #4dfc39;
    box-shadow: 0 0 10px rgba(77, 252, 57, 0.6);
}

.status-dot.error {
    background: #ff4444;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.2); }
}

.nepse-ticker {
    background: #121212;
    padding: 1.5rem;
    margin-bottom: 3rem;
    border: 2px solid #00ff00;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.ticker-content {
    white-space: nowrap;
    font-size: 1.3rem;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    animation: scroll 45s linear infinite;
}

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

.nepse-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.stat-box {
    background: linear-gradient(135deg, #001100, #003300);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #00ff00;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(77, 252, 57, 0.2), transparent);
    transition: left 0.6s;
}

.stat-box:hover::before {
    left: 100%;
}

.stat-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(77, 252, 57, 0.4);
}

.stat-box h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #4dfc39;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-box p {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.change-indicator {
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-top: 10px;
    display: inline-block;
}

.change-positive {
    background: #4dfc39;
    color: #000;
}

.change-negative {
    background: #ff4444;
    color: #fff;
}

.market-movers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.gainers, .losers {
    background: rgba(77, 252, 57, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(77, 252, 57, 0.2);
}

.gainers h4, .losers h4 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    color: #4dfc39;
}

.stock-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(77, 252, 57, 0.1);
    transition: all 0.3s ease;
}

.stock-item:hover {
    background: rgba(77, 252, 57, 0.1);
    padding-left: 10px;
}

.stock-symbol {
    font-weight: bold;
    color: #4dfc39;
}

.loading-text {
    animation: loading 2s ease-in-out infinite;
}

@keyframes loading {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}


/* Custom Nepali Calendar Section */
.calendar {
    padding: 100px 0;
    background: linear-gradient(135deg, #ff7675, #fd79a8);
    color: white;
}

.calendar-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    color: #333;
}

.calendar-header {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    padding: 2rem;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.calendar-title h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.calendar-title p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #e0e0e0;
}

.day-header {
    background: #6c5ce7;
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
}

.calendar-day {
    background: white;
    min-height: 80px;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.calendar-day:hover {
    background: #f8f9fa;
    transform: scale(1.02);
}

.calendar-day.today {
    background: linear-gradient(135deg, #00b894, #00cec9);
    color: white;
}

.calendar-day.festival {
    background: linear-gradient(135deg, #fd79a8, #fdcb6e);
    color: white;
}

.calendar-day.empty {
    background: #f5f5f5;
    cursor: default;
}

.calendar-day.empty:hover {
    background: #f5f5f5;
    transform: none;
}

.nepali-day {
    font-size: 1.2rem;
    font-weight: 700;
}

.english-day {
    font-size: 0.8rem;
    opacity: 0.7;
}

.festival-marker {
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.4rem;
    border-radius: 10px;
    margin-top: 0.2rem;
    text-align: center;
}

.calendar-footer {
    background: #f8f9fa;
    padding: 1.5rem 2rem;
    border-top: 1px solid #e0e0e0;
}

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

.today-date {
    margin-bottom: 1rem;
}

.nepali-date {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: #6c5ce7;
    margin-bottom: 0.5rem;
}

.english-date {
    font-size: 1rem;
    color: #666;
}

.festival-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    background: linear-gradient(135deg, #fd79a8, #fdcb6e);
    color: white;
    border-radius: 20px;
    font-weight: 600;
}

.festival-info i {
    color: #fff200;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #333;
    color: white;
}

.contact h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item i {
    font-size: 2.5rem;
    color: #ff6b6b;
}

.contact-item a {
    color: #ff6b6b;
    text-decoration: none;
}

/* Footer */
.footer {
    background: #000;
    color: white;
    text-align: center;
    padding: 3rem 0;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-image img {
        width: 250px;
        height: 250px;
    }
    
    .skills-grid, .tools-container {
        grid-template-columns: 1fr;
    }
    
    .game-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .game-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .conversion-inputs {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .weather-details {
        grid-template-columns: 1fr;
    }
    
    .calc-row {
        gap: 0.3rem;
    }
    
    .calc-btn {
        padding: 0.8rem;
        font-size: 1rem;
    }
    
    .chat-input-container {
        flex-direction: column;
    }
    
    .calendar-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .calendar-grid {
        gap: 0;
    }
    
    .calendar-day {
        min-height: 60px;
        padding: 0.3rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

/* Smooth scrolling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #333;
}

::-webkit-scrollbar-thumb {
    background: #ff6b6b;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff5252;
}
