/* Enhanced Styles for BuildoriaMC Website (excluding hero section) */

/* 
 * This CSS file contains styles for all sections EXCEPT the hero section
 * Hero section styles remain in hero-styles.css
 */

/* Features Section */
.features-section {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(20,20,20,0.8) 100%);
    overflow: hidden;
}

.features-bg-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255,165,0,0.15) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
    opacity: 0.7;
    animation: pulse-bg 8s ease-in-out infinite;
}

@keyframes pulse-bg {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255,165,0,0.1) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(30, 30, 30, 0.6);
    border-radius: 15px;
    padding: 2.5rem 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card.enhanced {
    background: rgba(25, 25, 25, 0.7);
    border: 1px solid rgba(255, 165, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 165, 0, 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: -1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,165,0,0.1) 0%, rgba(255,140,0,0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 165, 0, 0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card.enhanced:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 165, 0, 0.3);
}

.feature-card.enhanced:hover .card-glow {
    opacity: 1;
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

.features-cta {
    margin-top: 3rem;
}

.enhanced-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 2px solid var(--primary) !important;
    box-shadow: 0 5px 15px rgba(255, 165, 0, 0.3) !important;
}

.enhanced-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 165, 0, 0.5) !important;
}

.enhanced-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: -1;
}

.enhanced-btn:hover::before {
    opacity: 1;
    animation: btn-glow 2s ease-in-out infinite;
}

@keyframes btn-glow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.feature-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--dark);
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(255, 165, 0, 0.3);
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.5);
}

.feature-card.enhanced:hover .feature-icon {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 165, 0, 0.6);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

.icon-ring {
    position: absolute;
    top: -5px;
    left: -5px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 165, 0, 0.5);
    animation: spin 20s linear infinite;
    z-index: 1;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--light);
    position: relative;
    display: inline-block;
}

.feature-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
}

.feature-list li i {
    color: var(--primary);
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

/* About Section */
.about-section {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(20,20,20,0.9) 0%, rgba(10,10,10,0.95) 100%);
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(77, 124, 254, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: center;
}

.about-image {
    position: relative;
    perspective: 1000px;
}

.minecraft-block {
    width: 250px;
    height: 250px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(-30deg) rotateY(45deg);
    animation: float 6s ease-in-out infinite;
    margin: 0 auto;
}

@keyframes float {
    0%, 100% {
        transform: rotateX(-30deg) rotateY(45deg) translateY(0);
    }
    50% {
        transform: rotateX(-30deg) rotateY(45deg) translateY(-20px);
    }
}

.block-face {
    position: absolute;
    width: 250px;
    height: 250px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.block-top {
    transform: rotateX(90deg) translateZ(125px);
    background-image: url('images/buildoramc.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: rgba(30, 30, 30, 0.8);
}

.block-left {
    transform: rotateY(-90deg) translateZ(125px);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    opacity: 0.8;
}

.block-right {
    transform: translateZ(125px);
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
    opacity: 0.8;
}

.about-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 1.05rem;
}

.about-values {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    justify-content: center;
}

.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.value-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
    box-shadow: 0 5px 15px rgba(255, 165, 0, 0.3);
    transition: all 0.3s ease;
}

.value-item:hover .value-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.5);
}

.value-title {
    font-weight: 600;
    color: var(--light);
    font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(20,20,20,0.8) 100%);
    overflow: hidden;
    text-align: center;
}

.cta-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.cta-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--light);
    position: relative;
    z-index: 1;
}

.cta-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.countdown-container {
    margin: 3rem 0;
    position: relative;
    z-index: 1;
}

.countdown-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary);
    letter-spacing: 2px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-value {
    min-width: 80px;
    font-size: 2.5rem;
    font-weight: 700;
    padding: 1rem;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: var(--light);
    margin-bottom: 0.5rem;
    border: 1px solid rgba(255, 165, 0, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

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

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
    margin-top: 2rem;
}

/* Footer */
.footer {
    padding: 2.5rem 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 10;
}

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

.footer a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* Section Dividers */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
}

.divider-line {
    height: 1px;
    width: 100px;
    background: linear-gradient(90deg, transparent, rgba(255, 165, 0, 0.5), transparent);
}

.divider-icon {
    font-size: 1.5rem;
    color: var(--primary);
    margin: 0 1rem;
    animation: pulse-icon 2s infinite;
    position: relative;
}

.divider-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 165, 0, 0.3) 0%, transparent 70%);
    z-index: -1;
    animation: divider-glow 3s ease-in-out infinite;
}

@keyframes divider-glow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.2); }
}

@keyframes pulse-icon {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--light);
    position: relative;
    display: inline-block;
    text-align: center;
}

.section-title::after {
    content: '';
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
    text-align: center;
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        order: -1;
    }
    
    .minecraft-block {
        width: 200px;
        height: 200px;
    }
    
    .block-face {
        width: 200px;
        height: 200px;
    }
    
    .block-top {
        transform: rotateX(90deg) translateZ(100px);
    }
    
    .block-left {
        transform: rotateY(-90deg) translateZ(100px);
    }
    
    .block-right {
        transform: translateZ(100px);
    }
    
    .cta-title {
        font-size: 2.5rem;
    }
    
    .countdown-value {
        min-width: 60px;
        font-size: 1.8rem;
        padding: 0.8rem;
    }
    
    .countdown-timer {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .about-values {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .countdown-timer {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .countdown-item {
        margin-bottom: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Animation Classes */
.animated-card {
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

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

/* Server Info Cards */
.server-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.info-card {
    background: rgba(30, 30, 30, 0.6);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    color: var(--light);
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 165, 0, 0.2);
}

.discord-card {
    border: 1px solid rgba(88, 101, 242, 0.2);
}

.discord-card:hover {
    border: 1px solid rgba(88, 101, 242, 0.4);
    box-shadow: 0 15px 30px rgba(88, 101, 242, 0.2);
}

.discord-card .fab {
    color: #5865F2;
    font-size: 2rem;
    margin-top: 1rem;
}

.join-text {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.if-small {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(255, 165, 0, 0.3);
}

.scroll-to-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 165, 0, 0.5);
}
