* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1b5e20;
    --primary-light: #2e7d32;
    --primary-dark: #0d3010;
    --secondary: #4caf50;
    --background: #050505;
    --surface: #111111;
    --surface-light: #1a1a1a;
    --text: #e8f5e9;
    --text-light: #c8e6c9;
    --text-lighter: #a5d6a7;
    --border: #2a2a2a;
    --border-green: rgba(76, 175, 80, 0.3);
    --shadow: rgba(0, 0, 0, 0.5);
    --shadow-green: rgba(27, 94, 32, 0.4);
    --gradient: linear-gradient(135deg, #2e7d32, #1b5e20);
    --gradient-dark: linear-gradient(135deg, #1b5e20, #0d3010);
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        linear-gradient(0deg, transparent 24%, rgba(46, 125, 50, 0.02) 25%, rgba(46, 125, 50, 0.02) 26%, transparent 27%, transparent 74%, rgba(46, 125, 50, 0.02) 75%, rgba(46, 125, 50, 0.02) 76%, transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, rgba(46, 125, 50, 0.02) 25%, rgba(46, 125, 50, 0.02) 26%, transparent 27%, transparent 74%, rgba(46, 125, 50, 0.02) 75%, rgba(46, 125, 50, 0.02) 76%, transparent 77%, transparent);
    background-size: 50px 50px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.9), 0 0 20px var(--shadow-green);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-green);
    animation: headerSlideDown 0.8s ease-out;
}

@keyframes headerSlideDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    animation: logoFadeIn 1s ease-out 0.2s both;
}

@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.logo-icon {
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(46, 125, 50, 0.7));
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding: 5px;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
    }
    50% { 
        transform: translateY(-8px) rotate(2deg); 
    }
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-title {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-light);
    text-shadow: 0 0 15px rgba(46, 125, 50, 0.5);
    letter-spacing: 0.5px;
}

.logo-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    animation: navFadeIn 1s ease-out 0.4s both;
}

@keyframes navFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-link {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-light);
    text-shadow: 0 0 8px rgba(46, 125, 50, 0.5);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--primary-light);
    animation: lineGrow 0.6s ease-out;
}

@keyframes lineGrow {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 100%;
        opacity: 1;
    }
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(27, 94, 32, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(46, 125, 50, 0.15) 0%, transparent 50%),
        #000000;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-green);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    animation: lineDraw 1.2s ease-out 0.8s both;
    transform-origin: left;
    box-shadow: 0 0 10px var(--primary-light);
}

@keyframes lineDraw {
    from {
        transform: scaleX(0);
        opacity: 0;
    }
    to {
        transform: scaleX(1);
        opacity: 1;
    }
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    animation: contentFadeIn 1s ease-out 0.5s both;
}

@keyframes contentFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-lighter), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(46, 125, 50, 0.3);
    animation: titleSlideUp 1s ease-out 0.6s both;
}

@keyframes titleSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.highlight {
    color: var(--primary-light);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(46, 125, 50, 0.2);
    z-index: -1;
    border-radius: 4px;
    animation: highlightGrow 0.8s ease-out 1s both;
}

@keyframes highlightGrow {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 100%;
        opacity: 1;
    }
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 600px;
    animation: fadeInUp 1s ease-out 0.8s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 1s both;
}

.stat-item {
    text-align: center;
    transition: var(--transition-bounce);
    position: relative;
    padding: 25px 20px;
    border-radius: 16px;
    background: rgba(46, 125, 50, 0.05);
    border: 1px solid transparent;
    min-width: 130px;
    z-index: 1;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.1), rgba(27, 94, 32, 0.1));
    opacity: 0;
    transition: opacity 0.5s ease-out;
    z-index: -1;
}

.stat-item:hover {
    transform: translateY(-12px) scale(1.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 20px var(--shadow-green);
    border: 1px solid rgba(46, 125, 50, 0.4);
    background: rgba(46, 125, 50, 0.1);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item:hover::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, 
        rgba(46, 125, 50, 0), 
        rgba(46, 125, 50, 0.7), 
        rgba(165, 214, 167, 0.7), 
        rgba(46, 125, 50, 0.7), 
        rgba(46, 125, 50, 0));
    border-radius: 19px;
    z-index: -2;
    opacity: 0.8;
    animation: neonGlow 2s ease-in-out infinite;
    filter: blur(10px);
}

@keyframes neonGlow {
    0%, 100% {
        opacity: 0.6;
        box-shadow: 0 0 25px rgba(46, 125, 50, 0.5),
                    0 0 50px rgba(46, 125, 50, 0.3),
                    0 0 75px rgba(46, 125, 50, 0.2);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 35px rgba(46, 125, 50, 0.7),
                    0 0 70px rgba(46, 125, 50, 0.5),
                    0 0 105px rgba(46, 125, 50, 0.3);
    }
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-light);
    line-height: 1;
    margin-bottom: 5px;
    text-shadow: 0 0 20px rgba(46, 125, 50, 0.5);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-lighter);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition-bounce);
}

.btn-primary {
    background: var(--gradient);
    color: #ffffff;
    box-shadow: 0 4px 15px var(--shadow-green);
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(46, 125, 50, 0.5);
}

.btn-secondary {
    background-color: var(--surface);
    color: var(--primary-light);
    border: 2px solid var(--border-green);
}

.btn-secondary:hover {
    border-color: var(--primary-light);
    background-color: rgba(46, 125, 50, 0.1);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.2);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    animation: imageFloat 1s ease-out 0.7s both;
}

@keyframes imageFloat {
    from {
        opacity: 0;
        transform: translateX(30px) rotate(-5deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotate(0deg);
    }
}

.minecraft-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 15px;
    width: 300px;
    height: 200px;
    animation: gridPulse 3s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 20px rgba(46, 125, 50, 0.3));
    }
    50% { 
        transform: scale(1.03) rotate(0.5deg);
        filter: drop-shadow(0 0 30px rgba(46, 125, 50, 0.5));
    }
}

.grid-block {
    background: var(--gradient);
    border-radius: 10px;
    opacity: 0.9;
    box-shadow: 0 0 25px rgba(46, 125, 50, 0.4);
    animation: blockPulse 2s ease-in-out infinite var(--delay, 0s);
}

@keyframes blockPulse {
    0%, 100% { 
        opacity: 0.9; 
        transform: scale(1); 
        box-shadow: 0 0 25px rgba(46, 125, 50, 0.4); 
    }
    50% { 
        opacity: 1; 
        transform: scale(1.08); 
        box-shadow: 0 0 35px rgba(46, 125, 50, 0.7); 
    }
}

.grid-block:nth-child(1) { --delay: 0s; }
.grid-block:nth-child(2) { --delay: 0.2s; }
.grid-block:nth-child(3) { --delay: 0.4s; }
.grid-block:nth-child(4) { --delay: 0.6s; }
.grid-block:nth-child(5) { --delay: 0.8s; }
.grid-block:nth-child(6) { --delay: 1s; }

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInUp 1s ease-out both;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--text-lighter), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 15px rgba(46, 125, 50, 0.3);
    animation: titleSlideUp 1s ease-out both;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradient);
    border-radius: 3px;
    box-shadow: 0 0 10px var(--primary-light);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: #080808;
    position: relative;
    border-bottom: 1px solid var(--border-green);
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    animation: lineDraw 1.2s ease-out both;
    transform-origin: left;
    box-shadow: 0 0 10px var(--primary-light);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
    animation: contentFadeIn 1s ease-out both;
}

.about-text {
    flex: 1;
}

.about-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.7;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.feature {
    background: rgba(46, 125, 50, 0.05);
    padding: 30px 25px;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5), 0 0 10px var(--shadow-green);
    transition: var(--transition-bounce);
    border: 1px solid var(--border-green);
    animation: featureSlideIn 0.8s ease-out forwards;
    opacity: 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

@keyframes featureSlideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.feature:nth-child(1) { animation-delay: 0.1s; }
.feature:nth-child(2) { animation-delay: 0.3s; }
.feature:nth-child(3) { animation-delay: 0.5s; }

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.1), rgba(27, 94, 32, 0.1));
    opacity: 0;
    transition: opacity 0.5s ease-out;
    z-index: -1;
}

.feature:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 20px var(--shadow-green);
    border: 1px solid rgba(46, 125, 50, 0.4);
    background: rgba(46, 125, 50, 0.1);
}

.feature:hover::before {
    opacity: 1;
}

.feature:hover::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, 
        rgba(46, 125, 50, 0), 
        rgba(46, 125, 50, 0.7), 
        rgba(165, 214, 167, 0.7), 
        rgba(46, 125, 50, 0.7), 
        rgba(46, 125, 50, 0));
    border-radius: 19px;
    z-index: -2;
    opacity: 0.8;
    animation: neonGlow 2s ease-in-out infinite;
    filter: blur(10px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: #ffffff;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px var(--shadow-green);
    transition: var(--transition-bounce);
    position: relative;
    z-index: 2;
}

.feature:hover .feature-icon {
    transform: rotate(15deg) scale(1.15);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.7);
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-light);
    position: relative;
    z-index: 2;
}

.feature p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.versions {
    margin-top: 40px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.versions h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text);
}

.version-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.version-tag {
    background: rgba(46, 125, 50, 0.1);
    border: 2px solid var(--border-green);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-lighter);
    transition: var(--transition-bounce);
}

.version-tag:hover {
    border-color: var(--primary-light);
    background: rgba(46, 125, 50, 0.2);
    color: var(--primary-light);
    box-shadow: 0 0 15px var(--shadow-green);
    transform: translateY(-3px);
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    animation: imageFloatRight 1s ease-out 0.4s both;
}

@keyframes imageFloatRight {
    from {
        opacity: 0;
        transform: translateX(30px) rotate(5deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotate(0deg);
    }
}

.image-frame {
    width: 300px;
    height: 300px;
    background: var(--surface);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 15px var(--shadow-green);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    animation: framePulse 4s ease-in-out infinite;
}

@keyframes framePulse {
    0%, 100% { 
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--border);
    }
    50% { 
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--primary-light);
    }
}

.frame-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.mc-item {
    width: 120px;
    height: 120px;
    position: relative;
    margin: 0 auto 30px;
    transform: rotate(45deg);
    animation: mcItemRotate 20s linear infinite;
}

@keyframes mcItemRotate {
    0% { transform: rotate(45deg); }
    100% { transform: rotate(405deg); }
}

.mc-item-top {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    border-radius: 15px;
    transform: rotate(45deg) scale(0.95);
    box-shadow: 0 0 25px rgba(46, 125, 50, 0.4);
}

.mc-item-front {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: 15px;
    transform: translateZ(-30px) rotate(45deg) scale(0.95);
}

.mc-item-side {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 15px;
    transform: translateX(-30px) rotate(45deg) scale(0.95);
}

.mc-text {
    font-weight: 600;
    color: var(--primary-light);
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(46, 125, 50, 0.4);
    animation: textGlow 2s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% { 
        text-shadow: 0 0 10px rgba(46, 125, 50, 0.4);
    }
    50% { 
        text-shadow: 0 0 20px rgba(46, 125, 50, 0.7);
    }
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background-color: #080808;
    position: relative;
    border-bottom: 1px solid var(--border-green);
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    animation: lineDraw 1.2s ease-out both;
    transform-origin: left;
    box-shadow: 0 0 10px var(--primary-light);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.portfolio-item {
    background: rgba(46, 125, 50, 0.05);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5), 0 0 10px var(--shadow-green);
    transition: var(--transition-bounce);
    opacity: 0;
    border: 1px solid var(--border-green);
    animation: portfolioItemAppear 0.8s ease-out forwards;
    cursor: pointer;
}

@keyframes portfolioItemAppear {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.portfolio-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 15px var(--shadow-green);
    border-color: var(--primary-light);
}

.portfolio-image-container {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1);
}

.portfolio-info {
    padding: 20px;
}

.portfolio-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-light);
}

.portfolio-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: rgba(46, 125, 50, 0.15);
    color: var(--primary-light);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(46, 125, 50, 0.3);
    transition: var(--transition-smooth);
}

.tag:hover {
    background: rgba(46, 125, 50, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 0 10px var(--shadow-green);
}

/* Payment Section */
.payment {
    padding: 100px 0;
    background-color: #080808;
    position: relative;
    border-bottom: 1px solid var(--border-green);
    animation: sectionGlow 4s ease-in-out infinite;
}

@keyframes sectionGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(46, 125, 50, 0);
    }
    50% {
        box-shadow: 0 0 30px 0 rgba(46, 125, 50, 0.1);
    }
}

.payment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    animation: lineDraw 1.2s ease-out both;
    transform-origin: left;
    box-shadow: 0 0 10px var(--primary-light);
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.payment-card {
    background: rgba(46, 125, 50, 0.05);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition-bounce);
    border: 1px solid var(--border-green);
    opacity: 0;
    animation: paymentCardAppear 0.8s ease-out forwards;
    position: relative;
    overflow: hidden;
    z-index: 1;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

@keyframes paymentCardAppear {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.payment-card:nth-child(1) { animation-delay: 0.1s; }
.payment-card:nth-child(2) { animation-delay: 0.3s; }
.payment-card:nth-child(3) { animation-delay: 0.5s; }

.payment-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(46, 125, 50, 0), 
        rgba(46, 125, 50, 0.3), 
        rgba(165, 214, 167, 0.3), 
        rgba(46, 125, 50, 0.3), 
        rgba(46, 125, 50, 0));
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.payment-card:hover::before {
    opacity: 1;
    animation: neonBorder 2s ease-in-out infinite;
}

@keyframes neonBorder {
    0%, 100% {
        opacity: 0.5;
        filter: blur(2px);
    }
    50% {
        opacity: 1;
        filter: blur(4px);
    }
}

.payment-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 30px var(--shadow-green);
    border: 1px solid rgba(46, 125, 50, 0.4);
    background: rgba(46, 125, 50, 0.1);
}

.payment-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 20px var(--shadow-green);
    transition: var(--transition-bounce);
    position: relative;
    z-index: 2;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 20px var(--shadow-green);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 30px var(--primary-light);
    }
}

.payment-card:nth-child(1) .payment-icon,
.payment-card:nth-child(2) .payment-icon,
.payment-card:nth-child(3) .payment-icon {
    background: var(--gradient);
    color: white;
}

.payment-card:hover .payment-icon {
    transform: rotate(360deg) scale(1.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 40px var(--primary-light);
}

.payment-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-light);
    position: relative;
    z-index: 2;
    text-shadow: 0 0 10px rgba(46, 125, 50, 0.3);
}

.payment-card p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.payment-currency {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 25px;
    text-shadow: 0 0 15px rgba(46, 125, 50, 0.4);
    background: rgba(46, 125, 50, 0.15);
    padding: 8px 20px;
    border-radius: 30px;
    display: inline-block;
    border: 1px solid rgba(46, 125, 50, 0.3);
    animation: currencyGlow 2s ease-in-out infinite;
}

@keyframes currencyGlow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(46, 125, 50, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(46, 125, 50, 0.6);
    }
}

.payment-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 12px;
    transition: var(--transition-bounce);
    background: var(--gradient);
    min-width: 200px;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 20px var(--shadow-green);
    border: 1px solid rgba(46, 125, 50, 0.5);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.payment-card:nth-child(1) .payment-link,
.payment-card:nth-child(2) .payment-link,
.payment-card:nth-child(3) .payment-link {
    background: var(--gradient);
}

.payment-card:nth-child(1) .payment-link:hover,
.payment-card:nth-child(2) .payment-link:hover,
.payment-card:nth-child(3) .payment-link:hover {
    background: var(--gradient-dark);
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.6);
}

.payment-link:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.6);
}

.payment-link i {
    font-size: 1.2rem;
    transition: var(--transition-bounce);
}

.payment-link:hover i {
    transform: translateX(5px) scale(1.2);
}

.payment-info {
    background: rgba(46, 125, 50, 0.05);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--border-green);
    display: flex;
    gap: 30px;
    align-items: flex-start;
    animation: fadeInUp 0.8s ease-out 0.7s both;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.payment-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--gradient);
    box-shadow: 0 0 15px var(--primary-light);
}

.info-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 8px 20px var(--shadow-green);
    animation: shieldPulse 2s ease-in-out infinite;
}

@keyframes shieldPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 20px var(--shadow-green);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 15px 30px rgba(46, 125, 50, 0.5);
    }
}

.info-content {
    flex: 1;
}

.info-content h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-light);
    text-shadow: 0 0 10px rgba(46, 125, 50, 0.3);
}

.info-content p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

/* Footer */
.footer {
    background: #050505;
    color: var(--text-light);
    padding: 70px 0 30px;
    border-top: 1px solid var(--border-green);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    animation: lineDraw 1.2s ease-out both;
    transform-origin: left;
    box-shadow: 0 0 10px var(--primary-light);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.footer-logo .logo-icon {
    font-size: 2.2rem;
    filter: drop-shadow(0 0 12px rgba(46, 125, 50, 0.7));
    animation: float 3s ease-in-out infinite;
}

.footer-logo .logo-title {
    color: var(--primary-light);
    text-shadow: 0 0 15px rgba(46, 125, 50, 0.5);
    font-size: 1.6rem;
}

.footer-description {
    margin-top: 15px;
    color: var(--text-lighter);
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-links h3,
.footer-payment h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary-light);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-lighter);
    text-decoration: none;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '›';
    color: var(--primary-light);
    font-weight: bold;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--primary-light);
    text-shadow: 0 0 8px rgba(46, 125, 50, 0.3);
}

.footer-links a:hover::before {
    transform: translateX(5px);
}

.footer-payment {
    background: rgba(46, 125, 50, 0.03);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border-green);
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-lighter);
    padding: 12px 15px;
    background: rgba(46, 125, 50, 0.05);
    border-radius: 10px;
    border: 1px solid var(--border-green);
    transition: var(--transition-smooth);
}

.payment-method:hover {
    transform: translateX(5px);
    background: rgba(46, 125, 50, 0.1);
    border-color: var(--primary-light);
    color: var(--primary-light);
    box-shadow: 0 0 15px var(--shadow-green);
}

.payment-method i {
    width: 25px;
    font-size: 1.2rem;
    color: var(--primary-light);
    transition: var(--transition-smooth);
}

.payment-method:hover i {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-lighter);
    font-size: 0.9rem;
    animation: fadeIn 1s ease-out 0.6s both;
}

.footer-bottom p {
    margin-bottom: 10px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: modalBgFadeIn 0.3s ease-out;
}

@keyframes modalBgFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: var(--surface);
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    overflow: hidden;
    position: relative;
    animation: modalContentAppear 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid var(--border-green);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 15px var(--shadow-green);
}

@keyframes modalContentAppear {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--surface);
    border: 1px solid var(--border-green);
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition-bounce);
    box-shadow: 0 0 10px var(--shadow-green);
}

.modal-close:hover {
    background: var(--primary-light);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 0 20px var(--shadow-green);
    transform: rotate(90deg) scale(1.1);
}

.modal-image-container {
    width: 100%;
    max-height: 70vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0a0a0a;
}

.modal-image-container img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    display: block;
    transition: transform 0.8s ease-out;
}

.modal-image-container:hover img {
    transform: scale(1.05);
}

.modal-info {
    padding: 30px;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.modal-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-light);
}

.modal-info p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Animation Classes */
@keyframes scrollReveal {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 70%, rgba(0,0,0,0.7) 100%);
    pointer-events: none;
}

@keyframes imageLoad {
    from {
        opacity: 0;
        filter: blur(5px);
    }
    to {
        opacity: 1;
        filter: blur(0);
    }
}

.modal-image-container img.loaded {
    animation: imageLoad 0.6s ease-out;
}

@keyframes pulseCounter {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Notification */
@keyframes notificationSlideIn {
    from {
        opacity: 0;
        transform: translateX(100%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

@keyframes notificationSlideOut {
    from {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%) translateY(-20px);
    }
}

@keyframes modalContentDisappear {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(60px) scale(0.8);
    }
}

.notification {
    cursor: pointer;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

.notification:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.7), 0 0 15px var(--shadow-green);
        display: none;
        border-bottom: 1px solid var(--border-green);
        z-index: 1000;
    }
    
    .nav-menu.active {
        display: flex;
        animation: mobileMenuSlide 0.4s ease-out;
    }
    
    @keyframes mobileMenuSlide {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .payment-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .payment-info {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    .payment-info::before {
        width: 100%;
        height: 6px;
        top: 0;
        left: 0;
    }
    
    .info-icon {
        margin: 0 auto;
    }
    
    .payment-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .payment-currency {
        font-size: 1.5rem;
    }
    
    .payment-link {
        min-width: 180px;
        padding: 12px 25px;
        font-size: 0.95rem;
    }
    
    .footer-payment {
        margin-top: 20px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .stat-item {
        min-width: 160px;
        padding: 20px 15px;
    }
    
    .feature {
        padding: 25px 20px;
    }
    
    .payment-card,
    .contact-card {
        padding: 30px 20px;
    }
    
    .payment-icon,
    .contact-card-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .payment-card h3,
    .contact-card h3 {
        font-size: 1.3rem;
    }
    
    .payment-currency {
        font-size: 1.3rem;
        padding: 6px 15px;
    }
    
    .payment-link {
        min-width: 160px;
        padding: 10px 20px;
    }
    
    .info-content h4 {
        font-size: 1.3rem;
    }
    
    .info-content p {
        font-size: 0.9rem;
    }
    
    .payment-method {
        padding: 10px 12px;
    }
    
    .payment-method i {
        font-size: 1rem;
    }
}
