@cupcodev/ui 5.1.2 → 6.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/styles/global.css CHANGED
@@ -696,29 +696,46 @@
696
696
 
697
697
  /* ===== Blob CTA Button (Webflow button-1) ===== */
698
698
  .cc-blob-cta {
699
- --cc-blob-shell: linear-gradient(140deg, rgba(255, 255, 255, 0.64), rgba(248, 243, 255, 0.52));
700
- --cc-blob-border: rgba(124, 91, 187, 0.26);
701
- --cc-blob-shadow: 0 12px 26px -18px rgba(58, 42, 88, 0.45), 0 8px 20px -16px rgba(124, 91, 187, 0.5);
702
- --cc-blob-shadow-hover: 0 16px 30px -18px rgba(58, 42, 88, 0.52), 0 10px 26px -16px rgba(124, 91, 187, 0.58);
703
- --cc-blob-wrap-bg: rgba(255, 255, 255, 0.26);
704
- --cc-blob-bg: linear-gradient(140deg, rgba(255, 255, 255, 0.62), rgba(246, 238, 255, 0.5));
705
- --cc-blob-bg-hover: linear-gradient(140deg, rgba(255, 255, 255, 0.7), rgba(238, 224, 252, 0.56));
706
- --cc-blob-bg-active: linear-gradient(140deg, rgba(255, 255, 255, 0.56), rgba(228, 210, 248, 0.48));
707
- --cc-blob-label: hsl(var(--cc-ink));
708
- --cc-blob-glow-1: rgba(151, 90, 182, 0.38);
709
- --cc-blob-glow-2: rgba(237, 30, 121, 0.23);
699
+ --cc-blob-shell: linear-gradient(140deg, rgba(244, 255, 249, 0.72), rgba(226, 255, 240, 0.56));
700
+ --cc-blob-border: rgba(24, 183, 101, 0.34);
701
+ --cc-blob-shadow: 0 12px 26px -18px rgba(17, 78, 54, 0.32), 0 10px 24px -16px rgba(24, 183, 101, 0.36);
702
+ --cc-blob-shadow-hover: 0 16px 30px -18px rgba(17, 78, 54, 0.38), 0 12px 28px -16px rgba(24, 183, 101, 0.42);
703
+ --cc-blob-wrap-bg: rgba(224, 255, 241, 0.34);
704
+ --cc-blob-bg: linear-gradient(140deg, rgba(255, 255, 255, 0.66), rgba(230, 255, 242, 0.52));
705
+ --cc-blob-bg-hover: linear-gradient(140deg, rgba(255, 255, 255, 0.72), rgba(208, 250, 227, 0.58));
706
+ --cc-blob-bg-active: linear-gradient(140deg, rgba(247, 255, 251, 0.58), rgba(191, 245, 217, 0.5));
707
+ --cc-blob-label: #114e36;
708
+ --cc-blob-glow-1: rgba(24, 183, 101, 0.28);
709
+ --cc-blob-glow-2: rgba(66, 255, 211, 0.2);
710
710
  --cc-blob-glow-opacity-1: 0.34;
711
711
  --cc-blob-glow-opacity-2: 0.24;
712
712
  --cc-blob-color-opacity: 0.88;
713
+ --cc-blob-blur-md: var(--glass-blur-md, 16px);
714
+ --cc-blob-blur-sm: var(--glass-blur-sm, 10px);
715
+ --cc-blob-radius: 9999px;
716
+ --cc-blob-font: var(
717
+ --font-display,
718
+ "Tomorrow",
719
+ ui-sans-serif,
720
+ system-ui,
721
+ -apple-system,
722
+ "Segoe UI",
723
+ Roboto,
724
+ "Helvetica Neue",
725
+ Arial,
726
+ sans-serif
727
+ );
713
728
  position: relative;
714
729
  display: inline-flex;
715
730
  align-items: center;
716
731
  justify-content: center;
717
- width: 160px;
718
- height: 60px;
732
+ width: auto;
733
+ min-width: 0;
734
+ height: auto;
735
+ min-height: 0;
719
736
  border: 0;
720
- border-radius: 12px;
721
- padding: 0 16px;
737
+ border-radius: var(--cc-blob-radius);
738
+ padding: 10px 15px;
722
739
  cursor: pointer;
723
740
  background: var(--cc-blob-shell);
724
741
  color: var(--cc-blob-label);
@@ -726,8 +743,8 @@
726
743
  overflow: visible;
727
744
  isolation: isolate;
728
745
  box-shadow: var(--cc-blob-shadow);
729
- backdrop-filter: blur(var(--glass-blur-md)) saturate(145%);
730
- -webkit-backdrop-filter: blur(var(--glass-blur-md)) saturate(145%);
746
+ backdrop-filter: blur(var(--cc-blob-blur-md)) saturate(145%);
747
+ -webkit-backdrop-filter: blur(var(--cc-blob-blur-md)) saturate(145%);
731
748
  text-decoration: none;
732
749
  transition: transform 200ms ease, box-shadow 300ms ease;
733
750
  -webkit-tap-highlight-color: transparent;
@@ -738,7 +755,7 @@
738
755
  }
739
756
 
740
757
  .cc-blob-cta:focus-visible {
741
- outline: 2px solid rgba(237, 30, 121, 0.55);
758
+ outline: 2px solid rgba(24, 183, 101, 0.45);
742
759
  outline-offset: 2px;
743
760
  }
744
761
 
@@ -756,33 +773,29 @@
756
773
  }
757
774
 
758
775
  .cc-blob-cta--sm {
759
- width: 132px;
760
- height: 50px;
761
- border-radius: 10px;
776
+ border-radius: var(--cc-blob-radius);
762
777
  }
763
778
 
764
779
  .cc-blob-cta--md {
765
- width: 160px;
766
- height: 60px;
767
- border-radius: 12px;
780
+ border-radius: var(--cc-blob-radius);
768
781
  }
769
782
 
770
783
  .cc-blob-cta--lg {
771
- width: 184px;
772
- height: 68px;
773
- border-radius: 14px;
784
+ border-radius: var(--cc-blob-radius);
774
785
  }
775
786
 
776
787
  .cc-blob-cta__color-wrap {
777
788
  position: absolute;
778
789
  inset: 0;
779
790
  z-index: 0;
780
- border-radius: inherit;
791
+ border-radius: var(--cc-blob-radius);
781
792
  background-color: var(--cc-blob-wrap-bg);
782
793
  border: 1px solid rgba(255, 255, 255, 0.65);
783
- backdrop-filter: blur(var(--glass-blur-sm)) saturate(120%);
784
- -webkit-backdrop-filter: blur(var(--glass-blur-sm)) saturate(120%);
794
+ backdrop-filter: blur(var(--cc-blob-blur-sm)) saturate(120%);
795
+ -webkit-backdrop-filter: blur(var(--cc-blob-blur-sm)) saturate(120%);
785
796
  overflow: hidden;
797
+ clip-path: inset(0 round var(--cc-blob-radius));
798
+ -webkit-mask-image: -webkit-radial-gradient(white, black);
786
799
  pointer-events: none;
787
800
  }
788
801
 
@@ -793,13 +806,14 @@
793
806
  left: 50%;
794
807
  width: 97%;
795
808
  height: 95%;
796
- border-radius: inherit;
809
+ border-radius: var(--cc-blob-radius);
797
810
  background: var(--cc-blob-bg);
798
811
  box-shadow:
799
812
  inset 0 1px 0 rgba(255, 255, 255, 0.7),
800
813
  0 4px 14px -14px rgba(58, 42, 88, 0.45);
801
- backdrop-filter: blur(var(--glass-blur-sm));
802
- -webkit-backdrop-filter: blur(var(--glass-blur-sm));
814
+ backdrop-filter: blur(var(--cc-blob-blur-sm));
815
+ -webkit-backdrop-filter: blur(var(--cc-blob-blur-sm));
816
+ clip-path: inset(0 round var(--cc-blob-radius));
803
817
  transform: translate(-50%, -50%);
804
818
  transition: all 0.3s ease-in-out;
805
819
  }
@@ -821,7 +835,7 @@
821
835
  align-items: center;
822
836
  justify-content: center;
823
837
  color: var(--cc-blob-label);
824
- font-family: var(--font-display);
838
+ font-family: var(--cc-blob-font);
825
839
  font-size: 14px;
826
840
  font-weight: 600;
827
841
  line-height: 1;
@@ -854,19 +868,19 @@
854
868
  .cc-blob-cta__color--1 {
855
869
  top: -30%;
856
870
  left: -5%;
857
- background-image: linear-gradient(112deg, #ff0f33d6, #ff6600db);
871
+ background-image: linear-gradient(112deg, #8dff4ed9, #18b765db);
858
872
  }
859
873
 
860
874
  .cc-blob-cta__color--2 {
861
875
  top: -30%;
862
876
  left: 29%;
863
- background-image: linear-gradient(251deg, #07fc, #ad15ffe0);
877
+ background-image: linear-gradient(251deg, #42ffd3e0, #15d4ffe0);
864
878
  }
865
879
 
866
880
  .cc-blob-cta__color--3 {
867
881
  top: -30%;
868
882
  left: 8%;
869
- background-image: linear-gradient(251deg, #7300ffd6, #e815ffd9);
883
+ background-image: linear-gradient(251deg, #7cff95d4, #15ff8fd9);
870
884
  }
871
885
 
872
886
  .cc-blob-cta:hover .cc-blob-cta__color--1,
@@ -885,34 +899,35 @@
885
899
  }
886
900
 
887
901
  .cc-blob-cta--secondary .cc-blob-cta__color--1 {
888
- background-image: linear-gradient(112deg, #8dff4ed9, #18b765db);
902
+ background-image: linear-gradient(112deg, #ff0f33d6, #ff6600db);
889
903
  }
890
904
 
891
905
  .cc-blob-cta--secondary .cc-blob-cta__color--2 {
892
- background-image: linear-gradient(251deg, #42ffd3e0, #15d4ffe0);
906
+ background-image: linear-gradient(251deg, #07fc, #ad15ffe0);
893
907
  }
894
908
 
895
909
  .cc-blob-cta--secondary .cc-blob-cta__color--3 {
896
- background-image: linear-gradient(251deg, #7cff95d4, #15ff8fd9);
910
+ background-image: linear-gradient(251deg, #7300ffd6, #e815ffd9);
897
911
  }
898
912
 
899
913
  .cc-blob-cta--secondary {
900
- --cc-blob-wrap-bg: rgba(224, 255, 241, 0.34);
901
- --cc-blob-bg: linear-gradient(140deg, rgba(255, 255, 255, 0.66), rgba(230, 255, 242, 0.52));
902
- --cc-blob-bg-hover: linear-gradient(140deg, rgba(255, 255, 255, 0.72), rgba(208, 250, 227, 0.58));
903
- --cc-blob-bg-active: linear-gradient(140deg, rgba(247, 255, 251, 0.58), rgba(191, 245, 217, 0.5));
904
- --cc-blob-label: #114e36;
905
- --cc-blob-border: rgba(24, 183, 101, 0.34);
906
- --cc-blob-shadow: 0 12px 26px -18px rgba(17, 78, 54, 0.32), 0 10px 24px -16px rgba(24, 183, 101, 0.36);
907
- --cc-blob-shadow-hover: 0 16px 30px -18px rgba(17, 78, 54, 0.38), 0 12px 28px -16px rgba(24, 183, 101, 0.42);
908
- --cc-blob-glow-1: rgba(24, 183, 101, 0.28);
909
- --cc-blob-glow-2: rgba(66, 255, 211, 0.2);
914
+ --cc-blob-shell: linear-gradient(140deg, rgba(255, 255, 255, 0.64), rgba(248, 243, 255, 0.52));
915
+ --cc-blob-wrap-bg: rgba(255, 255, 255, 0.26);
916
+ --cc-blob-bg: linear-gradient(140deg, rgba(255, 255, 255, 0.62), rgba(246, 238, 255, 0.5));
917
+ --cc-blob-bg-hover: linear-gradient(140deg, rgba(255, 255, 255, 0.7), rgba(238, 224, 252, 0.56));
918
+ --cc-blob-bg-active: linear-gradient(140deg, rgba(255, 255, 255, 0.56), rgba(228, 210, 248, 0.48));
919
+ --cc-blob-label: hsl(var(--cc-ink, 261 35% 25%));
920
+ --cc-blob-border: rgba(124, 91, 187, 0.26);
921
+ --cc-blob-shadow: 0 12px 26px -18px rgba(58, 42, 88, 0.45), 0 8px 20px -16px rgba(124, 91, 187, 0.5);
922
+ --cc-blob-shadow-hover: 0 16px 30px -18px rgba(58, 42, 88, 0.52), 0 10px 26px -16px rgba(124, 91, 187, 0.58);
923
+ --cc-blob-glow-1: rgba(151, 90, 182, 0.38);
924
+ --cc-blob-glow-2: rgba(237, 30, 121, 0.23);
910
925
  }
911
926
 
912
927
  .cc-blob-cta--half {
913
928
  --cc-blob-wrap-bg: rgba(235, 227, 250, 0.35);
914
929
  --cc-blob-bg: linear-gradient(140deg, rgba(255, 255, 255, 0.66), rgba(236, 227, 252, 0.54));
915
- --cc-blob-label: hsl(var(--cc-purple));
930
+ --cc-blob-label: hsl(var(--cc-purple, 261 41% 55%));
916
931
  --cc-blob-border: rgba(124, 91, 187, 0.34);
917
932
  --cc-blob-glow-1: rgba(124, 91, 187, 0.34);
918
933
  --cc-blob-glow-2: rgba(95, 110, 255, 0.22);
@@ -947,17 +962,29 @@
947
962
  }
948
963
 
949
964
  .dark .cc-blob-cta {
950
- --cc-blob-shell: linear-gradient(140deg, hsl(var(--cc-ink) / 0.62), hsl(var(--cc-ink) / 0.48));
951
- --cc-blob-border: rgba(124, 91, 187, 0.36);
952
- --cc-blob-shadow: 0 0 15px #3913b659;
953
- --cc-blob-shadow-hover: 0 0 22px rgba(57, 19, 182, 0.5);
954
- --cc-blob-wrap-bg: hsl(var(--cc-ink) / 0.52);
955
- --cc-blob-bg: linear-gradient(140deg, hsl(var(--cc-ink) / 0.78), hsl(var(--cc-ink) / 0.62));
956
- --cc-blob-bg-hover: linear-gradient(140deg, hsl(var(--cc-ink) / 0.86), hsl(var(--cc-ink) / 0.68));
957
- --cc-blob-bg-active: linear-gradient(140deg, hsl(var(--cc-ink) / 0.66), hsl(var(--cc-ink) / 0.52));
958
- --cc-blob-label: #ffffff;
959
- --cc-blob-glow-1: hsl(var(--cc-ink));
960
- --cc-blob-glow-2: rgba(124, 91, 187, 0.48);
965
+ --cc-blob-shell: linear-gradient(140deg, rgba(7, 22, 15, 0.78), rgba(9, 37, 24, 0.62));
966
+ --cc-blob-border: rgba(24, 183, 101, 0.34);
967
+ --cc-blob-shadow: 0 0 15px rgba(16, 126, 74, 0.38);
968
+ --cc-blob-shadow-hover: 0 0 24px rgba(16, 126, 74, 0.5);
969
+ --cc-blob-wrap-bg: rgba(9, 37, 24, 0.42);
970
+ --cc-blob-bg: linear-gradient(
971
+ 140deg,
972
+ rgba(7, 22, 15, 0.76),
973
+ rgba(9, 37, 24, 0.6)
974
+ );
975
+ --cc-blob-bg-hover: linear-gradient(
976
+ 140deg,
977
+ rgba(9, 37, 24, 0.82),
978
+ rgba(11, 45, 29, 0.64)
979
+ );
980
+ --cc-blob-bg-active: linear-gradient(
981
+ 140deg,
982
+ rgba(8, 31, 21, 0.7),
983
+ rgba(8, 31, 21, 0.56)
984
+ );
985
+ --cc-blob-label: #ecfff6;
986
+ --cc-blob-glow-1: rgba(24, 183, 101, 0.3);
987
+ --cc-blob-glow-2: rgba(66, 255, 211, 0.18);
961
988
  --cc-blob-glow-opacity-1: 0.35;
962
989
  --cc-blob-glow-opacity-2: 0.22;
963
990
  --cc-blob-color-opacity: 1;
@@ -972,23 +999,40 @@
972
999
  }
973
1000
 
974
1001
  .dark .cc-blob-cta--secondary {
975
- --cc-blob-wrap-bg: rgba(9, 37, 24, 0.42);
976
- --cc-blob-bg: linear-gradient(140deg, rgba(7, 22, 15, 0.76), rgba(9, 37, 24, 0.6));
977
- --cc-blob-bg-hover: linear-gradient(140deg, rgba(9, 37, 24, 0.82), rgba(11, 45, 29, 0.64));
978
- --cc-blob-bg-active: linear-gradient(140deg, rgba(8, 31, 21, 0.7), rgba(8, 31, 21, 0.56));
979
- --cc-blob-label: #ecfff6;
980
- --cc-blob-border: rgba(24, 183, 101, 0.34);
981
- --cc-blob-shadow: 0 0 15px rgba(16, 126, 74, 0.38);
982
- --cc-blob-shadow-hover: 0 0 24px rgba(16, 126, 74, 0.5);
983
- --cc-blob-glow-1: rgba(24, 183, 101, 0.3);
984
- --cc-blob-glow-2: rgba(66, 255, 211, 0.18);
1002
+ --cc-blob-shell: linear-gradient(
1003
+ 140deg,
1004
+ hsl(var(--cc-ink, 261 35% 25%) / 0.62),
1005
+ hsl(var(--cc-ink, 261 35% 25%) / 0.48)
1006
+ );
1007
+ --cc-blob-border: rgba(124, 91, 187, 0.36);
1008
+ --cc-blob-shadow: 0 0 15px #3913b659;
1009
+ --cc-blob-shadow-hover: 0 0 22px rgba(57, 19, 182, 0.5);
1010
+ --cc-blob-wrap-bg: hsl(var(--cc-ink, 261 35% 25%) / 0.52);
1011
+ --cc-blob-bg: linear-gradient(140deg, hsl(var(--cc-ink, 261 35% 25%) / 0.78), hsl(var(--cc-ink, 261 35% 25%) / 0.62));
1012
+ --cc-blob-bg-hover: linear-gradient(140deg, hsl(var(--cc-ink, 261 35% 25%) / 0.86), hsl(var(--cc-ink, 261 35% 25%) / 0.68));
1013
+ --cc-blob-bg-active: linear-gradient(140deg, hsl(var(--cc-ink, 261 35% 25%) / 0.66), hsl(var(--cc-ink, 261 35% 25%) / 0.52));
1014
+ --cc-blob-label: #ffffff;
1015
+ --cc-blob-glow-1: hsl(var(--cc-ink, 261 35% 25%));
1016
+ --cc-blob-glow-2: rgba(124, 91, 187, 0.48);
985
1017
  }
986
1018
 
987
1019
  .dark .cc-blob-cta--half {
988
- --cc-blob-wrap-bg: hsl(var(--cc-ink) / 0.48);
989
- --cc-blob-bg: linear-gradient(140deg, hsl(var(--cc-ink) / 0.74), rgba(16, 12, 35, 0.64));
990
- --cc-blob-bg-hover: linear-gradient(140deg, hsl(var(--cc-ink) / 0.82), rgba(16, 12, 35, 0.7));
991
- --cc-blob-bg-active: linear-gradient(140deg, hsl(var(--cc-ink) / 0.68), rgba(12, 8, 25, 0.62));
1020
+ --cc-blob-wrap-bg: hsl(var(--cc-ink, 261 35% 25%) / 0.48);
1021
+ --cc-blob-bg: linear-gradient(
1022
+ 140deg,
1023
+ hsl(var(--cc-ink, 261 35% 25%) / 0.74),
1024
+ rgba(16, 12, 35, 0.64)
1025
+ );
1026
+ --cc-blob-bg-hover: linear-gradient(
1027
+ 140deg,
1028
+ hsl(var(--cc-ink, 261 35% 25%) / 0.82),
1029
+ rgba(16, 12, 35, 0.7)
1030
+ );
1031
+ --cc-blob-bg-active: linear-gradient(
1032
+ 140deg,
1033
+ hsl(var(--cc-ink, 261 35% 25%) / 0.68),
1034
+ rgba(12, 8, 25, 0.62)
1035
+ );
992
1036
  --cc-blob-label: #ece6ff;
993
1037
  }
994
1038
 
@@ -1136,7 +1180,7 @@
1136
1180
  inset 0 1px 0 rgba(255, 255, 255, 0.45),
1137
1181
  0 14px 34px -22px rgba(0, 0, 0, 0.8);
1138
1182
  transition:
1139
- width 420ms cubic-bezier(0.22, 0.61, 0.36, 1),
1183
+ width 520ms cubic-bezier(0.22, 1, 0.36, 1),
1140
1184
  border-color 220ms ease,
1141
1185
  background-color 220ms ease,
1142
1186
  box-shadow 220ms ease;
@@ -1146,8 +1190,7 @@
1146
1190
  outline: none;
1147
1191
  }
1148
1192
 
1149
- .cc-video-watch-btn:hover,
1150
- .cc-video-watch-btn:focus-visible {
1193
+ .cc-video-watch-btn:hover {
1151
1194
  width: 180px;
1152
1195
  border-color: rgba(208, 154, 255, 0.5);
1153
1196
  background: rgba(255, 255, 255, 0.13);
@@ -1184,13 +1227,12 @@
1184
1227
  linear-gradient(120deg, rgba(151, 90, 182, 0.2), rgba(124, 91, 187, 0.16));
1185
1228
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
1186
1229
  transition:
1187
- width 420ms cubic-bezier(0.22, 0.61, 0.36, 1),
1230
+ width 520ms cubic-bezier(0.22, 1, 0.36, 1),
1188
1231
  border-color 220ms ease,
1189
1232
  box-shadow 220ms ease;
1190
1233
  }
1191
1234
 
1192
- .cc-video-watch-btn:hover .cc-video-watch-btn__bg,
1193
- .cc-video-watch-btn:focus-visible .cc-video-watch-btn__bg {
1235
+ .cc-video-watch-btn:hover .cc-video-watch-btn__bg {
1194
1236
  width: 164px;
1195
1237
  border-color: rgba(255, 255, 255, 0.38);
1196
1238
  box-shadow:
@@ -1211,8 +1253,7 @@
1211
1253
  transition: transform 320ms ease;
1212
1254
  }
1213
1255
 
1214
- .cc-video-watch-btn:hover .cc-video-watch-btn__icon,
1215
- .cc-video-watch-btn:focus-visible .cc-video-watch-btn__icon {
1256
+ .cc-video-watch-btn:hover .cc-video-watch-btn__icon {
1216
1257
  transform: translateX(0);
1217
1258
  }
1218
1259
 
@@ -1232,16 +1273,16 @@
1232
1273
  letter-spacing: 0.01em;
1233
1274
  color: hsl(var(--cc-pink));
1234
1275
  transition:
1235
- max-width 380ms cubic-bezier(0.22, 0.61, 0.36, 1),
1236
- opacity 240ms ease,
1237
- transform 320ms ease;
1276
+ max-width 420ms cubic-bezier(0.22, 1, 0.36, 1),
1277
+ opacity 320ms ease,
1278
+ transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
1238
1279
  }
1239
1280
 
1240
- .cc-video-watch-btn:hover .cc-video-watch-btn__label,
1241
- .cc-video-watch-btn:focus-visible .cc-video-watch-btn__label {
1281
+ .cc-video-watch-btn:hover .cc-video-watch-btn__label {
1242
1282
  max-width: 96px;
1243
1283
  opacity: 1;
1244
1284
  transform: translateX(0);
1285
+ color: hsl(var(--cc-purple));
1245
1286
  }
1246
1287
 
1247
1288
  .cc-video-watch-btn__mask {
@@ -1256,70 +1297,100 @@
1256
1297
 
1257
1298
  .cc-video-watch-btn__blob {
1258
1299
  position: absolute;
1259
- width: 50px;
1260
- height: 50px;
1300
+ width: 88px;
1301
+ height: 88px;
1261
1302
  border-radius: 50%;
1262
1303
  will-change: transform;
1304
+ filter: blur(10px) saturate(125%);
1305
+ opacity: 0.94;
1306
+ mix-blend-mode: screen;
1307
+ animation: none;
1308
+ transition: transform 560ms cubic-bezier(0.22, 1, 0.36, 1), opacity 320ms ease;
1263
1309
  }
1264
1310
 
1265
1311
  .cc-video-watch-btn__blob--1 {
1266
- top: -8px;
1267
- left: -12px;
1312
+ top: -30px;
1313
+ left: -34px;
1268
1314
  background: radial-gradient(
1269
- circle at 30% 30%,
1270
- rgba(159, 160, 255, 0.82) 0%,
1271
- rgba(124, 91, 187, 0.58) 55%,
1315
+ circle at 36% 34%,
1316
+ rgba(159, 160, 255, 0.52) 0%,
1317
+ rgba(124, 91, 187, 0.34) 34%,
1318
+ rgba(124, 91, 187, 0.16) 56%,
1319
+ rgba(124, 91, 187, 0.05) 72%,
1272
1320
  rgba(124, 91, 187, 0) 100%
1273
1321
  );
1274
- animation: cc-video-watch-blob-1 9.5s linear infinite;
1275
1322
  }
1276
1323
 
1277
1324
  .cc-video-watch-btn__blob--2 {
1278
- top: 12px;
1279
- left: 26px;
1325
+ top: 2px;
1326
+ left: 6px;
1280
1327
  background: radial-gradient(
1281
- circle at 30% 30%,
1282
- rgba(249, 104, 173, 0.86) 0%,
1283
- rgba(237, 30, 121, 0.6) 55%,
1328
+ circle at 34% 34%,
1329
+ rgba(249, 104, 173, 0.5) 0%,
1330
+ rgba(237, 30, 121, 0.34) 34%,
1331
+ rgba(237, 30, 121, 0.16) 56%,
1332
+ rgba(237, 30, 121, 0.05) 72%,
1284
1333
  rgba(237, 30, 121, 0) 100%
1285
1334
  );
1286
- animation: cc-video-watch-blob-2 9.5s linear infinite;
1287
1335
  }
1288
1336
 
1289
1337
  .cc-video-watch-btn__blob--3 {
1290
- top: -16px;
1291
- left: 18px;
1338
+ top: -34px;
1339
+ left: 24px;
1292
1340
  background: radial-gradient(
1293
- circle at 30% 30%,
1294
- rgba(111, 248, 222, 0.8) 0%,
1295
- rgba(89, 200, 255, 0.56) 55%,
1341
+ circle at 34% 34%,
1342
+ rgba(111, 248, 222, 0.48) 0%,
1343
+ rgba(89, 200, 255, 0.32) 34%,
1344
+ rgba(89, 200, 255, 0.14) 56%,
1345
+ rgba(89, 200, 255, 0.04) 72%,
1296
1346
  rgba(89, 200, 255, 0) 100%
1297
1347
  );
1298
- animation: cc-video-watch-blob-3 9.5s linear infinite;
1299
1348
  }
1300
1349
 
1301
1350
  .cc-video-watch-btn__blob--4 {
1302
- top: 8px;
1303
- left: 50px;
1351
+ top: -2px;
1352
+ left: 54px;
1304
1353
  background: radial-gradient(
1305
- circle at 30% 30%,
1306
- rgba(255, 197, 115, 0.82) 0%,
1307
- rgba(255, 142, 161, 0.54) 55%,
1354
+ circle at 34% 34%,
1355
+ rgba(255, 197, 115, 0.5) 0%,
1356
+ rgba(255, 142, 161, 0.32) 34%,
1357
+ rgba(255, 142, 161, 0.15) 56%,
1358
+ rgba(255, 142, 161, 0.04) 72%,
1308
1359
  rgba(255, 142, 161, 0) 100%
1309
1360
  );
1310
- animation: cc-video-watch-blob-4 9.5s linear infinite;
1311
1361
  }
1312
1362
 
1313
1363
  .cc-video-watch-btn__blob--5 {
1314
- top: -10px;
1315
- left: 64px;
1364
+ top: -26px;
1365
+ left: 86px;
1316
1366
  background: radial-gradient(
1317
- circle at 30% 30%,
1318
- rgba(95, 110, 255, 0.82) 0%,
1319
- rgba(151, 90, 182, 0.55) 55%,
1367
+ circle at 34% 34%,
1368
+ rgba(95, 110, 255, 0.5) 0%,
1369
+ rgba(151, 90, 182, 0.34) 34%,
1370
+ rgba(151, 90, 182, 0.16) 56%,
1371
+ rgba(151, 90, 182, 0.05) 72%,
1320
1372
  rgba(151, 90, 182, 0) 100%
1321
1373
  );
1322
- animation: cc-video-watch-blob-5 9.5s linear infinite;
1374
+ }
1375
+
1376
+ .cc-video-watch-btn:hover .cc-video-watch-btn__blob--1 {
1377
+ animation: cc-video-watch-blob-1 10.2s cubic-bezier(0.42, 0, 0.58, 1) infinite both;
1378
+ }
1379
+
1380
+ .cc-video-watch-btn:hover .cc-video-watch-btn__blob--2 {
1381
+ animation: cc-video-watch-blob-2 10.2s cubic-bezier(0.42, 0, 0.58, 1) infinite both;
1382
+ }
1383
+
1384
+ .cc-video-watch-btn:hover .cc-video-watch-btn__blob--3 {
1385
+ animation: cc-video-watch-blob-3 10.2s cubic-bezier(0.42, 0, 0.58, 1) infinite both;
1386
+ }
1387
+
1388
+ .cc-video-watch-btn:hover .cc-video-watch-btn__blob--4 {
1389
+ animation: cc-video-watch-blob-4 10.2s cubic-bezier(0.42, 0, 0.58, 1) infinite both;
1390
+ }
1391
+
1392
+ .cc-video-watch-btn:hover .cc-video-watch-btn__blob--5 {
1393
+ animation: cc-video-watch-blob-5 10.2s cubic-bezier(0.42, 0, 0.58, 1) infinite both;
1323
1394
  }
1324
1395
 
1325
1396
  .cc-video-watch-btn__glow {
@@ -1334,8 +1405,7 @@
1334
1405
  transition: opacity 320ms ease;
1335
1406
  }
1336
1407
 
1337
- .cc-video-watch-btn:hover .cc-video-watch-btn__glow,
1338
- .cc-video-watch-btn:focus-visible .cc-video-watch-btn__glow {
1408
+ .cc-video-watch-btn:hover .cc-video-watch-btn__glow {
1339
1409
  opacity: 0.72;
1340
1410
  }
1341
1411
 
@@ -1348,81 +1418,136 @@
1348
1418
  border-color: rgba(255, 255, 255, 0.32);
1349
1419
  }
1350
1420
 
1421
+ .dark .cc-video-watch-btn:hover .cc-video-watch-btn__label {
1422
+ color: hsl(var(--cc-pink));
1423
+ }
1424
+
1351
1425
  @keyframes cc-video-watch-blob-1 {
1352
- 0%, 21.05% {
1426
+ 0%, 18% {
1353
1427
  transform: translate3d(0, 0, 0);
1354
1428
  }
1355
- 47.37% {
1429
+ 44% {
1356
1430
  transform: translate3d(130px, 68px, 0);
1357
1431
  }
1358
- 73.68% {
1432
+ 72% {
1359
1433
  transform: translate3d(160px, -70px, 0);
1360
1434
  }
1435
+ 88% {
1436
+ transform: translate3d(24px, -12px, 0);
1437
+ }
1361
1438
  100% {
1362
1439
  transform: translate3d(0, 0, 0);
1363
1440
  }
1364
1441
  }
1365
1442
 
1366
1443
  @keyframes cc-video-watch-blob-2 {
1367
- 0%, 21.05% {
1444
+ 0%, 18% {
1368
1445
  transform: translate3d(0, 0, 0);
1369
1446
  }
1370
- 47.37% {
1447
+ 44% {
1371
1448
  transform: translate3d(-140px, -53px, 0);
1372
1449
  }
1373
- 73.68% {
1450
+ 72% {
1374
1451
  transform: translate3d(-260px, 40px, 0);
1375
1452
  }
1453
+ 88% {
1454
+ transform: translate3d(-18px, 6px, 0);
1455
+ }
1376
1456
  100% {
1377
- transform: translate3d(-66px, 0, 0);
1457
+ transform: translate3d(0, 0, 0);
1378
1458
  }
1379
1459
  }
1380
1460
 
1381
1461
  @keyframes cc-video-watch-blob-3 {
1382
- 0%, 21.05% {
1462
+ 0%, 18% {
1383
1463
  transform: translate3d(0, 0, 0);
1384
1464
  }
1385
- 47.37% {
1465
+ 44% {
1386
1466
  transform: translate3d(100px, -73px, 0);
1387
1467
  }
1388
- 73.68% {
1468
+ 72% {
1389
1469
  transform: translate3d(100px, 0, 0);
1390
1470
  }
1471
+ 88% {
1472
+ transform: translate3d(18px, -10px, 0);
1473
+ }
1391
1474
  100% {
1392
1475
  transform: translate3d(0, 0, 0);
1393
1476
  }
1394
1477
  }
1395
1478
 
1396
1479
  @keyframes cc-video-watch-blob-4 {
1397
- 0%, 21.05% {
1480
+ 0%, 18% {
1398
1481
  transform: translate3d(0, 0, 0);
1399
1482
  }
1400
- 47.37% {
1483
+ 44% {
1401
1484
  transform: translate3d(-140px, -48px, 0);
1402
1485
  }
1403
- 73.68% {
1486
+ 72% {
1404
1487
  transform: translate3d(20px, 80px, 0);
1405
1488
  }
1489
+ 88% {
1490
+ transform: translate3d(6px, 16px, 0);
1491
+ }
1406
1492
  100% {
1407
1493
  transform: translate3d(0, 0, 0);
1408
1494
  }
1409
1495
  }
1410
1496
 
1411
1497
  @keyframes cc-video-watch-blob-5 {
1412
- 0%, 21.05% {
1498
+ 0%, 18% {
1413
1499
  transform: translate3d(0, 0, 0);
1414
1500
  }
1415
- 47.37% {
1501
+ 44% {
1416
1502
  transform: translate3d(180px, 10px, 0);
1417
1503
  }
1418
- 73.68% {
1504
+ 72% {
1419
1505
  transform: translate3d(80px, -80px, 0);
1420
1506
  }
1507
+ 88% {
1508
+ transform: translate3d(12px, -14px, 0);
1509
+ }
1421
1510
  100% {
1422
1511
  transform: translate3d(0, 0, 0);
1423
1512
  }
1424
1513
  }
1425
1514
 
1515
+
1516
+ :root {
1517
+ --theme-x: 50%;
1518
+ --theme-y: 50%;
1519
+ }
1520
+
1521
+ ::view-transition-old(root),
1522
+ ::view-transition-new(root) {
1523
+ animation: none;
1524
+ mix-blend-mode: normal;
1525
+ }
1526
+
1527
+ ::view-transition-old(root) {
1528
+ z-index: 0;
1529
+ }
1530
+
1531
+ ::view-transition-new(root) {
1532
+ z-index: 1;
1533
+ }
1534
+
1535
+ @keyframes theme-reveal {
1536
+ from {
1537
+ clip-path: circle(0% at var(--theme-x) var(--theme-y));
1538
+ opacity: 0.7;
1539
+ }
1540
+
1541
+ to {
1542
+ clip-path: circle(150% at var(--theme-x) var(--theme-y));
1543
+ opacity: 1;
1544
+ }
1545
+ }
1546
+
1547
+ ::view-transition-new(root) {
1548
+ animation: theme-reveal 0.4s ease-in-out forwards;
1549
+ }
1550
+
1426
1551
  /* ===== MARQUEE ANIMATIONS ===== */
1427
1552
  @keyframes slide-left {
1428
1553
  to {
@@ -1866,8 +1991,7 @@
1866
1991
  height: 60px;
1867
1992
  padding: 6px;
1868
1993
  }
1869
- .cc-video-watch-btn:hover,
1870
- .cc-video-watch-btn:focus-visible {
1994
+ .cc-video-watch-btn:hover {
1871
1995
  width: 168px;
1872
1996
  }
1873
1997
  .cc-video-watch-btn__bg {
@@ -1875,8 +1999,7 @@
1875
1999
  height: 46px;
1876
2000
  padding: 0 14px 0 13px;
1877
2001
  }
1878
- .cc-video-watch-btn:hover .cc-video-watch-btn__bg,
1879
- .cc-video-watch-btn:focus-visible .cc-video-watch-btn__bg {
2002
+ .cc-video-watch-btn:hover .cc-video-watch-btn__bg {
1880
2003
  width: 154px;
1881
2004
  }
1882
2005
  .cc-video-watch-btn__label {