/* Variables */
:root {
    --neon-green: #39FF14;
    --deep-purple: #4b0082;
    --dark-bg: #050505;
    --glass-bg: rgba(0, 0, 0, 0.8);
}

/* Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
  font-family: "Scream"; /* Name you use in your CSS */
  src: url("fonts/SCREAM__.woff2") format("woff2"),
       url("fonts/SCREAM__.woff") format("woff"),
	   url("fonts/SCREAM__.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@keyframes purplePulse {
    0% {
        /* Soft, distant glow - no white core */
        text-shadow: 
            0 0 8px rgba(138, 43, 226, 0.4), 
            0 0 15px rgba(75, 0, 130, 0.2);
        opacity: 0.9;
    }
    50% {
        /* Maximum pulse - still transparent and soft */
        text-shadow: 
            0 0 12px rgba(147, 112, 219, 0.6), 
            0 0 25px rgba(138, 43, 226, 0.3);
        opacity: 1;
    }
    100% {
        text-shadow: 
            0 0 8px rgba(138, 43, 226, 0.4), 
            0 0 15px rgba(75, 0, 130, 0.2);
        opacity: 0.9;
    }
}


body {
    background-color: var(--dark-bg);
    /* THE NEW BACKGROUND SETTINGS */
    background-image: 
        radial-gradient(circle, transparent 10%, rgba(0,0,0,0.85) 100%),
        url('images/background/bg-datacenter02.png');
	background-size: cover;
    background-attachment: fixed;
    color: #ffffff;
    font-family: 'Rajdhani', sans-serif;
    line-height: 1.6;
}

/* Navigation */
nav {
    background: var(--glass-bg);
    border-bottom: 1px solid rgba(57, 255, 20, 0.3);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-logo-img {
    height: 90px;
	position: absolute;
	z-index: 1010;
	top: -18px;
	left: 20px;
	flex-shrink: 0;
	filter: drop-shadow(0 0 10px rgba(57, 255, 20, 0.5));
	transition: transform 0.3s ease;
}

.nav-text {
    height: 80px;
	position: absolute;
	z-index: 1010;
	top: -20px;
	left: 138px;
	flex-shrink: 0;
	filter: drop-shadow(0 0 10px rgba(57, 255, 20, 0.5));
	transition: transform 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1400px;
	position: relative;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green);
}

/* Hero Section */
.hero {
    height: 63vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content h1 {
    font-family: 'Scream', 'Creepster', cursive;
    font-size: 3rem;
    /* This color matches the pale neon green in your image */
    color: #a3e6a3; 
    text-transform: uppercase;
    letter-spacing: -5px; /* Horror fonts often look better tightly packed */
    animation: purplePulse 3s ease-in-out infinite;
    
    /* Optional: Prevents text from being selectable if you want it to feel like part of the UI */
    user-select: none;
	
	/* 1. Warp the edges using the SVG filter above */
    filter: url(#ultimate-damage);
	text-shadow: 
        2px 2px 0px rgba(0,0,0,0.8), /* Adds a "cracked" depth */
        0 0 15px rgba(168, 85, 247, 0.4);
		
	/* 2. Apply a "Scratched" Texture to the font surface */
    background: url('https://www.transparenttextures.com/patterns/asfalt-light.png'), 
                linear-gradient(to bottom, #ffffff, #d1d5db);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent; /* Makes the texture visible through the letters */
	
	/* 3. The Glow - Multiple layers for depth without being blinding */
    text-shadow: 
		0px 0px 12px rgba(168, 85, 247, 0.5),
        0px 0px 25px rgba(138, 43, 226, 0.3);
		
        
    /* This adds a slight "gritty" texture feel */
    filter: contrast(1.2) brightness(1.1);
 
    margin-bottom: 20px;
}

.main-logo {
    width: 850px;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 15px rgba(57, 255, 20, 0.4));
}

.tagline {
    font-family: 'Rajdhani', sans-serif; /* Your normal site font */
    font-size: 1.2rem;
    color: #cccccc;
}

.btn-enter {
    display: inline-block;
    padding: 12px 35px;
    border: 2px solid var(--neon-green);
    color: var(--neon-green);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    background: rgba(57, 255, 20, 0.1);
    transition: 0.3s ease-in-out;
}

.btn-enter:hover {
    background: var(--neon-green);
    color: #000;
    box-shadow: 0 0 25px var(--neon-green);
}

/* Main Content */
.container {
    max-width: 1100px;
    margin: 50px auto;
    padding: 20px;
}

.section-title {
    font-size: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 10px;
    margin-bottom: 40px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Cards */
.card {
    background: rgba(15, 15, 15, 0.9);
    border: 1px solid #333;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-green);
}

.card-img-container img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid var(--neon-green);
}

.card-body {
    padding: 20px;
}

.card h3 {
    margin-bottom: 10px;
    color: var(--neon-green);
}

.btn-read {
    display: inline-block;
    margin-top: 15px;
    padding: 5px 15px;
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
    text-decoration: none;
    font-size: 0.9rem;
}

/* Newsletter */
.newsletter {
    background: rgba(75, 0, 130, 0.15);
    padding: 80px 20px;
    text-align: center;
    border-top: 1px solid var(--deep-purple);
}

.subscribe-form {
    margin-top: 20px;
}

.subscribe-form input {
    padding: 12px;
    width: 300px;
    background: #111;
    border: 1px solid var(--deep-purple);
    color: #fff;
}

.subscribe-form button {
    padding: 12px 25px;
    background: var(--neon-green);
    border: none;
    font-weight: bold;
    cursor: pointer;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px;
    background: #000;
    color: #555;
}

.socials {
    margin-bottom: 10px;
}

.socials a {
    color: #555;
    margin: 0 10px;
    text-decoration: none;
}


/* Blog Archive Styling */

.blog-header {
    padding: 25px 0 10px 0;
    text-align: center;
}

.blog-title {
    font-family: 'Scream', 'Creepster', cursive;
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: -5px;
    animation: purplePulse 3s ease-in-out infinite;

    /* Warp effect */
    filter: url(#ultimate-damage) contrast(1.2) brightness(1.1);

    /* Scratched texture */
    background: url('https://www.transparenttextures.com/patterns/asfalt-light.png'), 
                linear-gradient(to bottom, #ffffff, #d1d5db);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    /* Glow layers */
    text-shadow: 
        0px 0px 12px rgba(168, 85, 247, 0.5),
        0px 0px 25px rgba(138, 43, 226, 0.3);

    margin-bottom: 15px;
    user-select: none;
}

.blog-subtitle {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 30px;
}


.year-block {
    margin-bottom: 3rem;
}

.month-block h3 {
    color: #39ff14;
    margin-bottom: 10px;
}

.archive-list {
    list-style: none;
    padding-left: 0;
}

.archive-list li {
    padding: 10px 15px;
    margin-bottom: 8px;
    background: rgba(0,0,0,0.6);
    border-left: 3px solid #39ff14;
    transition: 0.3s ease;
}

.archive-list li:hover {
    border-left: 3px solid #a855f7;
    transform: translateX(5px);
}

.archive-list a {
    text-decoration: none;
    color: white;
    font-weight: 600;
}

.archive-date {
    display: block;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Reduce spacing only on blog page */
.blog-page .container {
    margin: 5px auto;
}

/* Blog page tighter spacing */

.blog-container {
    max-width: 1100px;
    margin: 0px auto 0px auto; /* Much tighter top spacing */
    padding: 20px;
}



/* Image Buttons */

.btn-image img {
    width: 340px;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.btn-image img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(57,255,20,0.7));
}

/* Smaller Read More Button */

.btn-image-small img {
    width: 240px;
    margin-top: 15px;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.btn-image-small img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 12px rgba(168,85,247,0.7));
}



/* ABOUT PAGE */

.about-header {
    text-align: center;
    padding: 60px 20px 20px;
}

.about-title {
    font-family: 'Scream', 'Creepster', cursive;
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: -2.5px;
    animation: purplePulse 3s ease-in-out infinite;

    /* Warp effect */
    filter: url(#ultimate-damage) contrast(1.2) brightness(1.1);

    /* Scratched texture */
    background: url('https://www.transparenttextures.com/patterns/asfalt-light.png'), 
                linear-gradient(to bottom, #ffffff, #d1d5db);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    /* Glow layers */
    text-shadow: 
        0px 0px 12px rgba(168, 85, 247, 0.5),
        0px 0px 25px rgba(138, 43, 226, 0.3);

    margin-bottom: 15px;
    user-select: none;
}


.about-subtitle {
    color: #aaa;
    font-size: 1.2rem;
    margin-top: 10px;
}

.about-container {
    max-width: 1100px;
    margin: auto;
    padding: 30px;
}

.about-profile {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: center;
}

.profile-image img {
    width: 100%;
    border-radius: 8px;
    border: 2px solid #39ff14;
    box-shadow: 0 0 25px rgba(57,255,20,.5);
}

.profile-bio h2 {
    color: #39ff14;
    margin-bottom: 10px;
}

.profile-bio p {
    margin-bottom: 15px;
    color: #ccc;
    line-height: 1.6;
}

.about-tags {
    margin-top: 20px;
}

.about-tags span {
    display: inline-block;
    margin: 5px;
    padding: 6px 12px;
    border: 1px solid #39ff14;
    border-radius: 4px;
    font-size: .9rem;
    color: #39ff14;
    background: rgba(0,0,0,.4);
}



/* =========================
   MOBILE RESPONSIVE STYLES
   ========================= */

@media (max-width: 768px) {

    /* NAVIGATION */

 
    .nav-container{
        display:flex;
        justify-content:space-between;
        align-items:center;
    }

    .nav-links{
        display:flex;
        flex-wrap:nowrap;
        justify-content:flex-end;
        align-items:center;
        gap:14px;
        font-size:0.8rem;
        margin-left:auto;
    }


    .nav-logo-img {
        height: 60px;
        left: 10px;
        top: -10px;
    }

    .nav-text {
        height: 55px;
        left: 90px;
        top: -12px;
    }


    /* HERO SECTION */

    .hero {
        height: auto;
        padding: 80px 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
        letter-spacing: -2px;
    }

    .main-logo {
        width: 80%;
    }


    /* CARD GRID */

    .grid {
        grid-template-columns: 1fr;
    }


    /* ABOUT PAGE */

    .about-profile {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .profile-image img {
        max-width: 260px;
        margin: auto;
    }


    /* BLOG ARCHIVE */

    .blog-container {
        padding: 10px;
    }

}

img {
    max-width: 100%;
    height: auto;
}




/* =========================
   Blog Posts
   ========================= */
   
.blog-post-container {
    max-width: 1100px;
    margin: auto;
    padding: 30px;
}

.blog-post h2 {
    color: #39ff14;
}

.blog-post p {
    color: #ccc;
}