:root {
    --primary-color: #fff;
    --secondary-color: #d1d5db;
    --accent-color: #2563eb;
    --bg-dark: #18181a;
    --bg-grey: #222226;
    --border-grey: #33343a;
    --text-light: #f3f4f6;
    --text-mid: #c5c7ca;
    --text-dark: #232323;
    --shadow: 0 4px 16px rgba(0,0,0,0.13);
    --shadow-light: 0 2px 8px rgba(255,255,255,0.04);
    --transition: all 0.3s cubic-bezier(.4,0,.2,1);
}

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

html {
    height: 100%;
}

body {
    min-height: 100vh;
    background: url('background.png') center center / cover no-repeat fixed;
    background-color: transparent;
}

.section-card {
    background: var(--bg-grey, #18191c);
    border-radius: 15px;
    box-shadow: 0 2px 16px 0 rgba(0,0,0,0.13);
    margin: 2.5rem auto;
    padding: 2.2rem 2.5rem;
    max-width: 900px;
    border: 1.5px solid var(--border-grey, #23272f);
}

.rivals-section {
    background: rgba(34,34,38,0.93);
    border-radius: 17px;
    box-shadow: 0 2px 18px 0 rgba(0,0,0,0.18);
    margin: 2.5rem auto;
    padding: 2.4rem 2.5rem 2.5rem 2.5rem;
    max-width: 820px;
    border: 1.5px solid var(--border-grey, #23272f);
    color: #fff;
    text-align: center;
}
.rivals-section h2 {
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    letter-spacing: 1.2px;
    text-align: center;
}
.rivals-img-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}
.rivals-img {
    max-width: 350px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.19);
    transition: transform 0.2s cubic-bezier(.4,2,.6,1), box-shadow 0.2s;
}
.rivals-img:hover {
    transform: scale(1.04) rotate(-1deg);
    box-shadow: 0 8px 36px 0 rgba(220,30,60,0.23);
}
.rivals-btn-container {
    margin-top: 1.2rem;
}
.rivals-btn {
    display: inline-block;
    background: linear-gradient(90deg, #d32f2f 0%, #23272f 100%);
    color: #fff;
    font-weight: 700;
    font-size: 1.13rem;
    padding: 0.92rem 2.2rem;
    border: none;
    border-radius: 9px;
    box-shadow: 0 2px 12px 0 rgba(211,47,47,0.19);
    text-decoration: none;
    letter-spacing: 1.1px;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.rivals-btn:hover {
    background: linear-gradient(90deg, #23272f 0%, #d32f2f 100%);
    color: #fff;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 24px 0 rgba(211,47,47,0.26);
}
@media (max-width: 700px) {
    .section-card, .rivals-section {
        padding: 1rem 0.5rem;
    }
    .rivals-img {
        max-width: 88vw;
    }
}

.rain-banner {
    position: relative;
    width: 100vw;
    min-height: 370px;
    height: 38vh;
    max-height: 540px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.25);
}

.rain-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.55) blur(0.5px) saturate(1.1);
    pointer-events: none;
}
.banner-overlay {
    position: relative;
    width: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(90deg,rgba(15,15,15,0.32) 0%,rgba(20,20,20,0.12) 100%);
    backdrop-filter: blur(1.5px) saturate(1.1);
}

.rain-banner .clocks-container {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    align-items: center;
    padding: 2rem 0 1.2rem 0;
    width: 100%;
}
@media (max-width: 900px) {
    .rain-banner .clocks-container {
        gap: 1.2rem;
        flex-wrap: wrap;
        padding: 1.2rem 0 0.7rem 0;
    }
    .rain-banner {
        min-height: 250px;
        height: 28vh;
    }
}
@media (max-width: 600px) {
    .rain-banner .clocks-container {
        gap: 0.5rem;
        flex-direction: column;
        padding: 0.7rem 0 0.3rem 0;
    }
    .rain-banner {
        min-height: 160px;
        height: 18vh;
    }
}

#rain-audio[controls] {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    background: rgba(22,22,22,0.7);
    border-radius: 8px;
    border: 1px solid #444;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    outline: none;
}

    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: var(--bg-dark);
}

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

/* Navigation */
.navbar {
    background: var(--bg-grey);
    border-bottom: 1px solid var(--border-grey);
    box-shadow: var(--shadow-light);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-logo {
    display: flex;
    align-items: center;
}
.coganname-logo {
    height: 56px;
    width: auto;
    display: block;
    background: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-right: 0.7rem;
}
.coganname-hero-logo {
    display: block;
    margin: 0 auto 1.1rem auto;
    max-width: 420px;
    width: 60vw;
    height: auto;
    background: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
@media (max-width: 600px) {
    .coganname-logo {
        height: 38px;
    }
    .coganname-hero-logo {
        max-width: 88vw;
        width: 90vw;
    }
}

.nav-logo {
    display: inline-block;
    vertical-align: middle;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 0.2rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    margin-right: 0.5rem;
    padding-right: 0.5rem;
    white-space: nowrap;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-mid);
    font-weight: 500;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
}

.nav-links a:hover {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-grey);
    color: var(--text-light);
    border-bottom: 1px solid var(--border-grey);
    box-shadow: var(--shadow-light);
}

.trailer-section {
    margin: 2.2rem auto 0 auto;
    max-width: 1120px;
    text-align: center;
}
.trailer-title {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 1.1px;
    color: #fff;
    margin-bottom: 0.9rem;
    text-shadow: 0 2px 12px #111, 0 1px 0 #d32f2f;
}
.trailer-embed-container {
    border-radius: 18px;
    box-shadow: 0 0 0 4px #23272f, 0 0 16px 4px #d32f2f77, 0 8px 32px 0 rgba(0,0,0,0.23);
    background: linear-gradient(135deg, #23272f 60%, #d32f2f 100%);
    padding: 7px;
    animation: trailer-glow 2.5s linear infinite alternate;
    display: flex;
    justify-content: center;
    align-items: center;
}
@keyframes trailer-glow {
    0% {
        box-shadow: 0 0 0 4px #23272f, 0 0 16px 4px #d32f2f77, 0 8px 32px 0 rgba(0,0,0,0.23);
    }
    100% {
        box-shadow: 0 0 0 4px #23272f, 0 0 36px 8px #d32f2faa, 0 8px 40px 0 rgba(211,47,47,0.35);
    }
}
.trailer-embed {
    width: 100%;
    min-height: 630px;
    aspect-ratio: 16/9;
    border: none;
    border-radius: 12px;
    background: #000;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.33);
}
@media (max-width: 1200px) {
    .trailer-section {
        max-width: 98vw;
    }
    .trailer-embed {
        min-height: 340px;
    }
}
@media (max-width: 700px) {
    .trailer-section {
        max-width: 98vw;
    }
    .trailer-embed {
        min-height: 180px;
    }
}
@media (max-width: 700px) {
    .trailer-section {
        max-width: 98vw;
    }
    .trailer-embed {
        min-height: 180px;
    }
}

.mod-showcase {
    margin: 2.5rem auto 1.2rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.mod-gallery {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
}
.mod-thumb-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    background: #18191c;
    border-radius: 18px;
    box-shadow: 0 2px 18px 0 #d32f2f33, 0 1px 8px 0 #23272f;
    transition: transform 0.22s cubic-bezier(.4,2,.6,1), box-shadow 0.22s cubic-bezier(.4,2,.6,1);
    overflow: hidden;
    max-width: 260px;
}
.mod-thumb-link:hover, .mod-thumb-link:focus {
    transform: scale(1.07) rotate(-1deg);
    box-shadow: 0 0 24px 3px #d32f2faa, 0 2px 18px 0 #23272f;
    z-index: 2;
}
.mod-thumb {
    width: 100%;
    height: auto;
    border-radius: 0 0 10px 10px;
    object-fit: cover;
    box-shadow: 0 1px 8px 0 #23272f;
}
.mod-caption {
    color: #fff;
    font-size: 1.08rem;
    font-weight: 600;
    text-align: center;
    margin: 0.7rem 0 0.5rem 0;
    letter-spacing: 0.5px;
}
.mod-highlight {
    color: #ffe082;
    font-weight: 900;
    font-size: 1.01rem;
    letter-spacing: 1.1px;
    text-shadow: 0 2px 10px #d32f2f88, 0 1px 0 #333;
}
@media (max-width: 900px) {
    .mod-gallery {
        gap: 1.2rem;
    }
    .mod-thumb-link {
        max-width: 49vw;
    }
}
@media (max-width: 600px) {
    .mod-gallery {
        flex-direction: column;
        gap: 1.5rem;
    }
    .mod-thumb-link {
        max-width: 92vw;
    }
}

.hero-content {
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-icon {
    color: var(--white);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-icon:hover {
    color: var(--light-bg);
    transform: translateY(-3px);
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-grey);
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    letter-spacing: 1px;
}

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

.about-text p {
    margin-bottom: 1.5rem;
}

/* Projects Section */
.projects {
    padding: 5rem 0;
    background: var(--bg-grey);
    border-bottom: 1px solid var(--border-grey);
}

.projects h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    letter-spacing: 1px;
}

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

.project-card {
    background: rgba(34,34,38,0.93);
    border: 1.5px solid var(--border-grey);
    border-radius: 14px;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 430px;
}

.project-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    border-color: var(--accent-color);
}

.project-image {
    width: 100%;
    min-height: 180px;
    max-height: 220px;
    background: #232323;
    border-radius: 10px;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--border-grey);
    box-shadow: var(--shadow-light);
}

.project-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    background: #232323;
}

.project-card h3 {
    margin: 1rem 0 0.5rem 0;
    font-size: 1.3rem;
    color: var(--primary-color);
    text-align: center;
    letter-spacing: 1px;
}

.project-card p {
    text-align: center;
    font-size: 1rem;
    color: var(--text-mid);
    margin-bottom: 0;
}

/* Contact Section */
.contact.section-card {
    padding: 2.5rem 2.5rem 2.5rem 2.5rem;
    max-width: 700px;
    margin: 3rem auto 3rem auto;
    background: rgba(34,34,38,0.93);
    border-bottom: 1px solid var(--border-grey);
    box-sizing: border-box;
    overflow-x: hidden;
    min-width: 320px;
}

@media (max-width: 900px) {
    .contact.section-card {
        padding: 1.4rem 0.7rem 1.4rem 0.7rem;
        margin: 2.2rem 0.5rem 2.2rem 0.5rem;
        min-width: 0;
    }
    .email-form {
        padding: 1.2rem 0.5rem 1.2rem 0.5rem;
    }
}

@media (max-width: 600px) {
    .contact.section-card {
        padding: 0.7rem 0.2rem 0.7rem 0.2rem;
        margin: 1.2rem 0.1rem 1.2rem 0.1rem;
        min-width: 0;
    }
    .email-form {
        padding: 0.7rem 0.1rem 0.7rem 0.1rem;
    }
}


.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.server-connection {
    max-width: 600px;
    margin: 2.5rem auto 2rem auto;
    text-align: center;
    padding: 2rem 1rem 1.5rem 1rem;
    background: rgba(34,34,38,0.93);
    border-radius: 10px;
    border: 1.5px solid var(--border-grey);
    box-shadow: var(--shadow-light);
}

.connection-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.connect-button {
    margin-bottom: 0.5rem;
}

.red-btn {
    background: #d32f2f !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 2px 12px rgba(211,47,47,0.18), 0 1.5px 4px rgba(0,0,0,0.08);
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
}
.red-btn:hover, .red-btn:focus {
    background: #b71c1c !important;
    color: #fff !important;
    box-shadow: 0 4px 18px rgba(211,47,47,0.26), 0 2px 8px rgba(0,0,0,0.10);
}


.server-info {
    margin-top: 1.2rem;
    padding: 0.7rem 0.5rem;
    background: var(--bg-dark);
    border-radius: 5px;
    border: 1px solid var(--border-grey);
    box-shadow: var(--shadow-light);
    font-size: 1.05rem;
    color: var(--text-light);
}


.connect-button {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.connect-button:hover {
    background: var(--secondary-color);
}

.server-info {
    margin-top: 2rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.email-form {
    max-width: 600px;
    margin: 2.5rem auto 0 auto;
    text-align: center;
    background: rgba(34,34,38,0.93);
    border-radius: 10px;
    border: 1.5px solid var(--border-grey);
    box-shadow: var(--shadow-light);
    padding: 2rem 2rem 1.5rem 2rem;
    box-sizing: border-box;
    overflow-x: hidden;
}


.form-group {
    margin-bottom: 1.3rem;
    text-align: left;
}

.form-group:last-child {
    margin-bottom: 0;
}

#emailStatus {
    margin-top: 0.7rem;
    color: var(--primary-color);
    font-size: 0.95rem;
    text-align: center;
}


.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1.5px solid var(--border-grey);
    border-radius: 6px;
    font-family: inherit;
    background: var(--bg-dark);
    color: var(--text-light);
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

#sendButton {
    background: var(--accent-color);
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

#sendButton:hover {
    background: #1e40af;
}

#emailStatus {
    margin-top: 1rem;
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    background: var(--bg-grey);
    color: var(--text-mid);
    border-top: 1px solid var(--border-grey);
    box-shadow: var(--shadow-light);
}

/* Globe Section Styles */
.globe-section {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    background: rgba(34,34,38,0.93);
    box-shadow: var(--shadow-light);
    border-radius: 18px;
    border: 2px solid var(--border-grey);
    padding: 2rem 1.2rem 2.5rem 1.2rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.globe-section h2 {
    color: #fff;
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 0.7rem;
    letter-spacing: 1.5px;
}
.globe-location {
    color: #fff;
    font-weight: 700;
    font-size: 1.12rem;
    margin-top: 1.1rem;
    text-align: center;
    letter-spacing: 1px;
}
.globe-desc {
    color: #bdbdbd;
    font-size: 1.05rem;
    margin-bottom: 1.1rem;
    font-family: 'Fira Sans', 'Segoe UI', Arial, sans-serif;
    letter-spacing: 0.5px;
}
#globeViz {
    background: #16181a;
    border-radius: 14px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.18), var(--shadow-light);
    margin: 0 auto;
    min-height: 340px;
    max-width: 700px;
    width: 100%;
}

/* Snake Game Styles */
.snake-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.19);
}
.snake-desc {
    font-size: 1.18rem;
    color: #bdbdbd;
    text-align: center;
    margin-bottom: 1.6rem;
    font-family: 'Fira Sans', 'Segoe UI', Arial, sans-serif;
    letter-spacing: 1px;
}
.snake-game-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}
#snake-canvas {
    background: #181a1b;
    border: 2.5px solid var(--border-grey);
    border-radius: 18px;
    box-shadow: 0 4px 28px rgba(0,0,0,0.18), var(--shadow-light);
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 600px;
    height: auto;
    aspect-ratio: 1/1;
}
.snake-controls {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.snake-score, .snake-highscore {
    color: #fff;
    font-size: 1.05rem;
    background: #232325;
    padding: 0.4rem 1.1rem;
    border-radius: 8px;
    box-shadow: 0 1.5px 6px rgba(0,0,0,0.11);
    margin: 0 0.2rem;
    font-family: 'Fira Mono', 'Consolas', monospace;
}
@media (max-width: 700px) {
    #snake-canvas {
        max-width: 98vw;
    }
    .snake-controls {
        gap: 0.7rem;
    }
    .snake-score, .snake-highscore {
        font-size: 0.95rem;
        padding: 0.3rem 0.7rem;
    }
}

/* Section Card Styling for definition */
.section-card {
    border: 2px solid var(--border-grey);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.11), var(--shadow-light);
    margin: 3.5rem auto 3.5rem auto;
    padding: 2.5rem 2.5rem 2.5rem 2.5rem;
    max-width: 1200px;
    background: rgba(34,34,38,0.93);
}

@media (max-width: 900px) {
    .section-card, .contact.section-card {
        padding: 1.2rem 0.7rem 1.2rem 0.7rem;
        margin: 2.2rem 0.5rem 2.2rem 0.5rem;
    }
    .email-form {
        padding: 1.2rem 0.5rem 1.2rem 0.5rem;
    }
}

@media (max-width: 600px) {
    .section-card {
        padding: 0.5rem 0.2rem 0.5rem 0.2rem;
        margin: 1.2rem 0.1rem 1.2rem 0.1rem;
    }
}


/* Responsive Design */
.form-footer {
    margin-top: 1.5rem;
    color: var(--text-mid);
    font-size: 0.97rem;
    text-align: center;
}

/* World Clocks Section */
.world-clocks {
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-grey);
    padding: 3.7rem 0 2.2rem 0;
    box-shadow: var(--shadow-light);
    margin-bottom: 0.5rem;
}


.clocks-container {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

.clock-card {
    background: rgba(34,34,38,0.93);
    border: 1.5px solid var(--border-grey);
    border-radius: 14px;
    box-shadow: var(--shadow-light);
    padding: 1.4rem 1.3rem 1.1rem 1.3rem;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.analog-clock {
    width: 70px;
    height: 70px;
    background: var(--bg-dark);
    border: 2px solid var(--border-grey);
    border-radius: 50%;
    position: relative;
    margin-bottom: 0.7rem;
    box-shadow: var(--shadow-light);
}

.clock-hand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform-origin: bottom center;
    background: var(--primary-color);
    border-radius: 2px;
}

.clock-hand.hour {
    width: 5px;
    height: 18px;
    background: #fff;
    margin-left: -2.5px;
    margin-top: -18px;
}

.clock-hand.minute {
    width: 3px;
    height: 26px;
    background: #ccc;
    margin-left: -1.5px;
    margin-top: -26px;
}

.clock-hand.second {
    width: 2px;
    height: 31px;
    background: #f87171;
    margin-left: -1px;
    margin-top: -31px;
}

.digital-clock {
    font-family: 'Poppins', monospace;
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    letter-spacing: 1px;
}

.timezone-label {
    color: var(--text-mid);
    font-size: 0.98rem;
    margin-top: 0.3rem;
    letter-spacing: 0.5px;
}

@media (max-width: 900px) {
    .project-grid {
        grid-template-columns: 1fr;
    }
    .project-card {
        min-height: 320px;
        padding: 1.2rem 0.7rem 1.2rem 0.7rem;
    }
    .server-connection, .email-form {
        padding: 1.2rem 0.5rem 1.1rem 0.5rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .nav-links {
        display: none;
    }
    .contact-form {
        width: 100%;
    }
    .project-card {
        min-height: 240px;
    }
    .project-image {
        min-height: 120px;
        max-height: 140px;
    }
    .server-connection, .email-form {
        padding: 0.7rem 0.2rem 0.7rem 0.2rem;
    }
}
