/* Consolidated inline styles from index.html for better performance */

/* Copy Notification */
.copy-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateY(10px);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
    border-left: 3px solid var(--primary);
    pointer-events: none;
}

.copy-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.copied {
    background-color: var(--primary-dark) !important;
    transform: scale(1.05) !important;
}

.btn-primary, .btn-outline, .btn-secondary, .btn-glow, .btn-pulse {
    text-decoration: none !important;
}

a.btn {
    text-decoration: none !important;
}

/* Features Section */
.features-section {
    position: relative;
    padding: 8rem 0;
    background: transparent;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 30% 20%, rgba(255, 107, 53, 0.03) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(255, 107, 53, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

/* About Section */
.about-section {
    position: relative;
    padding: 8rem 0;
    background: transparent;
    overflow: hidden;
}

/* CTA Section */
.cta-section {
    position: relative;
    padding: 6rem 0;
    background: transparent;
    overflow: hidden;
    text-align: center;
}

/* Social Media Section */
.social-media-section {
    position: relative;
    padding: 8rem 0;
    background: transparent;
    overflow: hidden;
}

/* Join Server Section */
.join-server-section {
    position: relative;
    padding: 8rem 0;
    background: transparent;
    overflow: hidden;
}

/* Discord CTA Section */
.discord-cta-section {
    position: relative;
    padding: 5rem 0;
    background: transparent;
    text-align: center;
}

/* About Section Modern */
.about-section-modern {
    position: relative;
    padding: 8rem 0;
    background: transparent;
    overflow: hidden;
}

/* Trailer Section */
.trailer-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.trailer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.trailer-video-container {
    display: flex;
    justify-content: center;
}

.trailer-info-container {
    padding-left: 2rem;
}

.trailer-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}

.trailer-subtitle {
    font-size: 1.1rem;
    color: #a0a0a0;
    margin-bottom: 2rem;
}

.youtube-short-container {
    position: relative;
    display: inline-block;
    max-width: 300px;
    width: 100%;
    margin: 0 auto;
}

.short-frame {
    position: relative;
    width: 100%;
    height: 550px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.short-frame:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.15);
}

.trailer-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.short-frame:hover .trailer-video {
    transform: scale(1.02);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.8));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 20px;
    pointer-events: none;
}

.short-frame:hover .video-overlay {
    opacity: 1;
}

.yt-redirect-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ff0000;
    font-size: 0.9rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    align-self: flex-end;
}

.yt-redirect-hint i {
    font-size: 1.2rem;
    animation: pulse-yt 2s infinite;
}

.video-controls-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    font-size: 0.8rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    align-self: center;
}

.video-controls-hint i {
    color: #00ffff;
    animation: volume-pulse 1.5s infinite;
}

@keyframes pulse-yt {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.5));
    }
    50% { 
        transform: scale(1.1);
        filter: drop-shadow(0 0 15px rgba(255, 0, 0, 0.8));
    }
}

@keyframes volume-pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.short-glow {
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 255, 0.3), transparent);
    border-radius: 23px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.short-frame:hover .short-glow {
    opacity: 1;
}

.youtube-short-container::before {
    content: '▶';
    position: absolute;
    top: 20px;
    right: 20px;
    color: rgba(0, 255, 255, 0.8);
    font-size: 24px;
    z-index: 10;
    animation: pulse-play 2s infinite;
}

@keyframes pulse-play {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.watch-full-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #ff0000, #cc0000);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.watch-full-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
    text-decoration: none;
    color: white;
}

@media (max-width: 768px) {
    .trailer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .trailer-info-container {
        padding-left: 0;
    }
    
    .trailer-title {
        font-size: 2.5rem;
    }
    
    .youtube-short-container {
        max-width: 250px;
    }
    
    .short-frame {
        height: 420px;
    }
    
    .youtube-short-container::before {
        font-size: 20px;
        top: 15px;
        right: 15px;
    }
}

/* Economy Bento Grid */
.economy-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    gap: 1.25rem;
    max-width: 1200px;
    margin: 0 auto;
}

.eco-tile {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.eco-tile:hover {
    transform: translateY(-8px) scale(1.02);
    z-index: 10;
}

.eco-tile-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
}

.eco-tile-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.eco-tile h3 {
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
}

.eco-tile p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

.eco-tile .eco-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1.25rem;
}

.eco-tag {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.85);
}

/* Eco Tile Colors */
.eco-tile-hero {
    grid-column: span 8;
    background: linear-gradient(135deg, rgba(255,193,7,0.15), rgba(255,193,7,0.05));
    border: 1px solid rgba(255,193,7,0.25);
}

.eco-tile-firmen {
    grid-column: span 4;
    background: linear-gradient(135deg, rgba(156,39,176,0.15), rgba(156,39,176,0.05));
    border: 1px solid rgba(156,39,176,0.25);
}

.eco-tile-wirtschaft {
    grid-column: span 4;
    background: linear-gradient(135deg, rgba(76,175,80,0.15), rgba(76,175,80,0.05));
    border: 1px solid rgba(76,175,80,0.25);
}

.eco-tile-city {
    grid-column: span 4;
    background: linear-gradient(135deg, rgba(33,150,243,0.15), rgba(33,150,243,0.05));
    border: 1px solid rgba(33,150,243,0.25);
}

.eco-tile-community {
    grid-column: span 4;
    background: linear-gradient(135deg, rgba(233,30,99,0.15), rgba(233,30,99,0.05));
    border: 1px solid rgba(233,30,99,0.25);
}

@media (max-width: 1024px) {
    .eco-tile-hero { grid-column: span 12; }
    .eco-tile-firmen { grid-column: span 12; }
    .eco-tile-wirtschaft { grid-column: span 6; }
    .eco-tile-city { grid-column: span 6; }
    .eco-tile-community { grid-column: span 12; }
}

@media (max-width: 640px) {
    .economy-bento { gap: 1rem; }
    .eco-tile-wirtschaft,
    .eco-tile-city { grid-column: span 12; }
}

/* Stats Cards */
.about-stats-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 4rem auto 0;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.stat-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,165,0,0.15);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffa500, #ffd700, #ffa500);
    background-size: 200% auto;
    animation: gradientMove 3s linear infinite;
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,165,0,0.35);
    box-shadow: 0 20px 40px rgba(255,165,0,0.15);
}

.stat-card-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255,165,0,0.2), rgba(255,165,0,0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #ffa500;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.stat-card-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 0 25px rgba(255,165,0,0.5);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-card-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
}

@media (max-width: 900px) {
    .about-stats-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .about-stats-cards {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    .stat-card {
        padding: 1.5rem 1rem;
    }
    .stat-card-number {
        font-size: 2rem;
    }
}

/* About Title */
.about-title span {
    color: #ffd700;
    text-shadow: 0 0 30px rgba(255,200,0,0.7), 0 0 60px rgba(255,165,0,0.4);
}

/* Value Cards */
.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 4rem auto 0;
    padding: 0 2rem;
}

.value-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
}

.value-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,165,0,0.3);
}

.value-icon-box {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    background: linear-gradient(135deg, rgba(255,165,0,0.15), rgba(255,165,0,0.05));
    color: #ffa500;
}

.value-card-title {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.value-card-desc {
    color: rgba(255,255,255,0.65);
    font-size: 0.95rem;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .about-values-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

/* Portal Section Responsive */
@media (max-width: 992px) {
    .portal-feature-section > div > div {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
        text-align: center;
    }
    .portal-feature-section > div > div > div:last-child {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Join Cards */
.join-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.join-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.join-card:hover {
    transform: translateY(-6px);
}

.join-card-inner {
    position: relative;
    z-index: 2;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.join-card-java {
    background: linear-gradient(145deg, #1a0f0a 0%, #2d1810 50%, #1a0a05 100%);
    border: 1px solid rgba(255, 140, 0, 0.25);
}

.join-card-bedrock {
    background: linear-gradient(145deg, #0a1a0f 0%, #102818 50%, #051a0a 100%);
    border: 1px solid rgba(76, 175, 80, 0.25);
}

.join-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.25rem;
    width: fit-content;
}

.join-card-java .join-badge {
    background: linear-gradient(135deg, #ff8c00 0%, #cc7000 100%);
}

.join-card-bedrock .join-badge {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
}

.join-card-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
}

.join-card-subtitle {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    margin: 0 0 1.5rem 0;
}

.server-address-box {
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.server-address-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.5rem;
}

.server-address-value {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.server-address-text {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
}

.join-card-java .server-address-text {
    color: #ffa726;
}

.join-card-bedrock .server-address-text {
    color: #66bb6a;
}

.join-card-java:hover {
    box-shadow: 0 0 30px rgba(255, 140, 0, 0.2);
}

.join-card-bedrock:hover {
    box-shadow: 0 0 30px rgba(76, 175, 80, 0.2);
}

@media (max-width: 768px) {
    .join-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Animations */
@keyframes gradientMove {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Discord CTA */
.discord-cta-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 2rem;
}

.discord-cta-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.discord-cta-text {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.discord-join-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #5865F2, #4752C4);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(88,101,242,0.35);
}

.discord-join-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(88,101,242,0.5);
}
